Re: [webrtc-pc] On track removal: Should you mute an already muted track? (#2506)

> Does the canvas itself with only stream = canvas.captureStream(); pc1.addTrack(stream.getVideoTracks()[0]); qualify as "only once packets arrive"?

I believe so, because [canvas.captureStream](https://w3c.github.io/mediacapture-fromelement/#dom-htmlcanvaselement-capturestream) says: _"a captured stream MUST request capture of a frame when created, even if frameRequestRate is zero."_

I've verified this in Firefox with https://jsfiddle.net/jib1/kzsh9wgx/ which produces a black frame (alpha channel does not survive a peer connection AFAIK)

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2506#issuecomment-616610282 using your GitHub account

Received on Monday, 20 April 2020 15:00:51 UTC