| Index: content/test/data/media/peerconnection-call.html
|
| diff --git a/content/test/data/media/peerconnection-call.html b/content/test/data/media/peerconnection-call.html
|
| index 0cfe6e9783d55025de13fe54bf6876c10260f5dd..ae2571b901b405c83b491b37ea7ab9c5efcd50ac 100644
|
| --- a/content/test/data/media/peerconnection-call.html
|
| +++ b/content/test/data/media/peerconnection-call.html
|
| @@ -27,12 +27,14 @@
|
| var maybeForceIsac16K = function(sdp) { return sdp; };
|
| function forceIsac16KInSdp() {
|
| maybeForceIsac16K = function(sdp) {
|
| - // Remove all other codecs (not the video codecs though).
|
| + // Remove all other codecs (not the video codecs though). Also leave
|
| + // 126 for DTMF.
|
| sdp = sdp.replace(/m=audio (\d+) RTP\/SAVPF.*\r\n/g,
|
| - 'm=audio $1 RTP/SAVPF 103\r\n');
|
| + 'm=audio $1 RTP/SAVPF 103 126\r\n');
|
| sdp = sdp.replace('a=fmtp:111 minptime=10', 'a=fmtp:103 minptime=10');
|
| - sdp = sdp.replace(/a=rtpmap:(?!103)\d{1,3} (?!X?VP8|red|ulpfec).*\r\n/g,
|
| - '');
|
| + sdp = sdp.replace(
|
| + /a=rtpmap:(?!(103|126))\d{1,3} (?!X?VP8|red|ulpfec).*\r\n/g,
|
| + '');
|
| return sdp;
|
| };
|
| }
|
|
|