w3c / mediacapture-fromelement

API to create a MediaStream from Media Element
https://w3c.github.io/mediacapture-fromelement
Other
21 stars 15 forks source link

Review mute/unmute/ended and constraints on tracks from element.captureStream() #98

Open jan-ivar opened 4 months ago

jan-ivar commented 4 months ago

As per https://github.com/w3c/mediacapture-main/issues/984, review mute/unmute/ended and constraints on tracks from element.captureStream().

element.captureStream specifies when to end a track as follows (which seems sound):

image

It says a lot more about muted/unmuted (tying it to "available" (reactive) and "accessible" (same-origin) content):

image

This might make sense for this source. E.g. an effort seems made to carry forward state of tracks in srcObject.

No mention of constraints.

Relevant open issues found:

dontcallmedom-bot commented 3 months ago

This issue was mentioned in WebRTC March 26 2024 meeting – 26 March 2024 (Clarify each source is responsible for specifying mute/unmute/ended and constraints behavior)