Re: [webrtc-pc] What happens to the peer connection when the laptop lid closes? (#2489)

To me it seems that:
1) formalism: since this is a very new thing, let's not refer to it in webrtc-pc. Let's refer to it in webrtc-extensions.
2) the event we're looking for seems to be the "change the frozenness" event, triggered at https://wicg.github.io/page-lifecycle/#frozenness-state
4) in frozen state, we have to assume that no packets arrive or depart. I'm not sure it makes sense to send anything on the network to announce this transition.
5) there is no chance for JS to gain control between frozen and discarded state.
6) when returning to a discarded context, there will be a "discarded" boolean - but I don't think anything else from the previous context survives? We shouldn't specify anything here, I think.

What else?



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

Received on Friday, 20 March 2020 09:49:47 UTC