RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

addstream not working

Open webleb opened this issue 3 years ago • 5 comments

@muaz-khan i am trying to join the video call anonymously then share camera and mic but i could not success while it is working good in case connection.join(roomid); please let me know how i can make the following code working: connection.onNewSession = function(session) { session.join({oneway: true}); }; connection.addStream({ audio: true, video: true });

// or connection.peers['target-userid'].addStream({ audio: true, video: true });

webleb avatar Feb 18 '22 16:02 webleb

@muaz-khan i able to add multiple stream, but onaddstream event occurs once only. So, i am not able to share multiple stream

stogadiya avatar Apr 19 '22 13:04 stogadiya

@muaz-khan i able to add multiple stream, but onaddstream event occurs once only. So, i am not able to share multiple stream

@stogadiya do you face problem with TURN server?

webleb avatar Apr 19 '22 18:04 webleb

setInterval(function(){put your code here }, 3000);

webleb avatar Apr 19 '22 18:04 webleb

I have create client server page. From server i am opening only 1 stream. and from client i am opening 2 stream, 1st from webcam & 2nd for screenshare.

In this both stream from client side page is not received to server page.

stogadiya avatar Apr 20 '22 09:04 stogadiya

@muaz-khan i add 1 stream at server page than i am able to receive 1 on stream. But if i want to received more than 1 than how is possible?

stogadiya avatar Apr 21 '22 12:04 stogadiya