microsoft / WebRTC-universal-samples

WebRTC samples for the Universal Windows Platform.
177 stars 70 forks source link

PushNotifications #3

Closed JurajPupak closed 7 years ago

JurajPupak commented 7 years ago

Could you please explain the purpose of PushNotification in this app? All activity is done through SocketActivityTrigger. It would be fine, if you provide some explanation how to simulate push notifications. Thank you

jamescadd commented 7 years ago

Hello,

SocketActivityTrigger was used to perform notifications so that the app has more full control over when to notify the user, rather than putting that burden on the server. It also allows the background process to wake and begin initiating a connection during a video call immediately. This improves the user experience by reducing the amount of time between when a user accepts a call and when a video feed begins.

Thanks, James