Steps to reproduce
I am opening a popup window that calls getUserMedia and creates a URL with the media stream. I am then attempting to set this URL as the src of a video element back in the main window, but am getting an InvalidAccessError. This works in Chrome, Firefox and Opera, so is there something in Edge’s security policy that is blocking this on purpose?
I have created the following JSBin that demonstrates the issue, though in this case it seems to fail silently rather than returning the InvalidAccessError. Please note, this example will not work in Chrome 60+ or Opera 47+ due to the fact that the popup has an about:blank URL. In my actual code, the popup uses a real URL.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Venkat K.”
Changed Assigned To from “Venkat K.” to “Frank L.”
Changed Assigned To to “travil”
Changed Title from “Unable to share WebRTC media stream between popup and main window” to “Unable to share MediaStream between popup and main window”
Changed Assigned To from “travil” to “Travis L.”
Changed Status to “Duplicate”
This bug has marked as duplicate. Please follow the parent issue to get new updates.