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:
Mike Jerris 2019-05-31 13:22:28 -05:00
commit f3fdbc5aff
1 changed files with 1 additions and 1 deletions

View File

@ -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]);