[FFmpeg-devel] Realmedia patch

Luca Abeni lucabe72
Sun Aug 31 21:00:48 CEST 2008

Hi Ronald,

Ronald S. Bultje wrote:
>>> (i.e. in the case of audio+video, they
>>> stream over a separate UDP session with separate port).
>> I am not sure about this... If I understand well, you will see a single
>> "m=" line, and both audio and video streams will be muxed inside the RM
>> stream.
> No, there's no RM-level muxing going on.

So, now I am really confused... What is streamed by a real server inside
RDT? An RA or RV ES? Or a RM stream? I've seen some of your patches use
code from rmdec.c, so I supposed that an RDT packet contains RM...

>>> So I think it
>>> is needed. (This is of course in the theoretical case that Realmedia
>>> RDT supports UDP - you and I both have seen only TCP-supporting
>>> servers...)
>> Note that there is a "SETUP" request per stream (one setup per "m=" line
>> in the SDP). So, the "%d-%d" looks wrong (this is why I asked).
> Oh, right, I see. Don't forget the %d-%d is there for RTP also, by the
> way

My point is that we should use "%d-%d" for RTP, and "%d" for RDT.

> and I don't really have a working Real-UDP stream, so I find it
> hard to test this. If you want, I can just change it, but it'll lead
> to slightly uglier code. Let me know if that's OK.

I am not sure what's the policy here, but I guess that if we have
no way to test RDT over UDP we should not add code for it (or we
should not claim to support it). Especially because all this stuff
is undocumented, so we can only guess what's correct and what is


More information about the ffmpeg-devel mailing list