WebRTC-Experiment icon indicating copy to clipboard operation
WebRTC-Experiment copied to clipboard

How ken I use condition: if (options.attachStreams && options.attachStream.length)

Open runya-v opened this issue 7 years ago • 1 comments

if (options.attachStreams && options.attachStream.length) {
    var streams = options.attachStreams;
    for (var i = 0; i < streams.length; i++) {
        peer.addStream(streams[i]);
    }

}

runya-v avatar Oct 31 '16 14:10 runya-v

@muaz-khan can able to add multiple stream but multiple event not generate for onaddstream

stogadiya avatar Apr 19 '22 13:04 stogadiya