- From: Martin Ždila <notifications@github.com>
- Date: Wed, 07 Dec 2016 00:22:13 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 7 December 2016 08:22:46 UTC
We use service worker to indicate incoming call. It starts with push notification. Then ServiceWorker opens WebSocket where it receives message if the ringing is active. If yes then it shows a Notification and waits until it receives "`ring_end`" message. Afterwards it closes the Notification and the connection. Without WebSocket we would need to use HTTP (long)polling. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/947#issuecomment-265385108
Received on Wednesday, 7 December 2016 08:22:46 UTC