How to detect [Stop Sharing] button is pressed?
Reported by
gtk2kri...@gmail.com,
Aug 3 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2817.0 Safari/537.36 Steps to reproduce the problem: (53では未確認)現在のstable版(M52)を含む以前のバージョンではendedイベント(stream.onended)で取得することができましたが、 54ではendedイベントが廃止になるようで、イベントハンドラを設定してもイベントを取得できません。 代わりにinactiveイベントのハンドラを設定してみたのですが、これも共有停止ボタンをクリックしてもイベントが発生してくれませんでした。 どうすれば、共有停止ボタンをクリックしたというイベントを取得することができるのでしょうか? What is the expected behavior? What went wrong? endedイベントまたはinactiveイベントが発生しない。 Did this work before? N/A Chrome version: 54.0.2817.0 Channel: canary OS Version: 10.0 Flash Version: Shockwave Flash 23.0 r0
,
Aug 4 2016
'ended' event was removed per https://crbug.com/586924
,
Aug 4 2016
That's the stream 'ended' event, right? The solution (requiring a change to customer's Javascript) is to listen to the track 'ended' event instead.
,
Aug 4 2016
#3: Thank you! This problem solved.
,
Aug 5 2016
Closing this issue as per comment #4. Please feel free to file a new bug for any further issues with chrome in future. |
||
►
Sign in to add a comment |
||
Comment 1 by tkent@chromium.org
, Aug 3 2016Components: -Blink Blink>MediaStream
Summary: How to detect [Stop Sharing] button is pressed? (was: 共有停止ボタンをクリックしたというイベントを取得するには?)