-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[BUG]: DRM Video not Playing on Android #4119
Comments
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
|
your DRM server report an error 400: 08-29 14:14:08.623 18391 18391 E RNVExoplayer: playerFailed [eventTime=7.48, mediaPos=0.00, window=0, period=0, errorCode=ERROR_CODE_DRM_LICENSE_ACQUISITION_FAILED please use charles proxy to understand the issue and reproduce with postman |
@freeboub Thank you. Can you please explain to me how did you get this error message so that I follow in your steps and debug this issue? |
It is the extract of "adb logcat" in a shell. |
Version
6.4.5
What platforms are you having the problem on?
Android
System Version
Pixel 8
On what device are you experiencing the issue?
Simulator
Architecture
Old architecture
What happened?
I added the player to my code. Playing a plain mp4 file works fine. Playing a Dash DRM file displays a black screen, the player starts progressing for a second then it crashes and starts from the beginning and freezes. I tested the Dash video on an online player and it works fine.
My code:
<Video source={{ uri: "https://dvfjyetbqjf38.cloudfront.net/test-output-1/BigBuckBunny.mpd", }} drm={{ type: 'widevine', licenseServer:'https://drm-widevine-licensing.axprod.net/AcquireLicense', headers: { 'X-AxDRM-Messaige':'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZXJzaW9uIjoxLCJiZWdpbl9kYXRlIjoiMjAwMC0wMS0wMVQxMzo0NjoyMiswMzowMCIsImV4cGlyYXRpb25fZGF0ZSI6IjIwMjUtMTItMzFUMjM6NTk6NDArMDM6MDAiLCJjb21fa2V5X2lkIjoiZTljODZjMzctZmJkMi00NjhjLWIxNjMtYjFkODAwZWU2NDFlIiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsInZlcnNpb24iOjIsImxpY2Vuc2UiOnsiZHVyYXRpb24iOjM2MDB9LCJjb250ZW50X2tleXNfc291cmNlIjp7ImlubGluZSI6W3siaWQiOiI0YTg3ZDgxMy0wYTYxLTRkODktOWQ5OS0wOWUwYmEzN2ExYTIifV19fX0.BC_roJdYijF2-GGQh6wra5R_ap6lKgdoHnDzlxdtjJc', 'Content-Type': 'application/octet-stream' } }} style={styles.video} />
Reproduction Link
repository link
Reproduction
Step to reproduce this bug are:
The text was updated successfully, but these errors were encountered: