Commit c3bb6166 authored by Mark Harris's avatar Mark Harris Committed by Michael Niedermayer

sdp: fix opus sprop-stereo fmtp syntax

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4845f072
...@@ -706,7 +706,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, ...@@ -706,7 +706,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
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 (c->channels == 2) { if (c->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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment