Closed Bug 1065982 Opened 10 years ago Closed 5 months ago

show a preview of the windows that can be shared in the WebRTC sharing doorhanger

Categories

(Firefox :: Site Permissions, enhancement, P3)

x86
All
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: florian, Unassigned)

References

(Depends on 1 open bug)

Details

The current plan is to have the media manager code take snapshots of windows at a small size and small frame rate (maybe around 1 frame per second) and send these thumbnails to the UI. The media manager service should only run in the child process, so the content script would then forward these thumbnails to the chrome process.

Things that need to happen in this bug:
- when the user opens the window list dropdown, pass a message from the chrome process to the child process indicating that we want window previews.
- from the child process, tell the media manager service to send previews
- forward the preview from the child process to the chrome process.
- display the thumbnails in the UI.
- when the user closes the dropdown, pass the messages to let the media manager service stop capturing previews.

Doing the same thing for app sharing may be part of this bug (if the changes required are trivially identical) or may be a split off to a separate bug.

See image 6 of attachment 8485640 [details].

Platform support is required here, but will be implemented in a separate bug.
Flags: qe-verify+
Flags: firefox-backlog+
Depends on: 1066105
Blocks: 1048209
Component: General → Device Permissions
Severity: normal → N/A
Type: defect → enhancement
Points: 5 → ---
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.