W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2020

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Apr 2020 15:00:48 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-616610282-1587394847-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:50 UTC