I'm looking around for finding a way to play a video with DRM (or ProtectionInfo) with the native players, ExoPlayer for Android or AVPlayer for iOS.
Basically, I have some protected content in Azure Media Player and want to play them but I can't find any example.
Is there any examples for that? Is it possible to use Xamarin.Forms or I have to use native applications?
iOS:
to implement DRM on client app you need asset URL (in HLS/m3u8 format) and FairPlay certificate URL, here is a simple implementation click.
Android:
Exoplayer already supports DRM you only need an asset URL with DRM (in DASH format), set in the ExoPlayer and it'll work.
Related
I have set up an ASP.NET MVC5 video upload-conversion-watching site, and I need it to function on iPhone. The two formats I support are webm and flv;
I am NOT implementing .mp4 format due to the licensing requirements.
Is there an iPhone app, JavaScript library, or an extension that will allow the video to be played programmatically by my site, or an external iPhone application that can do it. The potential user base varies wildly in terms of technical experience, so any method will need to be relatively simple to follow. It would obviously be best if there were a way I could do it automatically, but I will take anything at this point.
I am building a mobile application in Flex 4.5 and from this app I would like to start the device's native navigation tool, like Google Navigation for example.
Is there a way to open the Navigation App using Flex 4.5?
As far as I knew, there was no way to launch other applications from a mobile Flex App.
Some native apps can be opened using URLs. It is, basically, the Flash Platform version of saying "Let the OS Handle it." If you HTTP link to a video, for example, it may open in a native player or it may open in the browser.
You can open the native text messaging program using sms as the protocol. As far as I know, there is no universal URL to open navigation services.
This post alludes to the fact that linking to maps.google.com will do it.
You can look into using the AIR Geolocation services APIs; but that is intended for in-app usage not launching other apps.
You can try using StageWebView to open up google maps or something. I don't think there's a way to open the native navigation app because it might not be there and they're different for each device.
Which API should I use to play sound notification from a Mobile browser for my web application.
Any Idea?
I don't want to use Flash or Silverlight Plugin.I used phonegap notification API, but it doesn't work on my iPhone.
You valuable thoughts would be highly appreciated.
Abdullah
Unfortunately the iOS browser has some limitations purposely built into it. One of them being that you can't play audio in javascript unless it comes as a direct response to user interaction (click/tap).
The reasoning for this limitation is unclear to me, my guess is that this is a deliberate attempt to cripple web apps and favour native apps.
This limitation is mentioned in Safari official docs here:
https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/PlayingandSynthesizingSounds/PlayingandSynthesizingSounds.html#//apple_ref/doc/uid/TP40009523-CH6-SW1
"On iOS, the Web Audio API requires sounds to be triggered from an explicit user action, such as a tap."
You could try playing the sound with javascript
Playing sound notifications using Javascript?
I wish to do screen sharing application using as3 as the part of one project.
how to get screen sharing video using as3. Thanks.
Screen sharing with flash is already possible with LiveCycle Collaboration Service. Read this article for more info
Update:
LiveCycle Collaboration Service is now known as Influxis Collaboration Service
AS3 does not support this per se. There are some solutions that use java or other technologies to stream through a streaming media server such as Flash Media Server (I'm guessing Fuze Meetings uses something like this), but you cannot do this with just the Flash Player alone. Adobe's Connect Now supports some screen sharing through their Acrobat.com service.
ScreenCamera SDK is definitily your best option here. It installs a camera on the system just like a regular webcam to which you can connect using Flex. ScreenCamera SDK remains completely invisibe to the end user so it looks like your app is doing all the video capture and recording and sharing.
You can test it from here:
http://www.pcwinsoft.com/download/slsdk/
I think this is the simplest way to do what you want to do,
Suppose you have an encrypted video file and the associated AES key. Is it possible to play that video in a flex AIR application without saving the decrypted version of the file? How?
If you do go the DRM route, I believe the Flash Media server supports all this.
Yes, you can.
The easiest way would be to use flash access or flash media server as others have suggested.
The hard way is to create everything yourself using NetStream and the appendBytes method. With appendBytes the data for the video can come from anywhere in any form and it is up to you to put it into the correct form to be played.
Take a look at this question on appendBytes:
In AS3 while using NetStream for video playback how do I seek when I use appendBytes
If you are protecting content, being adobe, I suspect that AIR will have some form of DRM api that you can use.
This returns alot of data about protecting videos in Flash/AIR and other adobe products.