[MPlayer-dev-eng] RTSP/RTP streaming

Bertrand Baudet bertrand_baudet at yahoo.com
Tue Aug 27 09:17:08 CEST 2002


Hi, 

I finally got a chance to play with the RSTP/RTP integration from the LIVE
lib. Nice work Ross.
I have several questions that I couldn't answer from RTMF & RTMS.


I Have seen that to solve firewall issue you suggested fixing the firewall to
allow UDP packets. That's not really easily feasable in all case. Sometime
we can have access to the firewall and modify its configuration.
To solve this issue the RFC 2326 specify in section 10.12 the
"Embedded (interleaved) Binary Data".
I'm was wondering if the LIVE library implement this part of the RFC?

That's the way Real use when UDP packets can't go through the firewall.
If the autoconfiguration of the Real player hasn't been run, the player will
try using UDP packets and if after a certain timeout no UDP packets are
received back, a teardown command is issued and another request is
made to use the TCP interleaved transport.

That also the way that the QuickTime player use to stream through firewall,
but Apple didn't really follow the RFC. I reversed this already a couple of
years ago and was able to make a working implementation of it. 

MS WMP9 also implement an RTSP stack. I don't know yet if they are following
the section 10.12 of the RFC to go through firewall. I will have a look at
this soon.

If the Live library doesn't support this I'm willing to help implementing
this, but I will need help to figure out which file to alter to make those
implementations.


Another questions:
How do you easily add some field in the RTSP requests?
like adding the User-Agent and other Pragma fields?


Bertrand



More information about the MPlayer-dev-eng mailing list