In /LiveApp/conference.html sample there are three modes available: camera, screen and camera+screen.
What is seem strange and inconvenient to me is the fact that we see permission prompt when we switching between screen and camera+screen modes (and vice versa) because in real life we're probably do not want to select other screen source when switching between these modes.
So I wonder is there any possibility in WebRTCAdaptor to use previous stream and avoid prompting user for permission every time they switch between screen and camera+screen and back?
Question
dmitry027
Hello, everyone.
In /LiveApp/conference.html sample there are three modes available: camera, screen and camera+screen.
What is seem strange and inconvenient to me is the fact that we see permission prompt when we switching between screen and camera+screen modes (and vice versa) because in real life we're probably do not want to select other screen source when switching between these modes.
So I wonder is there any possibility in WebRTCAdaptor to use previous stream and avoid prompting user for permission every time they switch between screen and camera+screen and back?
Link to comment
Share on other sites
Top Posters For This Question
3
2
2
Popular Days
Nov 25
2
Nov 14
1
Nov 26
1
Nov 16
1
Top Posters For This Question
dmitry027 3 posts
rahul7827 2 posts
mustafaboleken 2 posts
Popular Days
Nov 25 2022
2 posts
Nov 14 2022
1 post
Nov 26 2022
1 post
Nov 16 2022
1 post
Popular Posts
mustafaboleken
Hi @dmitry027 You can keep both streams (camera and screen) and switch between them. It's not a suggested way because it has CPU cost on the client side but You can modify our Javascript SDK to a
rahul7827
Sorry, for the intervention in the middle of thread, I would like to add my opinion that this is not possible. Since it's a browser call, and no any browser will grant such permission without user
rahul7827
Hi @dmitry027 Yes that can be done, If you have both the streams but as @mustafaboleken already mentioned It would have CPU cost on the client side also this is not a good practice. If
6 answers to this question
Recommended Posts