- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Sat, 02 May 2020 22:51:58 +0000
- To: public-webrtc-logs@w3.org
> We couldn’t find a DOM event for suspend. Editors concluded nothing happens to peer connections on suspend. But what about devices? When "Suspend" is set at Power Manager or equivalent OS settings application and `RTCPeerConnection` is used with `addTrack()` to send local tracks to remote peer `iceconnectionstatechange` event _is_ fired and `iceConnectionState` is set to `"disconnected"`, that _does not_ occur when the local setting is "Lock screen" (the default setting at particular OS currently using). As described above the stream continues without observable interruption when `getUserMedia()` is executed and displayed locally. The API which this appears to impact and is pertinent is remote streams using `RTCPeerConnection`, where the `iceconnectionstatechange` event is observable - when the user expliticly sets "Suspend" option for what to do when laptop lid closes at the OS, not necessarily using the default settings (could be any OS from *indows to Ma* to any *nix distribution). -- GitHub Notification of comment by guest271314 Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/668#issuecomment-623025971 using your GitHub account
Received on Saturday, 2 May 2020 22:52:00 UTC