[FFmpeg-soc] [PATCH] RTCP BYE

Ronald S. Bultje rsbultje at gmail.com
Mon Aug 16 16:42:29 CEST 2010


Hi,

On Mon, Aug 16, 2010 at 10:38 AM, Martin Storsjö <martin at martin.st> wrote:
> Is RDT received over rtp:// URLContexts? If that's the case, this patch
> itself still is ok, you just won't ever get any data on the RTCP socket.

Yeah, RDT stuff is interleaved within the stream. Kind of ugly, I
guess. TCP has its own mechanism, I'm sure, can you look into that
also?

> I'm a bit undecided on how to handle this, if we should return EOF when
> the first stream sends BYE, or only when we've got that on all streams?
>
> Josh, does the main servers (DSS, feng) send BYE at eof on all streams at
> the end? Does DSS send BYE properly on live streams, too?
>
> If all send BYE on all streams properly, perhaps we should wait for them
> all. On the other hand, in normal RTSP at least, all streams exist for the
> full duration of the stream (I think?), so you don't have to worry about
> the case when one stream is finished but another one still is playing
> properly for a longer time.

Wait-for-all would be better, setting a flag on each RTSPStream (and
re-setting that flag after a seek) shouldn't be too difficult.

Ronald


More information about the FFmpeg-soc mailing list