WP8 sockets in background

912 Views Asked by At

I am working on VOIP app. I am using VOIP API. The issue which i am facing is whenever app goes in background all my sockets like SIPSocket and RTPSocket is getting closed. It seems some how i can keep those sockets open while my app goes to background.Let me know if anyone have done to solve this.

1

There are 1 best solutions below

4
On

I guess you're using the VoIP app from a InProc WinRT component? You need to use it OutProc, or it won't run in the background.

See VoIP apps for Windows Phone 8 and our ChatterBox VoIP sample

The ChatterBox sample also have the necessary tooling for registering OutProc interfaces with your managed app.