I want to have streaming audio play in the background for an app im developing using Cordova 1.7 (PhoneGap) for iOS. I followed the guide on Joel Dare's website and got the streaming up and running, but his technique for background play doesn't work, which I am assuming is because he is using an older version of PhoneGap as an example. Can someone provide a way to accomplish this using 1.7?
Thanks!
Related
Kindly go through the sample applications embedded in the below link (iOS Native & Kony) for playing the audio and TTS(Text To Speech).
We have integrated iOS FFI for playing the audio and TTS functionality in Kony sample application. Finally we are able to hear the audio is playing when the application is in foreground as well as in background state.
Kindly make the necessary changes in the application as per your use case.
Links for Sample Apps:
https://drive.google.com/folderview?id=0Bz-BlA5Z79LVRDlNb0JGOWlyOUU&usp=sharing
Regards,
Guru Murthy
Good sample application for Kony iOS FFI
I want to run my html5 audio player which is online streaming radio link to be played even if the device is locked (sleep mode) or the app is turned in background while opening another app. The player works very well when I start it as web app from Safari browser but now after I have built it for ios using Phonegap Build when the device is locked or the user switched between the apps in the device then the player stops. Is there any solution for this? Maybe a plugin?
Here is my web app in github: https://github.com/albpower/radio-pendimi
I have solved this problem using Background-audio ios Phonegap plugin. Here you can find more informations about plugin and usage from official Phonegap plugins directive.
https://build.phonegap.com/plugins/1193
I wanted to mimick video streaming, photo capture etc for android and iOS mobile apps using Drones. I have found Android support is available by Flyver here - http://flyver.co/drone-api-sdk/.
But, I could not find anything that suffice my needs as flyver wiki is not well updated.Please let me know how could I simulate Drone apps using Flyver?
Flyver SDK will soon support video streaming and restreaming from cameras such as GoPro.
You could run the apps on any Android phone and test without the drone.
Download the Hello Flyver application to get you started:
https://github.com/flyver/Flyver-Apps/tree/master/HelloFlyver
For further questions you could write directly into the forum pages: http://flyver.co/forum/
I am trying to build a audio/video streaming app that works cross platform on iOS and Android mobile devices.
No matter how deep I Google, I'm ending up with suggestions that point me towards OpenTok/TokBox API. But this is what I wish to avoid.
I've checked a few demo, but WebRTC/HTML5 do not seem to work with streaming video/audio in iOS browser. For example, the https://apprtc.appspot.com demo does not work in Safari or Opera Mini in iOS.
When I try http://dev.opera.com/articles/media-capture-in-mobile-browsers/demo/ ... I can capture image using the default iOS camera picker from my browser but streaming video fails.
It seems like the getUserMedia() stuff is not supported by any browser in iOS.
Moreover, I am planning to put this on a WebView in a native iOS app. This sounds like a really far cry.
I wish someone could point me towards something that helps me build a video streaming app (hopefully using HTML5), that works uniformly for iOS and android (without TokBox).
You might want to look into Ericsson's Bowser App http://www.ericsson.com/research-blog/context-aware-communication/bowser-openwebrtc-released-open-source. It claims to provide WebRTC on Android and IOS. Apparently the App is currently under review in the App Store so if you wait it may just be a case of downloading the App. However it's also open source so if you can't wait then you can build it yourself https://github.com/ericssonresearch/bowser.
getUserMedia and WebRTC Peer-to-peer connections APIs are not supported in iOS.
One of the reason is that at the moment efforts around WebRTC focus on VP8 video codec which Apple and Microsoft do not support natively. Support in the near future is unlikely with Microsoft pushing for its own standard.
Doing what you want on iOS requires you use a native iOS compatible solution like OpenCV which supports video capture. You can find on Google tutorials on how to implement a solution based on OpenCV.
good news, will be supported at Safari 11.0
https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Safari_11_0/Safari_11_0.html
I am trying to develop an application for IOS in which the application needs to have control over the phone's volume.
Please do suggest if flash 4.5 mobile or phonegap is suitable for the following requirements.
Increase/decrease volume
Mute
Play audio files
Thank you
PhoneGap has media module, record/play:
http://docs.phonegap.com/en/1.0.0/phonegap_media_media.md.html
Also there seems to be a few plugins on related topics:
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone
AudioRecord, SoundPlug, VolumeSlider
Using flex 4.5, you can do all of these tasks:
play sound
volume control (including muting)