I am developing music iOS app in which I am fetching audio file from server in bytes format and save in device in mp3 format. So when I am going to play audio file it is working fine. In some cases Audio file is DRM secured on server. I have one password but don't know how to use it.
My question is how to save and play DRM secured file?
Related
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
In earlier case of my I have played non encrypted .m3u8 video in offline mode
I have download a .m3u8 extension video file which is not encrypted
and I have played that video.
This video is download in the formate of .movpkg extension format.
I have download this video using AVAsset download Session
But in the case of encrypted video
I can download the .m3u8 extension video and this video get saved in extension of .movpkg
The issue rise when the saved video is played without any internet connection I know this reason for this because the decryption key is not available for it. So that video can decrypt and play in player level it self
Is there any possibility to play the saved video file without using internet(offline)
Do I need to use the apple fair play concept to play m3u8 video?
if so how can implement it in server side?
Have anyone used apple fair play concept?
How can implement the fair play concept in the FFmpeg Convertor?
Is there any method to override the key delivery mode in AVPlayer?
My iOS app downloading encrypted mp4 file from server to my document folder.
I'll decrypt mp4 to my Memory and play video from memory.
For security, my app should not make decrypted mp4 file to doc folder.
How can I play Video from memorystream?
I'm trying with FFMpeg..or is there any other solutions?
Can I customize avio_open2() and avformat_open_input()?
Please help me....
Set AVFormatContext->pb to a self-created AVIOContext that wraps your memory stream. Most important are the read_packet() and seek() function callbacks, which your application should implement to do actual packet reading and seeking for the (mp4) demuxer. You can also look at earlier questions along the same path.
Problem:
I need to download mp4 video from media server and simultaneously feed the localhost httpserver (GCDWebServer) to enable video streaming.
What have i tried so far:
I am able to download a video file from media server and then provide the localhost url for streaming the video.
But this takes a lot of time in downloading. So i wanted to know if there is a way i can segment the video on the fly and keep updating the m3u8 file as and when my next segment is ready.
Ok, Why downloading? Basically i need to deal with a custom encrypted video file. So i need to download, then decrypt the stream and then feed to my local httpserver.
I hope i'm clear in the requirements.
I need to learn how to buffer audio stream from a remote server in Blackberry.
There is a sample buffered playback app with Blackberry api but can you tell what url may I use to test the application?
You can use any audio file (i.e. mp3) served up by a webserver. So either copy an mp3 file onto your own webserver or find a link to an mp3 file out on the internet.