I am passing fake media stream for camera and microphone access for one of my webrtc application using selenium python.But i want to allow access for real device microphone and camera.I want to test it for multiple users in a single device.For every users there will be separate incognito window.Is it possible to test the application for multiple users with the camera and microphone access?I have written a script where user will join the video call by taking user id and password from csv.Each user will have separate incognito browser window.This is what i have done so far the access:
chrome_opt = Options()
chrome_opt.add_argument("--incognito")
chrome_opt.add_argument("--enable-infobars")
chrome_opt.add_argument("start-maximized")
chrome_opt.add_argument("--enable-extensions")
chrome_opt.add_argument("use-fake-device-for-media-stream"); # this argument for accepting permissions
chrome_opt.add_argument("use-fake-ui-for-media-stream")
Is it possible to give real time microphone and camera access in a single machine using chrome browser in multiple incognito.How can i do it using selenium ?