Re: [mediacapture-main] applyConstraints() could be more useful (#1017)

I think it is ok for an implementation to provide frames before `unmute` as long as the sink follows the spec guidelines (render black/silence). Ideally, it should be an implementation detail and what we are talking for mute/unmute is additional implementor's notes.

For MSTP, we should probably add a synchronous check for the `enabled` slot before enqueuing. We could also check the `muted` slot at the same time or add an assert that `muted` is `false`. That will make it sure MSTP sink is following the black guidelines.

Implementation-wise, at least in WebKit, this seems ok for video.
For audio, I'll need to check further.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/1017#issuecomment-2943252074 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 5 June 2025 08:34:07 UTC