Louis Veronneau Posted November 29, 2020 Share Posted November 29, 2020 I, I am tryng to enable a user to choose whitch stream he is looking in his page. Each broadcaster stream is for everyone to view. A user can choose up to 3 streams on his page, from a list of active streams which are played on different < divs >. The model of conference provided by antmedia does not seem to fit this case. Do I have to make a webRTCAdaptor for each streams ? is there another way of doing this ? thanks Louis Link to comment Share on other sites More sharing options...
0 Selim Emre Posted November 29, 2020 Share Posted November 29, 2020 Hi lveronneau, Is there any demo page on public? Did you think to use IFrame with playing? Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Louis Veronneau Posted December 2, 2020 Author Share Posted December 2, 2020 hi no i did not use iframes, should i ? Instead i made a js file with the code of the antmedia example, and triming most of what i dont need then i named it webrtc1.js, webrtc2.js and webrtc3.js and changed var webRTCAdaptor1 = new WebRTCAdaptor({ var webRTCAdaptor2 = new WebRTCAdaptor({ var webRTCAdaptor3= new WebRTCAdaptor({ Then I renamed some variables like mediaConstraints1,mediaConstraints2,mediaConstraints3, etc with remoteVideoId : "remoteVideo", to remoteVideoId : "remoteVideo1", etc and seems to work fine made also some fixes to have the different errors msgs show where they are supposed to be It seems to work fine. thanks Louis Link to comment Share on other sites More sharing options...
Question
Louis Veronneau
I,
Link to comment
Share on other sites
Top Posters For This Question
2
1
Popular Days
Nov 29
2
Dec 2
1
Top Posters For This Question
Louis Veronneau 2 posts
Selim Emre 1 post
Popular Days
Nov 29 2020
2 posts
Dec 2 2020
1 post
2 answers to this question
Recommended Posts