I am building a pdf making solution in which a user captures photos from his camera, and s/he can make a pdf out of those photos. Now my client wants a feature where you can share photos captured in one device to another device (like if the user is capturing photos on a mobile device and he now wants those photos on another device maybe a computer). The whole app is a progressive web app, so pretty much all functionalities run offline. I thought about building a web server, and upload photos on prompt from the mobile device, and may be provide some way for the pc to connect and download those files. But turns out it gets too slow..
But then I thought there are some web apps, which allow sharing large files after connecting to the same wifi network, how do they do that? For now that seems like the solution for my problem. Can anyone help?
Goal
To build a feature to make videos available offline. A feature like youtube offline videos but on browser.
Problem
Is it possible to make HLS formatted (also known as .m3u8) videos available to user offline on there browsers?
Is it possible to store HLS video in users browser (in Indexed db etc) and then play directly from there (At least for a short term period)?
I have crawled web and searched for a solution but found nothing and now I am putting my problem before the amazing SOF community. Please help or guide me.
I am working on jwplayer video and I need to prevent the video from download.
When i double click on mobile chrome browser while video is playing it gives me the download option.
I have study so many articles and blogs posts about this but still could not find any solution.
I don't want to use HLS stream option. Is there any parameter jwplayer use that recognize the authenticated users and play video only for them? or is there any other way to do it.?
If you are worried about the video being copied by authorised users then ultimately there is no way to stop the user downloading it - the video has to get to the device/browser for it to play and it is not hard to get around any URL obfuscating etc.
The usual approach to avoid copying is to encrypt the video and use some secure way to send the key to decrypt it.
This is essentially what DRM systems do.
The stronger DRM implementations generally also make sure that the end user or application never is able to . This is done by having the encrypted video and the key do their work within a 'secure media path' in the device, that applications and even the OS have no access to.
Currently my app allows to play videos online through iframes with embed links, at this moment I need that besides this, allows to download the videos for their offline visualization within the app, the video services that I have the possibility to use are Amazon and Vimeo.
For Vimeo I also have the download links of the .mp4 files
Anyone know how can I download the videos so that they are viewable offline only from my app ?, something like Spotify with the offline playlists.
Anything would be very helpful.
Thanks
I'm struggling trying to figure out how to implement live streaming of an audio file through Azure Media Services. What I'm trying to do is have a single/static audio file that live streams and repeats when it reaches the end of the file.
The thought is to have a radio station type experience that when the user starts listening to the audio it begins playing at where the file is currently at in the live stream.
I have very limited knowledge with codecs, streaming types, and encoding. That said, I was able to upload my mp3 file to Azure Media Services, encode it using "AAC Good Quality Audio" and am able to play the audio clip. However, I want to enable streaming to ensure the experience I described above.
The last piece of this will be enabled through a responsive website so I would like to enable the stream using HTML 5 so it's playable on all devices that support it (desktop, mobile, tablet, etc). Is there a HTML5/JavaScript player that is able to do this? Flash/Silverlight is not an option since this won't render on mobile nor tablets.
If I can provide any further information please let me know. Most/all of the articles I see about live streaming is about video and I'm struggling to find how to do this with audio. Any help would be greatly appreciated.
Thanks!
There is no such thing as Live Streaming a single audio file. Live streaming as such imposes a live event. Something that is happening and while happening is streaming. And it doesn't matter if it is Audio or Audio + Video or only Video.
Using only Azure Media Services you cannot achieve this goal. You need a process that plays in repeative mode the media and streams it to a live streaming channel of Azure Media Services.
But it would be a rather expensive exercise! For your need, a more cost effective way would be use some linux streaming server on a Linux VM, like http://icecast.org/
You can also send one file, and Azure can transcode it to various formats for you. I have a full list of tutorials I wrote on Azure Media Services:
Intro to HTML5 video
Intro to Azure Media services, AES, and
PlayReady DRM
Live streaming HTML5 video using Azure Media
Services
Using Azure Blob Storage to store & serve your audio and
video files
Use this Azure Media Player for streaming Media Service
video to all devices
Uploading video to Azure Media Services
In terms of the encoding, Azure can do that for you. Give it one file type, and it can create multiple copies of various formats for you. I have a short post and a 10 minute video on how to do that.
There is also an Azure Media Player, and the selling point behind this is that it adapts the video stream based on the device it detects the player is running on, which is nice for pairing with the format changes listed above. So it saves you the trouble of having to write the fallback conditions yourself. (Ex: Running on an iOS device, so use HLS).
You can use any of this for audio, as well. Your best bet is to set set Looping = true on the video player, as both the HTML5 audio and video player has this attribute.
Let me know if you need more info.