commit
db2296953d
|
@ -30,9 +30,9 @@ var RTC = {
|
||||||
|
|
||||||
eventEmitter.removeListener(eventType, listener);
|
eventEmitter.removeListener(eventType, listener);
|
||||||
},
|
},
|
||||||
createLocalStream: function (stream, type, change) {
|
createLocalStream: function (stream, type, change, videoType) {
|
||||||
|
|
||||||
var localStream = new LocalStream(stream, type, eventEmitter);
|
var localStream = new LocalStream(stream, type, eventEmitter, videoType);
|
||||||
//in firefox we have only one stream object
|
//in firefox we have only one stream object
|
||||||
if(this.localStreams.length == 0 ||
|
if(this.localStreams.length == 0 ||
|
||||||
this.localStreams[0].getOriginalStream() != stream)
|
this.localStreams[0].getOriginalStream() != stream)
|
||||||
|
|
Loading…
Reference in New Issue