Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManifestParseFailure Error was received when attempting to play DRM content in the UWP. (Playready) #2399

Open
gokulkalagara opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.

Comments

@gokulkalagara
Copy link

Description

Facing ManifestParseFailure Error Status in AdaptiveMediaSource.CreateFromUriAsync()

Drm Content Url
https://vod.ace.online/out/v1/13b599278940464a9c7530fcaa530e1d/14224726ba27434a946d77ed38c1dbd5/9b207059ba624e09a618ae509d2dc0cb/index.mpd

I'm facing this issue while playing the protected play-ready DRM content in UWP. However before, they were functioning normally, but for the past 20 days, we have been facing this problem, Nothing has changed with the code. We are dealing with Windows 10 and 11 operating systems.

Device Specfications

Device name    DESKTOP-RLF0FL2
Processor    11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz   2.80 GHz
Installed RAM    16.0 GB (15.7 GB usable)
System type    64-bit operating system, x64-based processor

Windows Specfications

Edition    Windows 11 Pro
Version    22H2
Installed on    ‎11-‎09-‎2023
OS build    22621.2283
Experience    Windows Feature Experience Pack 1000.22662.1000.0

UWP Video Player Code

AdaptiveMediaSourceCreationResult result = await AdaptiveMediaSource.CreateFromUriAsync(uri);

 if (result.Status == AdaptiveMediaSourceCreationStatus.Success || result.Status ==  AdaptiveMediaSourceCreationStatus.ManifestParseFailure) {
// code to play
}
else
 {
     switch (result.Status)
     {
         case AdaptiveMediaSourceCreationStatus.ManifestDownloadFailure:
         case AdaptiveMediaSourceCreationStatus.ManifestParseFailure:
             _alertService.ShowNotification(NotificationEnum.Error, $"Cannot play this video. Please try again later");
             break;
         case AdaptiveMediaSourceCreationStatus.UnknownFailure:
             _alertService.ShowNotification(NotificationEnum.Error, $"Please try again later");
             break;
         case AdaptiveMediaSourceCreationStatus.UnsupportedManifestContentType:
         case AdaptiveMediaSourceCreationStatus.UnsupportedManifestProfile:
         case AdaptiveMediaSourceCreationStatus.UnsupportedManifestVersion:
             _alertService.ShowNotification(NotificationEnum.Error, $"Video format not correct");
             break;
     }
 }

Error Details

Error creating the AdaptiveMediaSource. Status: ManifestParseFailure, ExtendedError.Message: Overflow or underflow in the arithmetic operation., ExtendedError.HResult: 80070216

Assumption
Are there any problems with the manifest files (.mpd) or security/operating system upgrades on Windows? However, they were previously working perfectly, unable to the find issue

@issues-automation issues-automation bot added the Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control. label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.
Projects
None yet
Development

No branches or pull requests

2 participants