Closed Bug 1305348 Opened 8 years ago Closed 8 years ago

WebRTC: Notify web-app when user stops sharing device in between a session

Categories

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

49 Branch
x86_64
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1208373

People

(Reporter: sharath, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 Steps to reproduce: Click on the 'Camera' icon on the address bar when a web-rtc call is in progress. Click the dropdown icon in the doorhanger that shows up and select 'Stop Sharing'. Actual results: No event was fired to let the web-app know that the user has stopped sharing the device. A blank screen/the frozen frame from the last capture will be shown on the 'self-view' of the user. Self-view refers to the user's own view which is shown on the web-app along with the remote participant. Expected results: An event should be fired in this case which can be handled by the web-app to show a notification to the user.
Please try the steps mentioned at https://appear.in/jazzy-trout
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Version: 48 Branch → 49 Branch
Component: Untriaged → Device Permissions
Component: Device Permissions → WebRTC: Audio/Video
Product: Firefox → Core
Firing an event here would require spec changes I think. Jib, any reasonable alternatives? There are slightly annoying ways to indirectly monitor for frames/audio coming in
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jib)
Firefox 50 fires the ended event in this case: https://jsfiddle.net/padsr8ew/
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.