Merge pull request #1738 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11874-faulty-logic-for-checking-addition-of-multiple-mediastream-objects to master
* commit '8fdc4433e5a72b2fdec6455c50f0d5ce67d76271': Fix FS-11874
This commit is contained in:
commit
f3fdbc5aff
|
@ -778,7 +778,7 @@
|
|||
// attachStreams[0] = audio-stream;
|
||||
// attachStreams[1] = video-stream;
|
||||
// attachStreams[2] = screen-capturing-stream;
|
||||
if (options.attachStreams && options.attachStream.length) {
|
||||
if (options.attachStreams && options.attachStreams.length) {
|
||||
var streams = options.attachStreams;
|
||||
for (var i = 0; i < streams.length; i++) {
|
||||
peer.addStream(streams[i]);
|
||||
|
|
Loading…
Reference in New Issue