Re: [webrtc-pc] Should garbage collecting RTCDataChannels be observable? (#2624)

[Bug 1805320 (comment 9)](https://bugzilla.mozilla.org/show_bug.cgi?id=1805320#c9) shows this problem extends beyond data channels (where I wrote):
> ... there's a higher [design principle](https://w3ctag.github.io/design-principles/#js-gc) that garbage collection not be observable in the web platform.
> [Comment 0](https://bugzilla.mozilla.org/show_bug.cgi?id=1805320#c0) shows it's trivial [in Firefox] for a web page to use two peer connections in a local loop to detect GC, so I think we need to fix this.

I think we need language that says that if a peer connection is actively sending any data from audio, video or data channel, then it MUST not be garbage collected.

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


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

Received on Monday, 30 January 2023 13:54:02 UTC