Skip to content

Unable to play PlayReady DRM video offline #8

@softsara

Description

@softsara

I have a video file placed in azure media server. The video file is MPEG-DASH protected and it requires JWT token, uses Software DRM. Video works fine when internet is available.

I wanted to play the same video in offline mode. Therefore I used AdaptiveMediaCache sample of https://github.com/flecoqui/Windows10/tree/master/Samples to achieve this. With this, i am able to download the video content and able to play the downloaded video content only if the internet is available. Because it requires the play ready license url https://xxxxxx.keydelivery.mediaservices.windows.net/PlayReady/.

However when there is no internet this service is not available to me. Therefore I receive the "Video could not be decoded" error in video player and "MF_MEDIA_ENGINE_ERR_DECODE : HRESULT - 0x8004110E" exception in MediaFailed event handler.

What i am missing here? Or how to cache or persist the playready license for offline play?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions