LEADTOOLS Support
General
General Questions
MPEG2 UDP transport source/sink modules callback?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, October 28, 2008 4:14:28 AM(UTC)
Groups: Registered
Posts: 19
Hi,
I'm trying to use your toolkit in a
c# project vs2005, but I'm begginer in DirectShow and I'm sure that I
don't know to use it correctly.
I expose you my needs;
my project receives 4 to 16 simultaneous UDP MPEG2TS streams,
it
has to add overlay image, text and timestamp and shows and captures
each stream in localmachine and sends by UDP the new streams with
overlay.
In MPEG2 UDP transport source/sink modules, is
there any event about the state of UDP transport, for instance, what
happens if a UDP source stream finish, i have a callback notification
or something like this??
forgive me for my poor english and thanks in advance,
Mario Cruz.
#2
Posted
:
Tuesday, October 28, 2008 5:12:10 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can use the LEAD MPEG2 Transport Demultiplexer and check the IsStreaming property of the ILMMpgDmx Interface.
#3
Posted
:
Tuesday, October 28, 2008 8:02:43 PM(UTC)
Groups: Registered
Posts: 19
Adnan,
thank you for your help,.
#4
Posted
:
Monday, November 10, 2008 8:26:09 PM(UTC)
Groups: Registered
Posts: 19
Adnan,
I've checked your solution with ILMMpgDmx Interface and its property IsStreaming is always true when you receive UDP stream but it doesn't change its value to false when UDP stream stops.
Maybe, Video callback filter??
Thanks,
Mario
#5
Posted
:
Tuesday, November 11, 2008 4:11:42 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The "IsStreaming" property can be false when you are playing a file and it does not indicate that the streaming has ended.
#6
Posted
:
Wednesday, November 12, 2008 3:01:51 AM(UTC)
Groups: Registered
Posts: 19
Adnan ,
I try to check it again, but in my tests when UDP stream stopped, IsStreaming property didn't change....before that UDP Stream starts its value is false, changes to true value when receives UDP stream, but doesn't change when UDP Stream finish.
Anyway, I can check it again.
Regards,
Mario
#7
Posted
:
Wednesday, November 12, 2008 6:31:04 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The IsStreaming property is not used to indicate that the stream has stopped. It only tells you whether the playback was from file or streaming data.
If you are using our LMNetConnection Object, you can use the ILMNetConnection::IsConnected method to check the connection status.
LEADTOOLS Support
General
General Questions
MPEG2 UDP transport source/sink modules callback?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.