How to playback FairPlay content offline - ios

I am trying to implemented downloading and playback(offline) of hls fairplay content. I am trying out the sample application (HLSCatalog) provided with the FairPlay Streaming Server SDK v3. In that application there are 3 streaming but none of them is initiating FairPlay key download sequence. I suspect the third stream in the sample application points to FairPlay content but the master playlist doesn't exist at the given url.
So the question is can any one point me to a valid HLS FairPlay content that I test using the given sample application.

In the v3 sdk there is a test m3u8 under Development/Key Server Module/testing/Test Streams/Muxed/Encrypted/ with the key and master m3u8

Related

AWS Transcode Video HLS are not been played in Offline Mode In Swift (iOS)

Hi I have a HLS video which is encrypted via a AWS Transcoder.
I am able to play this (HLS Encrypted video) video from remote.
The same video(HLS Encrypted video) on download using HLS Downloader. It is not playing.
Is there any AWS Content Key Delivery Management to over Come this issue?
I Have implement offline download using AVAsset Downloader.
I not implement apple Fair Play system For Content Key Delivery Management
The video will play if it has a sync with internet for 1 second after that the internet is not required
Have used this link to implement HLS Downloader
https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/MediaPlaybackGuide/Contents/Resources/en.lproj/HTTPLiveStreaming/HTTPLiveStreaming.html
I need to download the HLS Encrypted Video using the Apple HLS Downloader and play it in offline without using any sync of internet

Wowza Publish the live Stream on Apple HLS demand

The problem is simple. In Wowza when I use a stream file in live mode (so the streaming are published only when requested through RTMP), I'm not able to publish the streaming and get the video streaming when I use the JWPlayer on IOS (so through Apple HLS) so i'm looking for a method for streaming the cams-live on iOS on demand!
I've just started in Wowza so I cannot write Java code to expand the functionality for the moment so be patient.
I've seen this post on stackoverflow, but i can't see the solution, Wowza: Need to stream rtp-live to iphone !

you tube live streaming api not stream the video

I checked for the youtube live streaming api and it provides the facility for stream the video over the youtube.
But how can we access it in the development?
How can we use this api (youtube live streaming) and stream the video in the youtube?
You will have to enable "Live" streaming feature in your account. Looks like you will have to be eligible to have it enabled.
http://www.youtube.com/live/all
If its enables, you can push your pre-recorded video files/live video to the google's publishing point. For that you can use any supported media encoders. More info can be read here on how to set it up.
https://support.google.com/youtube/answer/2907883?hl=en&ref_topic=2853713
Once thats setup, you can stream events as if its a real live event !

Live streaming Azure framework,is url issue?

Working on ios app.
For live streaming.
Using Azure framework.
I am receiving the bytes at run time.
But could not play them in Azure Media Player.
In Demo app we are able to play the static url from the server.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.ism/Manifest(format=m3u8-aapl)
But when we are streaming live we have to create the url like from server.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.isml/Manifest
Should I convert the Manifest file to .m3u8 format ?
Any body knows how to convert that manifest file to m3u8 file format ?
Please.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.isml/Manifest is a Smooth Streaming Manifest that can't be played back using Azure framework. You will need to create HLS live stream.
**For live streaming using Azure framework I was getting 'SmoothStreaming' url.
Which I could not play on iOS device directly.As told by Mingfei Yan in above answer**
So, We searched another way then Azure
We followed this link to set up the IIS server.
http://www.hanselman.com/blog/CommentView.aspx?guid=86968cd5-feeb-47f2-b02e-1eb4fa556379#commentstart
And we got the Apple HLS stream to play in Safari or
WebView(iOS).
Still I am waiting to use Azure Frameork If I configure it properly.

How to convert URL file 'Smooth streaming' to Apple HLs format?

In
iOS App
for Live streaming
I am getting the response from server
like this, (You can check)
http://4a75a0cce3694e29bc670b3d574fec92.cloudapp.net/push.isml/manifest
Which is Smooth Streaming file.
How to play this file in my ios app.
Is there any run time converter to convert this file to Apple HLS ?
Any player*(Smooth Streaming)* like
OSMF plugin for iOS
HTML5 player
Silverlight plugin for iOS
Actually :
Actually we have not tried much with Azure Framework. We setted up
the IIS server and got the live streaming.
Played stream by HTML5 video tag in web view.
By following this link
http://www.hanselman.com/blog/CommentView.aspx?guid=86968cd5-feeb-47f2-b02e-1eb4fa556379#commentstart
We can able to play live streaming in our iOS devices.
Still I am happy if I can configure the windows AZure framework to do the same.
You can use the Windows Azure Media Services for converting SmoothStreaming media content into Apple HLS content. Either you use the Management Portal to upload your media assets and then encode it with the preset "Playback on iOS devices and PC/MAC" or you use the REST Api for the Windows Azure Media Services at runtime.
With the REST API you can utilize the Windows Media Packager to encode Smooth Streaming content for HLS. Find a sample configuration for that task here.

Resources