[vlc-devel] [PATCH] RTP output: no need to track dynamic payload types
Marian Ďurkovič
md at bts.sk
Sun Sep 21 19:19:12 CEST 2008
On Sun, Sep 21, 2008 at 06:58:07PM +0300, Rémi Denis-Courmont wrote:
> RTP payload types distinguishes formats within a unique stream.
> VLC only ever uses one format per (elementary) stream. As such, there
> can be no payload format collision ever. We can use number 96 for all
> dynamic payload types, and skip book-keeping. We already do this for
> static payload formats (i.e. re-use the same value if there are
> multiple streams).
Although the above looks to be fine with RFC, there's no single SAP on the
global multicast network which will reuse 96 within the same SDP for
different payload types. I.e. when MPEG4-video uses 96, MPEG4-audio
always uses 97.
With kind regards,
M.
More information about the vlc-devel
mailing list