]> git.sesse.net Git - ffmpeg/commit
rtp: Only choose static payload types if the sample rate and channels are right
authorAdriano Pallavicino <adrianopallavicino@gmail.com>
Tue, 17 Jul 2012 07:51:13 +0000 (09:51 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 23 Jul 2012 21:42:58 +0000 (00:42 +0300)
commit999c63e4ca1b0500da73227d0b48591a0e695928
treee8d2467f09c0efb30764644f07ee01d4388ba22e
parentd04c5293ce88927ad359ca276e287bfa63c2329d
rtp: Only choose static payload types if the sample rate and channels are right

If using a different sample rate or number of channels, use a dynamic
payload type instead, where the parameters are passed in the SDP.

G722 is a special case where the normal rules don't apply.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtp.c