Tries to enable FEC for opus.

Sets useinbandfec=1 in everyone's remoteDescription, which should be
enough to enable the use of FEC with chrome versions which support it
and when there is packet loss.

See:
https://code.google.com/p/webrtc/issues/detail?id=3986
https://code.google.com/p/webrtc/issues/detail?id=2419#c27
This commit is contained in:
Boris Grozev 2014-11-14 21:19:44 +02:00
parent 3239813ce7
commit b477831abb
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ ColibriFocus.prototype.createdConference = function (result) {
'a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\n' +
'a=sendrecv\r\n' +
'a=rtpmap:111 opus/48000/2\r\n' +
'a=fmtp:111 minptime=10\r\n' +
'a=fmtp:111 minptime=10; useinbandfec=true\r\n' +
'a=rtpmap:103 ISAC/16000\r\n' +
'a=rtpmap:104 ISAC/32000\r\n' +
'a=rtpmap:0 PCMU/8000\r\n' +