# HG changeset patch # User lucabe # Date 1214305624 0 # Node ID 30682688ca936e78a9429ea104ea04834af5e428 # Parent f9c75fed48059cbb9cbf913242dfcf36683b01f4 Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP diff -r f9c75fed4805 -r 30682688ca93 rtp.c --- a/rtp.c Mon Jun 23 08:52:44 2008 +0000 +++ b/rtp.c Tue Jun 24 11:07:04 2008 +0000 @@ -57,8 +57,8 @@ {11, "L16", CODEC_TYPE_AUDIO, CODEC_ID_PCM_S16BE, 44100, 1}, {12, "QCELP", CODEC_TYPE_AUDIO, CODEC_ID_QCELP, 8000, 1}, {13, "CN", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 8000, 1}, - {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP2, 90000, -1}, - {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP3, 90000, -1}, + {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP2, -1, -1}, + {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP3, -1, -1}, {15, "G728", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 8000, 1}, {16, "DVI4", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 11025, 1}, {17, "DVI4", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 22050, 1},