You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec says: "If track is ended, or if the track's output is disabled, i.e. the track is disabled and/or muted, the RTCRtpSender MUST send black frames (video) and MUST NOT send (audio). In the case of video, the RTCRtpSender SHOULD send one black frame per second. If track is null then the RTCRtpSender does not send."
This seems unequivocal: sender.track.stop() = send black frames!
Pity no browser is doing this. Try it (local video on the left, remote video on the right):
Chrome:
Safari:
Firefox:
Ignoring the variance on the left (different issue), none of the browsers send black frames on ended.
Do we:
File bugs on implementations?
Or align the spec with implementations?
The text was updated successfully, but these errors were encountered:
since the video on the left is the source of the video on the right, I'd expect stopping it to affect them the same
I tend to agree, Firefox at least is consistent.
File bugs on implementations?
Or align the spec with implementations?
I am a bit reluctant to change what peer connection implementations are doing given they are all consistent.
We should try to get browser interop for the local preview.
Transmitted frames are not guaranteed to be received and decoded. Quality Web applications should robustly treat that edge case where the black frame does not arrive, and such treatment would likely obviate the black frame. Could we consider dropping this requirement altogether?
The spec says: "If track is ended, or if the track's output is disabled, i.e. the track is disabled and/or muted, the RTCRtpSender MUST send black frames (video) and MUST NOT send (audio). In the case of video, the RTCRtpSender SHOULD send one black frame per second. If track is null then the RTCRtpSender does not send."
This seems unequivocal: sender.track.stop() = send black frames!
Pity no browser is doing this. Try it (local video on the left, remote video on the right):
Ignoring the variance on the left (different issue), none of the browsers send black frames on
ended
.Do we:
The text was updated successfully, but these errors were encountered: