Merge pull request #233 from odotom/odotom-patch-2-2

Update RTC.js
This commit is contained in:
hristoterezov 2015-03-19 16:57:17 +02:00
commit db2296953d
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ var RTC = {
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
if(this.localStreams.length == 0 ||
this.localStreams[0].getOriginalStream() != stream)