WebRTC-Experiment
WebRTC-Experiment copied to clipboard
How ken I use condition: if (options.attachStreams && options.attachStream.length)
if (options.attachStreams && options.attachStream.length) {
var streams = options.attachStreams;
for (var i = 0; i < streams.length; i++) {
peer.addStream(streams[i]);
}
}
@muaz-khan can able to add multiple stream but multiple event not generate for onaddstream