Updated PeerConnection samples so they run on FF.
R=braveyao@webrtc.org Review URL: https://webrtc-codereview.appspot.com/6359004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5340 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -89,11 +89,11 @@ function call() {
|
||||
|
||||
pc1_local.addStream(localstream);
|
||||
trace("Adding local stream to pc1_local");
|
||||
pc1_local.createOffer(gotDescription1Local);
|
||||
pc1_local.createOffer(gotDescription1Local, null, sdpConstraints);
|
||||
|
||||
pc2_local.addStream(localstream);
|
||||
trace("Adding local stream to pc2_local");
|
||||
pc2_local.createOffer(gotDescription2Local);
|
||||
pc2_local.createOffer(gotDescription2Local, null, sdpConstraints);
|
||||
}
|
||||
|
||||
function gotDescription1Local(desc) {
|
||||
|
Reference in New Issue
Block a user