I am doing audio streaming with iOS 7 Multipeer Connectivity. Streaming works well, but when I put the application in the background, it stops working.
Multipeer Connectivity
Can someone tell me if this is a limitation of the framework, or am I doing something wrong?
And if this is a limitation of the framework, is there anything you can do to avoid this?
Can I use background tasks so that streaming and music work in the background?
Is it possible? If this is not possible, are there any alternatives for streaming audio MultiPeerbetween iOS devices ?.
MultiPeer
I am using this example: https://github.com/tonyd256/TDAudioStreamer .
Explanation on this page: http://robots.thoughtbot.com/streaming-audio-to-multiple-listeners-via-ios-multipeer-connectivity .
Thanks a lot!
In the Apple documentation for playing audio in the background (scroll down a bit). Some relevant points:
UIBackgroundModes , , . - , . , , .- , .
UIBackgroundModes , , . - , . , , .
- , .
, iOS , Core Audio, , .
, , . , . , . , .
, , , , . , MPC .
, .
iOS- , .
Apple , :
Apps that play audible content to the user while in the background, such as a music player app. .
Apps that play audible content to the user while in the background, such as a music player app
Source: https://habr.com/ru/post/1527534/More articles:What is the correct way to use the android.text.format.DateFormat.format method - androidjQuery selector all identifiers that are integers - javascriptSVG height element not dynamic? - htmlConvert integer to null binary string - javamvn release: run does not deploy release version - javaOptimization of a simple pinball solver - performancehow to print variable name and value using scala macro? - scala-macrosОшибка компилятора QtPropertyBrowser при добавлении файла moc_objectcontroller.cpp в исходное дерево Visual Studio - propertiesWhat is the best way to query a JPA object for instances based on current date + time? - javaLibgdx Rendering Textures vs Sprites - androidAll Articles