Added new demo states.html & updated existing demos to work on firefox.

Review URL: https://webrtc-codereview.appspot.com/1327007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3905 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
vikasmarwaha@webrtc.org
2013-04-25 23:22:03 +00:00
parent 91563e42da
commit 77ac84814d
8 changed files with 353 additions and 98 deletions

View File

@@ -141,12 +141,14 @@ function hangup() {
}
function gotRemoteStream1(e) {
vid2.src = webkitURL.createObjectURL(e.stream);
// Call the polyfill wrapper to attach the media stream to this element.
attachMediaStream(vid2, e.stream);
trace("PC1: Received remote stream");
}
function gotRemoteStream2(e) {
vid3.src = webkitURL.createObjectURL(e.stream);
// Call the polyfill wrapper to attach the media stream to this element.
attachMediaStream(vid3, e.stream);
trace("PC2: Received remote stream");
}