How live audio streaming and downloading to happen simultaneously in IOS using Objective c - objective-c

I am creating one application with live audio streaming, I wanted live audio streaming and downloading to happen simultaneously (like WhatsApp files). Please let me know if someone can help me or guide me.

You can insert AVAssetResourceLoader between your AVPlayer and The Internet to allow caching while you stream.
Here are some examples I found on github:
AVAssetResourceLoader
VIMediaCache

Related

make it impossible to download the audio files

So guys, how do I prevent users from downloading audio files on my web app (running springboot in backend) by accessing the s3 url !
I want to make it impossible to download the audio files in my website ! Any suggestions pls ?
I assume you mean that you want to make it impossible to download the audio files, but still allow streaming them for playback.
You can't.
If it can be played, it can be downloaded. Simple as that.
At best, you can sign your S3 URLs so that they expire after a short period of time. This gives you control over who accesses your audio files, and prevents them from showing up in searches, or linked to from other sites. You can also look into Encrypted Media Extensions, but it's not all that useful for audio since audio is trivially digitally captured on the output.

How to take a screenshot while playing a HLS stream using AV foundation?

I am playing a video in my app, the video is a HLS streaming which i am fetching from my remote server. And i need a functionaltiy to take the screenshot of currently playing video but i am not able to do the same, i checked the documentation apple is saying you can take the screenshot if you are playing a video if you are playing a video from LOCAL URL or LOCAL FILE and you can not take a screenshot if you are playing a video from remote stream.
I am kind of stuck on this issue, i tried several methods discussed on stack overflow and other sites but nothing worked.
Please help,
Thanks

Webcam video recorder with resumable uploader

I am developing a website in which video recording is the core feature. We would ideally want video recording to continue even if internet connection goes down. If user is recording the video and internet gets disconnected then the video may get locally saved and when internet connection resumes, the video gets uploaded to the server.
I have gone through some websites which provides APIs for recording video via webcam but they do not work even if internet connection goes down for a moment.
Any suggestions will be highly appreciated.
I guess for your case you need to offer an off-line application rather online streaming solution, then later the user can upload the video. PresentationTube at http://presentationtube.com uses this technique. As they said: PresentationTube offers a PowerPoint presentation recorder and video sharing network to help teachers, students and business professionals produce and share presentations in video format.

Live Webcam Streaming with CRTMPServer aka RTMPD

I want to use CRTMPServer aka RTMPD (http://www.rtmpd.com/) for streaming webcam using flash to other flash clients. I am unable to find any useful configuration for the same. Please help.

Newbie question on Flash video players, products/SDKs, and API

I'm a C programmer and a total newbie to Flash/video/web world. Don't know where/how to start, and so would greatly appreciate your initial help.
Question
If I need to host flash videos off of my website (instead of embedding YouTube links on my webpages),
AND
If I need to provide player API like YouTube's that can be used, say, for supporting chromeless player versions customizable via this custom API of mine...
THEN
What do I need to do essentially...?
Write a custom Flash video player?
If yes, how? I mean, using which Adobe products / tools / SDKs / language(s)?
Is there anything free/opensource available for doing this? Especially, for Linux platform?
Write a new browser (firefox) plugin for users visiting my site?
Not sure how my custom Flash video player will get to the user visiting my site for the first time?
Any books, resources that cover this problem well?
Does the Flash content need to hosted off of a Windows server only?
Currently lost. Thanks in advance,
/SD
Flash has video playback support built-in, so all you need to do is use the Flash authoring environment or Flex to compile a .SWF file that uses the video API, with some buttons to stop and start the stream, volume, seeking, anything else you want your player to do.
Many people have already done this for you, in a way you can easily use from simple HTML. See eg. OSFLV, Flowplayer, JW...
Write a new browser (firefox) plugin for users visiting my site? Does the Flash content need to hosted off of a Windows server only?
Lord no! Flash video would never have taken off if it was just another custom-server+custom-plugin piece of unpleasantness. Though special streaming servers are possible, for the most part it's just an FLV file sitting on a web server.
(FLV is the video format supported by the Flash video playing functions. There are many, many tools you can use to convert other formats to it; I use Avidemux.)
If you are planning to use a "Progressive Download" approach, then your FLV files can be hosted on a Windows or a Linux box. Be aware that:
it is no as efficient as true
streaming.
you may not use it for live events
nor only for stored video files.
it cannot automatically detect the
end user's connection speed.
it is not possible to jump ahead to
another part while it's downloaded.
the video file will be saved on the
end user's computer.
If you are planning to use a "Streaming" approach then you can either buy and use Adobe's solution (Flash Media Server, available on both Windows and Linux box) or sign up for a hosted solution. On this page you will find recommended providers by Adobe. I personally have been using Influxis's hosting with success for a couple of years already.
You can also write your own streaming server but that would be a lot of hard work. If you are interested in that, I would recommend you have a look a Red5 which is an open source Flash Server written in Java.