New issue
Advanced search Search tips

Issue 854991 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug


Participants' hotlists:
WebRTC-1.0-Spec-Compliance


Sign in to add a comment

Fire ended event in HTMLMediaElement when a stream becomes inactive

Project Member Reported by guidou@chromium.org, Jun 21 2018

Issue description

See https://w3c.github.io/mediacapture-main/#mediastreams-in-media-elements

It says:
"When the MediaStream state moves from the active to the inactive state, the User Agent MUST raise an ended event on the HTMLMediaElement and set its ended attribute to true. Note that once ended equals true the HTMLMediaElement will not play media even if new MediaStreamTrack's are added to the MediaStream (causing it to return to the active state) unless autoplay is true or the web application restarts the element, e.g., by calling play()"
 
I'm using "68.0.3440.33 (Official Build) beta (64-bit) (cohort: Beta)" and noticed that the MediaStream inactive event is no longer being raised. Is this expected behavior? I didn't see any PSAs or warnings for it so I'm not sure if it's a bug or not. This is the closest issue i could find. I attached a sample that works in the stable release (67.0.3396.87 64-bit) but does not work in the beta.
example.zip
38.2 KB Download

Comment 2 by guidou@chromium.org, Jun 26 2018

#1, file a separate bug for that since it's unrelated to this bug.
Cc: guidou@chromium.org
 Issue 842702  has been merged into this issue.

Sign in to add a comment