Issue metadata
Sign in to add a comment
|
MediaStreamTrack onEnded event is not fired when a track's stop method is called
Reported by
mmckenzi...@gmail.com,
Oct 23 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36 Steps to reproduce the problem: Use the attached file (test.html) to reproduce the issue 1. Click the button to start the video. 2. You will be prompted to allow camera access. Accept it. 3. The video should stop after a couple of seconds. 4. An alert box should appear but it does not because the onEnded event is never fired What is the expected behavior? When a MediaStreamTrack is stopped using the track's stop method, the onEnded event should fire. It appears that this is no longer the case as of the current stable release of Chrome 62. What went wrong? When a track is stopped the onEnded event is never fired and no event handlers are executed. Did this work before? Yes 61.0.3163.0 Does this work in other browsers? N/A Chrome version: 62.0.3202.62 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Oct 23 2017
,
Oct 23 2017
Feel free to close this. It's not a bug, in that the behavior now obeys the spec, but it was a breaking change.
,
Oct 23 2017
mmckenzie.dev@, thank you for the update. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by mmckenzi...@gmail.com
, Oct 23 2017