Bug 174125

Summary: Safari is not giving call back if video is paused by the user
Product: WebKit Reporter: KISHOR <kkulkarni>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Screen shot for the video pause none

Description KISHOR 2017-07-04 03:43:17 PDT
Steps -
----------------------
1. Join the safari webrtc meeting 
2. On the browser camera control (next to url) pause the video

Expected -
-----------------------

A callback should be given from the browser to application to indicate that the video is been paused from browser level contorls


Observed - 
-----------------------------

Browser is not sending any call back . Hence webrtc application will not get the access to camera and application will not get to know what action needs to taken.

Please find the screen shot attached.
Comment 1 KISHOR 2017-07-04 03:44:21 PDT
Created attachment 314560 [details]
Screen shot for the video pause
Comment 2 Radar WebKit Bug Importer 2017-07-04 04:13:06 PDT
<rdar://problem/33121807>
Comment 3 youenn fablet 2017-07-04 17:35:34 PDT
If the capture is disabled by the user using Safari UI, the corresponding audio/video tracks will be muted. Conversely, these track can be unmuted using Safari UI.
Both mute/unmute can be caught using track onmute/onunmute event handlers.
Comment 4 youenn fablet 2017-07-04 17:36:54 PDT
Let me know whether mute/unmute events are sufficient for your needs.
Comment 5 KISHOR 2017-07-06 23:37:19 PDT
We will try out and update the same
Comment 6 youenn fablet 2017-09-26 09:07:48 PDT
Hi Kishor,

Are track muted events good enough?
Can we close this bug?
Comment 7 youenn fablet 2017-09-28 11:40:26 PDT
Kishor, closing this bug.
You are welcome to reopen it if needed.