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
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in SOCKETS
- Drawing with ncurses, sockets and fork
- UDP sockets in C not working
- How can I send multiple objects over one socket in java?
- psuedo TCP multicast with os.dup2() in python?
- My get request for http is very slow
- Nodejs connect mysql socket to another host?
- HttpRequestContext vs HttpContext
- Spring based client server communication without network
- Java does not accept 2 methods with same name
- Retrieve Data From EOC(Eithernet Over coxial) device
- Ping a server without freezing the Thread
- C sockets: Exit client after all data is received
- What is the best way to send XML converted to a byte array over TCP, then translate the response back to readable XML?
- C# Winform to Connect to Device Using IP
- Java Restart a Socket
Related Questions in VOIP
- How to keep an Android Service always running?
- Implementing VOIP over udp, what is the approach to take when the player cannot cope up with received packet's speed
- Convert voip audio to text for debugging
- setKeepAliveTimeout is deprecated in iOS9
- VoIP Setup with Softphones and Twilio backend
- Twilio: pro-actively initiate daily, pre-scheduled conference calls?
- Different ways to integrate web phone/softphone/VOIP in asp.net web site
- Customize incoming fax header Asterisk
- Possible to Query Asterisk CEL info directly from the database? (PostgreSQL)
- Android.net.rtp - AudioStream.join() - java.lang.NullPointerException
- How to get audio samples in linphone to pass to other interface or to save them?
- SIP protocol / call waiting
- App not relaunch from background but delegate is called didReceiveIncomingConnection twilio in ios
- Looking for the hangouts custom URL scheme on IOS
- How to do some task after Asterisk ReceiveFax function calling?
Related Questions in BACKGROUND-MODE
- linphone-iphone in background-mod can't get an incoming call?
- Ionic backgorund mode crash
- Ionic 4 Radio Streaming App with icecast2 Background Mode and Audio() web function
- How to start picture in picture mode instead of going to background? Like youtube premium
- Cordova Windows app script not executing if minimized
- Socket in background state iOS
- iOS - What does External accessory communication of Background Modes do?
- Download multiple small files in background state
- iOS, best time to call Core Data queries on app start
- Loading the last View Controller Active after app goes into background, swift
- Keep iOS dev app running using Background Modes
- Ionic program dont work in backgraund. How to fix that?
- How to stop janus-gateway background mode?
- iOS background fetch keeps launching the app
- play audio in background on intervals iOS
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 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: