I am creating Audio/Video/Text chat application. I have successfully completed Video conferencing functionality. But I don't have any idea about accessing User's webcam without user's permission.
What exactly I want to do is Admin can access user's webcam. I have created online user's list. When admin click on a button Watch
of online user, admin should be able to access user's webcam, So that admin can see from that particular user's webcam.
Can any one guide me to do that?
Super admin can see all rooms, get video from any user from any room.
You can use socket.io or otherwise PHP/mySQL to share rooms with the super-admin.
A super admin can view any user's video using "join" method:
Super admin must set "dontCaptureUserMedia=true" to make sure he don't share his own camera. Which means that super-admin will seemlessly view videos from any user from any room.
See how to send or receive custom messages using socket.io and try a demo as well.
Here is an example code for super admin:
Here is code for all normal users. i.e. any user from any room:
See how to share rooms with super admin:
Following code is for normal users:
Following code is for super admin:
Conclusion: