[FFmpeg-devel] [PATCH] rtsp: Handle standard assigned codec names for private payload types, too
Ronald S. Bultje
rsbultje
Mon Sep 13 03:31:34 CEST 2010
Hi,
On Sat, Sep 11, 2010 at 3:24 PM, Martin Storsj? <martin at martin.st> wrote:
> In most cases, the payload type in RTP is one of the standard assigned
> numbers (below 96) for codecs that have a standard number assigned, and
> private/dynamic ones for others. If, for some reason, a stream uses a
> dynamic payload type number for a codec with a standard type, we currently
> fail to open the stream properly. The attached patch uses ff_rtp_codec_id
> to find the right codec ID for such streams, if no matching dynamic
> handler was found.
I think rtpdec.c already handles this, e.g. for PCM audio etc.
Ronald
More information about the ffmpeg-devel
mailing list