Play audio in ios using kony FFI - ios

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

Related

How can I start live streaming using RTMP link from iPhone using Swift 5

I'm working on a project in which users can go for live stream using iPhone device camera.
I looked for the same and found certain libraries but mostly are paid.
So, please suggest the better way to achieve the desired result, any library link, blog or code would be helpful.
The project is built using swift 5, Xocde 12.3.
Reference link:
I found this library for android: https://github.com/TakuSemba/RtmpPublisher
Thanks in advance.
#HappyCoding
try this
"Camera and Microphone streaming library via RTMP, HLS for iOS, macOS, tvOS."
https://github.com/shogo4405/HaishinKit.swift

AUGraph/AudioUnit support in Rdio iOS SDK

I wanted to develop a iOS music player app by using Rdio streaming service.I have gone through rdio sdk documentation and able to understand the audio playback API's. However along with playback, I would also want to add some of the default apple provided audio effects like equalizers etc to audio stream. I could not find any way to do it so.
Is rdio iOS SDK allow us to add audio effects to its pipeline or is there any other alternative?
The Rdio iOS SDK doesn't let you integrate with AUGraph/AudioUnit. The SDK is designed to work like a blackbox, you specify what to play and music comes out the speakers. This is done to prevent developers from accessing and manipulating the audio.

Video Streaming in iOS through WebRTC

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

getEnhancedMicrophone() doesn't work (reduce echo) on air mobile for IOS

I have a problem with my flex mobile application on iOS. It is a video chat application with a red5 server.
The video works fine but the voice has a big echo! I tried using getEnhancedMicrophone() but it didn't help.
How can I have Acoustic Echo cancellation or suppression on IOS?
I work on Flash Builder 4.6 with Air 3.5
There no known solutions.
Adobe been promising a fix for years but the solution requires access to Android source code from Google that is not open source. I had the same issues with a videChat app on Android using Adobe Air. I tried as workaround:
Switching mic.setLoopback(false/true) in a timer to break up the audio
Trying to detect sound coming over NetStream and set the local device mic gain to 0
Problem is I cannot detect if someone is talking over NetStream.
Use NetStreamInfo audio properties like audioBytesPerSecond but these do not jump when someone is talking over NetStream.
The problem is solved if the user wears headphones on the mobile side but this is not acceptable.

Background Audio and Cordova 1.7

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!

Resources