Bug 1685163 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome, Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Extremely dark (almost black) still image from camera in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome, Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings i fullscreen (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Extremely dark (almost black) still image from camera in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome, Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings i fullscreen (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome, Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings i fullscreen (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
Bad news: the fullscreen workaround to get live video stopped working.
This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome, Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings i fullscreen (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari 14.0.2): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
Bad news: the fullscreen "workaround" to get live video stopped working.
This issue was discovered thanks to a [StackOverflow question](https://stackoverflow.com/questions/65510444/how-can-i-duplicate-a-media-stream-to-a-popup-window/65526469?noredirect=1#comment115912105_65526469) about *screen-capture* instead of camera. Results are similar, but different enough to document separately:

**Screen-capture STRs (follow all 6 steps for full effect):**
 1. Open https://jsfiddle.net/jib1/1kqbphj0/8/
 2. Click the `Start capture` button and share *"Entire Desktop"*.
 3. If popup is blocked, disable popup blocker ("Allow" in pageinfo dropdown), close any popup opened (it's wrong), refresh page & goto 2
 4. Observe `about:blank` popup window opening

    Expected result (Chrome + Safari): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Still image from desktop in popup | ❌
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

 5. **Workaround:** Right-click on the video element in the popup and select `Full Screen` 

    Expected result (Chrome + Safari): |  Live moving desktop capture in fullscreen | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live black or garbage video w/mouse droppings i fullscreen (see attached image) | ❌😱
    Actual result (Nightly 86): | Still image from desktop in fullscreen | ❌

 6. Hit Escape to exit fullscreen

    Expected result (Chrome + Safari): |  Live moving desktop capture in popup | ✅
    ------------ | ------------- | ---
    Actual result (Firefox 84): | Live moving desktop capture in popup | ✅
    Actual result (Nightly 86): | Still image from desktop in popup | ❌

Good news: the live garbage appears "fixed" (replaced by a non-garbage still image) by [D96072](https://phabricator.services.mozilla.com/D96072) in bug 1635914.
Bad news: the fullscreen "workaround" to get live video stopped working.

Note: this works fine in Safari 14.1 (Tech Preview) as well, suggesting the black frame on camera is a bug. I'll file a bug on webkit about that.

Back to Bug 1685163 Comment 1