Updated Demos so they work on FF, changed the third argument in CreateOffer to null as it doesnot really require sdpConstraints.
R=juberti@google.com Review URL: https://webrtc-codereview.appspot.com/6769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5356 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
4177615e87
commit
bb0de3ca9f
@ -62,7 +62,7 @@ function gotStream(stream){
|
||||
pc1.addStream(localstream);
|
||||
trace("Adding Local Stream to peer connection");
|
||||
|
||||
pc1.createOffer(gotDescription1, null, sdpConstraints);
|
||||
pc1.createOffer(gotDescription1, null, null);
|
||||
}
|
||||
|
||||
function call() {
|
||||
|
@ -89,11 +89,11 @@ function call() {
|
||||
|
||||
pc1_local.addStream(localstream);
|
||||
trace("Adding local stream to pc1_local");
|
||||
pc1_local.createOffer(gotDescription1Local, null, sdpConstraints);
|
||||
pc1_local.createOffer(gotDescription1Local, null, null);
|
||||
|
||||
pc2_local.addStream(localstream);
|
||||
trace("Adding local stream to pc2_local");
|
||||
pc2_local.createOffer(gotDescription2Local, null, sdpConstraints);
|
||||
pc2_local.createOffer(gotDescription2Local, null, null);
|
||||
}
|
||||
|
||||
function gotDescription1Local(desc) {
|
||||
|
@ -39,7 +39,7 @@ function gotStream(stream){
|
||||
pc1.addStream(localstream);
|
||||
trace("Adding Local Stream to peer connection");
|
||||
|
||||
pc1.createOffer(gotDescription1, null, sdpConstraints);
|
||||
pc1.createOffer(gotDescription1, null, null);
|
||||
}
|
||||
|
||||
function call() {
|
||||
|
@ -82,7 +82,7 @@ function call() {
|
||||
pc1.addStream(localstream);
|
||||
trace("Adding Local Stream to peer connection");
|
||||
|
||||
pc1.createOffer(gotDescription1, null, sdpConstraints);
|
||||
pc1.createOffer(gotDescription1, null, null);
|
||||
}
|
||||
|
||||
function gotDescription1(desc){
|
||||
|
@ -215,7 +215,7 @@ function maybeAddLineBreakToEnd(sdp) {
|
||||
}
|
||||
|
||||
function createOffer(){
|
||||
pc1.createOffer(gotDescription1, null, sdpConstraints);
|
||||
pc1.createOffer(gotDescription1, null, null);
|
||||
}
|
||||
|
||||
function setOffer(){
|
||||
|
@ -129,7 +129,7 @@ function call() {
|
||||
pc2.onaddstream = gotRemoteStream;
|
||||
pc1.addStream(localstream);
|
||||
trace("Adding Local Stream to peer connection");
|
||||
pc1.createOffer(gotDescription1, null, sdpConstraints);
|
||||
pc1.createOffer(gotDescription1, null, null);
|
||||
}
|
||||
|
||||
function gotDescription1(desc){
|
||||
|
Loading…
x
Reference in New Issue
Block a user