Page 1 of 1

Use specific port for output audio and video in streaming

Posted: 10 Jul 2011 14:14
by triplebit
I use LibVlc.dll in my application.
I saw in the documentation that the audio output stream port may be set as different that the video.
Can they share the same output port?
What is the advantage of using specific port for each?
Regards
Kishon

Re: Use specific port for output audio and video in streamin

Posted: 10 Jul 2011 15:42
by RĂ©mi Denis-Courmont
I assume you mean RTP output? RTP cannot deal with multiple concurrent sessions on the same port. To share port for audio and video, you need to multiplex (to MPEG-TS) first.

Re: Use specific port for output audio and video in streamin

Posted: 11 Jul 2011 06:32
by triplebit
Thanks Remi
Ictually I use UDP with the same port for both.
Can I use specific ports for that also?
Is there any document that elaborates on that?
Regards
Kishon