DRM video playback - HELP PLEASE
I have searched and searched and searched online but cant find anything and from what I can Adobe doesnt have any examples, but I am building an AIR desktop video player application and want to be able to play videos with DRM such as bought iTunes movies or dvd/bluray Digital Copy's(if possible, if its not go ahead and tell me please). What I had done so far was something like this.
var netconnection:NetConnection = new NetConnection();
netconnection.connect(null);
var netstream:NetStream = new NetStream(netconnection);
netstream.client = this;//This works
var netoptions:NetStreamPlayOptions = new NetStreamPlayOptions();
netoptions.streamSource = "videoFile.m4v";
netoptions.preloadEmbeddedData(netoptions);
function onMetaData(e:Object):void {
trace(e);
}
function onDRMContentData(e:Object):void {
trace(e);
}
Now, with a regular video file, the onMetaData event fires and traces out and works just fine. If I try and play an iTunes bought movie, neither the onMetaData or onDRMContentData events fire and I have no way of knowing what is going on. Any ideas? Any help or examples or telling me what Im doing wrong would be awesome. Thank you.
