Maybe someone ever solve the problem with stable connection to server when application is in background? I need to transfer audio data from server to client app. I know about all hacks for iOS how to keep alive application, but I need legal methods to solve this problem. Maybe you have any idea? I found that I can send VoIP push to device that will wakeup my app and then establish tcp connect to my server but this socket will be keep alive about 30 seconds (as I see in log, every 3 seconds fires timer in iOS app that send data to server) this is not enough for me.
Socket in background state iOS
1.6k Views Asked by Alex Makushkin At
1
There are 1 best solutions below
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in SOCKETS
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- My server TCP doesn't receive messages from the client in C
- how is strncpy able to copy from source to empty destination?
- Python Multicast packet receiver stops receiving multicast packets when computer is connected to WiFi
- Python Client-Server Communication with Protocol
- Reversed TLS re-connection issue
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Java SocketException: Connection reset,. What is the cause?
- Multipart/form-data with chunked data transfer (ICAP protocol)
- View Socket View
- Client connection timeout during Android & Windows PC communication via sockets
- Browser connect to raw sockets even possible?
- Protocol 43200 after unpacking received data
- Unity SocketIo using Best http2 plugin want to use in webgl
- How does pre-allocating a pool of SocketAsyncEventArgs objects upfront improve the performance of a server application in c#
Related Questions in VOIP
- PowerShell Linphone Configuration
- TypeError: Cannot read property 'registerVoipToken' of null
- How can I modify the default email that Avaya IP Office sends with each voicemail?
- CallKit : VOIP call is disconnecting when external call is declined
- Getting rootViewController for iOS13+ & Swift 5
- How to configure Kamailio or OpenSIPS as Session Border Controller?
- voIP audio integration without specifc API or integration
- SIP load Testing via SIPP
- How to receive Bluetooth headset Play pause event in Android java
- Integrating VOIP functionality in a native iOS app and using it in React Native
- Voice chat over a mumble server in flutter
- Ozeki voip sip C# calling
- jni_zero : Compilation error of M120 webrtc android
- How can I connect my node.js app to external VOIP provider via SIP?
- How to merge a new call to an exciting call in CallKit
Related Questions in BACKGROUND-MODE
- How to share custom data in Capacitor Background Runner
- Can a BLE device wake up an app in sleep mode (background mode) by sending data to it?
- XCode Background Modes Crash
- Ionic Background Mode plugin crash
- Keep iOS dev app running using Background Modes
- Ionic: Background mode does not work in Android 12 with API level 31
- Behaviour of Android / iOS when receiving Bluetooth LE communcation during doze
- Turning off audio background mode triggers kMIDINotPermitted even though background audio is not needed
- Background Mode doesn't be added in Xcode
- How to start picture in picture mode instead of going to background? Like youtube premium
- BLE background scanning on Android 10+ Ionic 4
- Ionic/react HTML audio stops playing after backgrounding the app for some minutes
- Background Mode not quite working, Ionic App sleeps after 5 minutes
- Backround mode is not working when ionic app is close from recent?
- How to stop janus-gateway background mode?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Maybe this project https://github.com/SmallSharpToolsOpenSource/Speakerbox will be helpful for someone. And this video https://www.youtube.com/watch?v=lXJ1LDjL4Os
And official answer from Apple tech support: