diff --git a/samples/js/demos/html/dtmf1.html b/samples/js/demos/html/dtmf1.html index cea7299c24..3233cab6f4 100644 --- a/samples/js/demos/html/dtmf1.html +++ b/samples/js/demos/html/dtmf1.html @@ -98,6 +98,10 @@ function gotDescription1(desc){ } function gotDescription2(desc){ + // Setting PCMU as the preferred codec. + desc.sdp = desc.sdp.replace(/m=.*\r\n/, "m=audio 1 RTP/SAVPF 0 126\r\n"); + // Workaround for issue 1603. + desc.sdp = desc.sdp.replace(/.*fmtp.*\r\n/g, ""); pc2.setLocalDescription(desc); trace("Answer from pc2 \n" + desc.sdp); pc1.setRemoteDescription(desc); diff --git a/samples/js/demos/html/pc1-deprecated.html b/samples/js/demos/html/pc1-deprecated.html deleted file mode 100644 index f12987da3c..0000000000 --- a/samples/js/demos/html/pc1-deprecated.html +++ /dev/null @@ -1,133 +0,0 @@ - - - -PeerConnection Demo 1 - - - - - -
- - - -
- - - - - - - diff --git a/samples/js/demos/html/pranswer.html b/samples/js/demos/html/pranswer.html index ba1949ec1d..d4425d619b 100644 --- a/samples/js/demos/html/pranswer.html +++ b/samples/js/demos/html/pranswer.html @@ -1,93 +1,106 @@ - PeerConnection PRANSWER Demo - - - - - -
- - - - + + + + + +
+ + + + - diff --git a/samples/js/demos/index.html b/samples/js/demos/index.html index de3d290281..5651ba7286 100644 --- a/samples/js/demos/index.html +++ b/samples/js/demos/index.html @@ -56,12 +56,6 @@ Shows how to set up a simple 1:1 audio only call. - - - pc1-deprecated.html - - Like pc1.html, but uses PeerConnection00 instead of RTCPeerConnection. - multiple.html