ISBX / apprtc-ios

A native iOS video chat app based on WebRTC
BSD 3-Clause "New" or "Revised" License
1.35k stars 413 forks source link

App Freez after coming from Background #63

Open prororgeek opened 7 years ago

prororgeek commented 7 years ago

I have using Apprtc in my app. after video i just go to background and come again app Freeze

prororgeek commented 7 years ago

When i run you demo and check above issue. I did not get it but when i will install Apprtc in project by cocoapods and some methods for swap camera. this problem is begin.

silkroadnomad commented 7 years ago

This has todo with the sockets which do not stay online while going into background. This is not included in AppRTC yet. Did you solve the problem already? I have the same issue. We could work together on that and contributing it back to the project. What do you think?

I already made some research on that issue. feel free to dig through it, and let me know.

Jun711 commented 7 years ago

@prororgeek @inspiraluna I wonder if you guys have done anything to fix this?

silkroadnomad commented 7 years ago

If i run my app and go into background it does not freeze when coming back. Also I don't know if what I wrote up there was so important. Maybe just update webrtc api with the latest WebRTC pod.

Don't use a websocket to wake up the app. We use Apple pushkit now.