mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
sdp: fix opus sprop-stereo fmtp syntax
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
f6ccee9bed
commit
4d13bcceb9
@ -692,7 +692,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecParameters
|
|||||||
av_strlcatf(buff, size, "a=rtpmap:%d opus/48000/2\r\n",
|
av_strlcatf(buff, size, "a=rtpmap:%d opus/48000/2\r\n",
|
||||||
payload_type);
|
payload_type);
|
||||||
if (p->channels == 2) {
|
if (p->channels == 2) {
|
||||||
av_strlcatf(buff, size, "a=fmtp:%d sprop-stereo:1\r\n",
|
av_strlcatf(buff, size, "a=fmtp:%d sprop-stereo=1\r\n",
|
||||||
payload_type);
|
payload_type);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user