Unable to share MediaStream between popup and main window

Duplicate Issue #13599026 • See Issue #11324352

Details

Created
Sep 6, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Duplicates
See progress on Bug #11324352
Found in build #
15.15063
Reports
Reported by 2 people

Sign in to watch or report this issue.

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.

https://jsbin.com/jubeduvabu/edit?html,js,output

Attachments

0 attachments

    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.

    You need to sign in to your Microsoft account to add a comment.

    Sign in