Skip navigation
Currently Being Moderated

custom token to for authentication drm content

Sep 29, 2011 11:13 AM

We are trying to pass a custom token to for authentication drm content with Flash Access and having issues.

 

Seems similar to this post: http://forums.adobe.com/thread/879536

 

But the resolutions are not working for us. We never get DRMState.AUTHENTICATING.

 

We are using OSMF 1.6 release (I believe we previously tried 1.5 as well). Should note that when using the Flash Access reference application we can get it to work, but that isnt OSMF.

 

 

 

protected function onMediaElementTraitAdd( event:MediaElementEvent ):void

{

if( event.traitType == MediaTraitType.DRM )

{

 

drmTrait = mediaPlayer.media.getTrait( MediaTraitType.DRM ) as DRMTrait;

drmTrait.addEventListener(DRMEvent.DRM_STATE_CHANGE, onDRMTraitDRMStateChange);

}    

}

 

At this point drmTrait.drmState = “uninitialized”

 

I also tried listening to the media player:

  1. player.addEventListener(DRMEvent.DRM_STATE_CHANGE, onDRMStateChange);

 

 

 

The drm state change handler only fires once and its’ drmState is then authenticationError with an error of #3304

 
Replies
  • Currently Being Moderated
    Mar 19, 2012 7:46 AM   in reply to David_RealEyes

    Did you manage to get a solution for this problem? We appear to be having the same issue with OSMF 1.6 and 1.6.1

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2012 9:03 AM   in reply to David_RealEyes

    Yes, If you could provided src & swc that would be great! We'll give it a go here and see if it helps with our problem.

     

    Would dropbox.com be fine? I'm not sure if you have my email.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points