]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Fix FS-11874
authorChad Phillips <chad@apartmentlines.com>
Fri, 31 May 2019 18:07:11 +0000 (11:07 -0700)
committerChad Phillips <chad@apartmentlines.com>
Fri, 31 May 2019 18:07:11 +0000 (11:07 -0700)
commit8fdc4433e5a72b2fdec6455c50f0d5ce67d76271
tree1dab4223b2a1af9e3d7968075326d92bad1e610f
parented135a21d568d2925cd187e2b628b1f2a4a30063
Fix FS-11874

Verto JS libs allow passing an attachStreams array of MediaStream objects, which are then supposed to be added to the peer connection in the order they are supplied in the array.

However, there is a faulty logic check prior to actually adding the streams, where 'options.attachStream' is checked for length instead of 'options.attachStreams'.
html5/verto/js/src/jquery.FSRTC.js