Open Bug 1682232 Opened 4 months ago Updated 3 months ago

Screensharing should end automatically when the shared window is closed

Categories

(Core :: WebRTC: Audio/Video, enhancement, P3)

x86_64
Windows 10
enhancement

Tracking

()

Tracking Status
firefox84 --- affected
firefox85 --- affected
firefox86 --- affected

People

(Reporter: alianscervis, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Steps to reproduce:

  1. Start screen sharing process.
  2. Close the window/application which we are sharing.

Actual results:

  1. Started correctly.
  2. After we close the application, screen sharing process stopes.

Expected results:

  1. As expected.
  2. When we close application, screen sharing process still continue.
    Video Track stayes enabled. I've tried with recorder, but we still receive the data, even after we close the application.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Hi,
Thanks for opening the bug. Could it be that you <expected results> and <actual results> are switched?
On the other hand, I was unable to reproduce this issue on Windows 10 Firefox Nightly 86.0a1 (2020-12-18) (64-bit). But maybe you can provide me with a bit more info.

Does this issue occur with a fresh profile? you can find the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager

Can you please download Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem and see if the issue still occurs there as well?

If after doing this you can still reproduce the bug, could you send me a screenshot or a video of the bug? That always helps a lot.

Thanks in advance, Flor.

Flags: needinfo?(alianscervis)
Flags: needinfo?(alianscervis)

Hi! In this video I show that issue with screen sharing process. It happens in firefox nightly as well. It works different way in chromium browsers. When we close chosen for sharing application, screen sharing process stopes automatically, so could that work for mozilla as well?
Thank you in advance!

Hi,

Thanks for the details. I was able to reproduce the bug on Windows 10 on the latest nightly (86.0a1). I believe that the severity could be S3. I've chosen a component. If you consider that there's another component that's more proper for this case you may change it.

Best regards, Flor.

Status: UNCONFIRMED → NEW
Component: Untriaged → WebRTC
Ever confirmed: true
Product: Firefox → Core
Version: Firefox 83 → Trunk
Type: enhancement → defect

Thank you for filing the bug!

Severity: -- → S3
Type: defect → enhancement
Component: WebRTC → WebRTC: Audio/Video
Priority: -- → P3
Summary: ScreenSharing process does not stop automatically after shared window was closed → Screensharing should end automatically when the shared window is closed
You need to log in before you can comment on or make changes to this bug.