iOS playback RTMP with AVFoundation - ios

I need to implement an iOS app that playback RTMP with AV. Exists any library for this propose? I have bean searched on Internet but I didn't found nothing or any example.
I think that I must capture frames and decodec because iOS don't playback rtmp.
I haven't got idea to where start

There are few providers i had come across few months back.
You might want to refer them.
cine.io
VideoStream SDK for iOS
Brightcove Player SDK for iOS
RealTimeLibs
All of above are paid ones.
There are also some open source libs:
RTMP-Wrapper
MediaLibDemos
Hope this helps you.

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

Xamarin.forms youtube video

I know this question has been asked before but I can't seem to find a satisfactory answer. First off I'm very new to Xamarin.forms and mobile app development in general. I'm working on a small time sensitive project. One of the requirements is to have a youtube video play from within the app in both iOS and Android (the link to the youtube video comes from a DB). I used a WebView but it doesn't seem to work well in Android. I also came across the following in another thread:
"When it comes to streaming video on iOS and Android playing that content in a Webview control with or without Xamarin.Forms would be the incorrect choice. Webviews vary on each device and their codec support for HTML5 and H264 video also vary. Both iOS and Android have their own native video players that can play and stream video.
For iOS you have a few options such as AVPlayer or MPMoviePlayerController: http://developer.xamarin.com/recipes/ios/media/video_and_photos/
For Android you could simply use the default VideoView http://developer.xamarin.com/recipes/android/media/video/play_video/ or you could use the binding around the new ExoPlayer: https://github.com/martijn00/ExoPlayerXamarin
You would simply need a custom renderer to bring these into Xamarin.Forms, which would be very simple to do"
I've never done Xamarin.iOS nor Xamarin.Android development before. If someone can provide a simple prototype then that would be great.
Take a look at "Delivering Rich Media Experiences with the Xamarin.Forms Video Player" (https://blog.xamarin.com/delivering-rich-media-experiences-xamarin-forms-video-player/). Github: https://github.com/adamfisher/Xamarin.Forms.VideoPlayer

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

Using Gamekit to Share Music Between Devices

Is there a way that I can develop an application that uses GameKit to share the music currently playing on another device?
The connection part using GameKit isn't the problem. It's the sharing music part that I'm having a problem with. Any ideas?
After doing some research I realized that it is technically possible but because of copyright issues Apple won't allow it. In theory you can connect the 2 devices via GameKit and then get the MPMediaPropertyAssetURL for an audio item in the library, and open it with AV Foundation. You could use the AVAssetReader to read from the file and then stream them over the GameKit connection. So technically it's possible but legally might not be allowed! Hope this helps someone!

Resources