# Shaka player playback is not working with DRM stream

**URL:** <https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283>\
**Category:** Bug Reports\
**Created:** [May 6, 2026, 1:35am UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283 "2026-05-06T01:35:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mariela\_Hernandez](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mariela\_Hernandez](https://community.amazondeveloper.com/u/Mariela_Hernandez)\
**Post date:** [May 6, 2026, 1:35am UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/1 "2026-05-06T01:35:28Z")

</div>

# 👉 Bug Description

* * *

## 1. Summary

Shaka player playback is working when the stream is free (without DRM), but I need to play content with DRM and the playback is not working in this case.

**App Name** : VIX  
**App Link on Amazon Appstore** : amzn1.devportal.apprelease.f0971ddb4b6a42b18d284f5faeeae91d

**Bug Severity**  
Select one that applies

- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other: Block the desvelopment of a new feature

## 2. Steps to Reproduce

1. `Select a content item stream with DRM`
2. `Try to play it`

## 3. Observed Behavior

_Explain what actually happened, noting any discrepancies or malfunctions._

```auto
The screen is loaded correctly but the player is not showing the video or sound

```

## 4. Expected Behavior

_Describe what you expected the SDK to do under normal operation._

```auto
Playback with audio and video

```

### 4.a Possible Root Cause & Temporary Workaround

_Fill out anything you have tried. If you don’t know, N/A is acceptable_

```auto
I tried change configurations, made some changes in the setup.sh files, add headers, etc. But the result is the same. 

```

## 5. Logs or crash report

_ **`There aren't any crash or critical error, but there are the logs:`** _

```auto
(NOBRIDGE) INFO render KeplerVideoSurfaceView

 (NOBRIDGE) INFO KeplerVideoSurfaceView: componentDidMount

 (NOBRIDGE) INFO MediaPlayer:+constructor: audioType = undefined, audioUsage = undefined, w3cmediaVersion = 2.1.99

 (NOBRIDGE) INFO Log level set to: INFO

 (NOBRIDGE) INFO MediaControlStateUtil: ++

 (NOBRIDGE) INFO MediaControlStateUtil: --

 (NOBRIDGE) INFO MediaPlayer:-constructor

 (NOBRIDGE) INFO MediaPlayer: initialize: audioType = 3, audioUsage = 1

 (NOBRIDGE) INFO KeplerVideoSurfaceView: onKeplerVideoSurfaceViewCreated

 (NOBRIDGE) INFO VideoPlayer: setSurfaceHandle: 1

 (NOBRIDGE) WARN VideoPlayer: mediaElement not available, hence only cached the surface

 (NOBRIDGE) INFO MediaPlayer: Native Media Element Created

 (NOBRIDGE) INFO MediaPlayer: Native Media Element Resolve now..

 (NOBRIDGE) INFO MediaPlayer:addEventListener: ended

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: ended

 (NOBRIDGE) INFO MediaPlayer:addEventListener: error

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: error

 (NOBRIDGE) INFO MediaPlayer: set autoplay false

 (NOBRIDGE) LOG Installing Document polyfill

 (NOBRIDGE) LOG Installing Element Polyfill

 (NOBRIDGE) LOG Installing TextDecoder polyfill

 (NOBRIDGE) LOG Installing W3CMedia polyfills

 (NOBRIDGE) LOG TextTrackCue not polyfilled

 (NOBRIDGE) LOG Installing misc polyfills

 (NOBRIDGE) LOG Installing dom parser polyfills

 (NOBRIDGE) LOG Installed dom parser polyfills

 (NOBRIDGE) LOG shaka: native playlist parsing is disabled

 (NOBRIDGE) LOG shaka: native Xml playlist parsing is disabled

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/webm; codecs="vp9"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2281387096", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2281387140", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2274425136", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2274425180", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275822552", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275822596", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2276005776", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2276005820", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2275898048", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275898092", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2274480192", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2274480236", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275646032", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275646076", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO vp9 is supported

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/webm; codecs="vp09.00.10.08"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2298198120", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2298198164", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2280638888", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2280638932", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2285765912", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2285765956", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2278228056", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2278228100", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2281450824", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2281450868", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2278481856", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2278481900", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2282290216", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2282290260", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO vp09.00.10.08 is supported

 (NOBRIDGE) WARN Error installing polyfill! [ReferenceError: Property 'screen' doesn't exist]

 (NOBRIDGE) WARN Error installing polyfill! [ReferenceError: Property 'MediaKeySystemAccess' doesn't exist]

 (NOBRIDGE) LOG shakaplayer: unregistering scheme http and https

 (NOBRIDGE) LOG shakaplayer: registering scheme http and https

 (NOBRIDGE) LOG httpfetchplugin supported? false

 (NOBRIDGE) LOG shakaplayer: creating

 (NOBRIDGE) LOG adding window listener online

 (NOBRIDGE) WARN Player w/ mediaElement has been deprecated and will be removed in v5.0 . We are currently at version v4.8 . Additional information: Please migrate from initializing Player with a mediaElement; use the attach method instead.

 (NOBRIDGE) LOG shakaplayer: loading

 (NOBRIDGE) LOG sample:shaka: got License header TAG: Authorization DATA: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkpVYkJGSktyZE1rSUNKVXhaU19qcCJ9.eyJ1c2VydHlwZSI6InJlZ2lzdGVyZWQiLCJwcm9maWxlcyI6W3siaWQiOiIzNTBlOGFlZS04MjRiLTRjMDktOWU4Zi04ZjI5YjQyNGExMzkiLCJraWQiOmZhbHNlfV0sImVtYWlsVmVyaWZpZWQiOmZhbHNlLCJoZW1DcmVhdGVkIjp0cnVlLCJ1c2VyRG9tYWluIjoicGFzc3dvcmRsZXNzIiwiaXNzIjoiaHR0cHM6Ly9pZC1zdGcudml4LWRldi5hdXRoMGFwcC5jb20vIiwic3ViIjoiYXV0aDB8cGFzc3dvcmRsZXNzfDE3YmU0YjZkLTc0ZDktNGY0Yi04NWE3LTEyOGJkNmE5MDc3YyIsImF1ZCI6Imh0dHBzOi8vdml4LmNvbSIsImlhdCI6MTc3ODAyOTE0MiwiZXhwIjoxNzc4MDM2MzQyLCJzY29wZSI6Im9mZmxpbmVfYWNjZXNzIiwiYXpwIjoiNFdzNmF3M29tNjQwSlluQmJqTEtobUd1bjdoaGRmZEkifQ.dly80fnM9zTwHra4wny4VkD6bIaPMGtuIXhCcvrlCclGlVO3tEe_LSV_49wvrmTpY5mBN55cqv8Vj78BZRdqHLz3VmkfcSNRwkPixPes8oBatalpbZMYB291V4sKzgl7P_1Zyf1msb3X8relUs0_vwMgqTh4QRd4TJykFRpQ-kAPaXTJTxoqXz0tJGEGBzBvAZ-oF3wHnhO4r9RcvbHd8bxaa5dEj4MnMhE_oaeQitWZDk910lKQbY_QSoYPxck3u9-LXvrXVf1FMWaSEOymQBdkqWeZWpWIRCyIZlIOo4qS6yJgVHXYfpINMxb3pJIZgp_tLUedIU57iPuif5dGzA

 (NOBRIDGE) LOG ABR Max Resolution: 3840 x 2160

 (NOBRIDGE) LOG shakaplayer: loading with com.widevine.alpha and https://drm.streaming.de.vix.tv/license and false

 (NOBRIDGE) LOG shakaplayer: loading with com.widevine.alpha and https://drm.streaming.de.vix.tv/license and SW_SECURE_CRYPTO

 (NOBRIDGE) LOG shakaplayer: load() OUT

 (NOBRIDGE) INFO MediaPlayer:addEventListener: error

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: error

 (NOBRIDGE) INFO TextTrackImpl::+constructor textTrack: null uri: ME: [object Object]

 (NOBRIDGE) INFO TextTrackImpl: constructed TextTrack JS_0

 (NOBRIDGE) INFO TextTrackImpl(JS_0): set mode hidden

 (NOBRIDGE) INFO MediaSource:+constructor

 (NOBRIDGE) INFO MediaSource[1]:-constructor: 1

 (NOBRIDGE) INFO MediaSource[1]:addEventListener: sourceopen

 (NOBRIDGE) INFO MediaPlayer:addEventListener: playing

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: playing

 (NOBRIDGE) INFO Src URL

 (NOBRIDGE) INFO MediaPlayer: setting srcObject

 (NOBRIDGE) INFO MediaSource[1]:setMediaEventRouter

 (NOBRIDGE) INFO MediaSource[1]:+setMediaElementHandle

 (NOBRIDGE) INFO MediaSource[1]:removeEventListener: sourceopen

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the response filter MANIFEST

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor key system = com.widevine.alpha

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor native config = null

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2292786440", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262243552", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262243596", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) WARN Possible Unhandled Promise Rejection (id: 0):

TypeError: default reject

TypeError: default reject

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395463:27)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at decodingInfo (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395462:26)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499821:55)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Se (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499819:219)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499794:113)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at Qe (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499757:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499872:29)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at Ke (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499834:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:501934:27)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at th (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:501922:17)

    at uh (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:501893:18)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:506992:51)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at nm (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:506973:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:506905:29)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at b (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497095:24)

    at tryCallOne (InternalBytecode.js:53:16)

    at anonymous (InternalBytecode.js:139:27)

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor key system = com.widevine.alpha

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor native config = null

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2301603856", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275470800", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275470844", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor key system = com.widevine.alpha

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor native config = null

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2284222792", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2294480488", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2294480532", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor key system = com.widevine.alpha

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::ctor native config = null

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2296133120", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2284575728", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2284575772", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) INFO EncryptedMediaImpl: getConfiguration _nativecfg = [object Object]

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysSystemAccessImpl::createMediaKeys

 (NOBRIDGE) WARN Possible Unhandled Promise Rejection (id: 1):

TypeError: default reject

TypeError: default reject

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395463:27)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at decodingInfo (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395462:26)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499821:55)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Se (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499819:219)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499794:113)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at Qe (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499757:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499872:29)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at b (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497095:24)

    at tryCallOne (InternalBytecode.js:53:16)

    at anonymous (InternalBytecode.js:139:27)

 (NOBRIDGE) WARN Possible Unhandled Promise Rejection (id: 2):

TypeError: default reject

TypeError: default reject

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395463:27)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at decodingInfo (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395462:26)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499821:55)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Se (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499819:219)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499794:113)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at Qe (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499757:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499872:29)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at b (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497095:24)

    at tryCallOne (InternalBytecode.js:53:16)

    at anonymous (InternalBytecode.js:139:27)

 (NOBRIDGE) WARN Possible Unhandled Promise Rejection (id: 3):

TypeError: default reject

TypeError: default reject

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395463:27)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at decodingInfo (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:395462:26)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499821:55)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Se (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499819:219)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499794:113)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497104:19)

    at tryCallTwo (InternalBytecode.js:61:9)

    at doResolve (InternalBytecode.js:216:25)

    at Promise (InternalBytecode.js:82:14)

    at Ga (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497100:27)

    at M (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497108:18)

    at Qe (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499757:17)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:499872:29)

    at Da (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497052:22)

    at anonymous (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497078:70)

    at b (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:497095:24)

    at tryCallOne (InternalBytecode.js:53:16)

    at anonymous (InternalBytecode.js:139:27)

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeysImpl::ctor

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/mp4; codecs="avc1.640028"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2278512896", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2278512940", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263124656", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263124700", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263124848", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263124892", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263124000", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263124044", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263014888", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263014932", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2262941696", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262941740", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262718744", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262718788", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO avc1.640028 is supported

 (NOBRIDGE) INFO MediaSource: isTypeSupported audio/mp4; codecs="mp4a.40.2"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2296762240", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2279640936", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2298195296", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2297816776", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2285894856", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2275878896", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2262643320", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2275817448", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 8

 (NOBRIDGE) INFO mp4a.40.2 is supported

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/mp4; codecs="avc1.64001F"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2280418376", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2280418420", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275675152", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275675196", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2280418768", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2280418812", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263000936", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263000980", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2264483608", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2264483652", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263061960", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263062004", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2284579232", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2284579276", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO avc1.64001F is supported

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/mp4; codecs="avc1.4D401E"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275935168", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275935212", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2275473432", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2275473476", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263065152", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263065196", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262930344", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262930388", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2262966352", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262966396", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2262925072", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262925116", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262858040", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262858084", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO avc1.4D401E is supported

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/mp4; codecs="avc1.4D4015"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262974504", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262974548", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2278532616", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2278532660", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263237664", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263237708", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263240360", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263240404", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263243168", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263243212", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263245800", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263245844", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263309152", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263309196", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO avc1.4D4015 is supported

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeySessionImpl::ctor

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeySession:addEventListener: message

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeySession:addEventListener: keystatuseschange

 (NOBRIDGE) WARN EncryptedMediaImpl: generateRequest Native obj is not present

 (NOBRIDGE) INFO EncryptedMediaImpl: createSession with type temporary

 (NOBRIDGE) INFO EncryptedMediaImpl: createSession_ inside Promise

 (NOBRIDGE) INFO MediaPlayer:addEventListener: play

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: play

 (NOBRIDGE) INFO MediaPlayer: setMediaKeys {"_nativemk": {"_tag": "NativeCDMiMediaKeys", "id": 6}}

 (NOBRIDGE) INFO MediaPlayer:addEventListener: playing

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: playing

 (NOBRIDGE) INFO MediaPlayer:addEventListener: pause

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: pause

 (NOBRIDGE) INFO MediaPlayer:addEventListener: ended

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: ended

 (NOBRIDGE) INFO MediaPlayer:addEventListener: ratechange

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: ratechange

 (NOBRIDGE) INFO TextTrackListImpl:addEventListener addtrack

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: addtrack

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG 🚀 ~ Attempting playback

 (NOBRIDGE) INFO MediaPlayer: play

 (NOBRIDGE) INFO MediaPlayer:play resolved

 (NOBRIDGE) INFO EncryptedMediaImpl: createSession inside CB. Got mks! Id = undefined, Event = undefined

 (NOBRIDGE) INFO EncryptedMediaImpl: createSession Got Media Key Session! NativeCDMiSession sId: 7

 (NOBRIDGE) INFO EncryptedMediaImpl: MediaKeySessionImpl::setnmks

 (NOBRIDGE) INFO MediaPlayer:removeEventListener: play

 (NOBRIDGE) INFO MediaEventEmitterImpl:removeEventListener: play

 (NOBRIDGE) LOG 🚀 ~ Playback started

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 2

 (NOBRIDGE) LOG sample:shaka: in the request filter LICENSE

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the response filter MANIFEST

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the response filter MANIFEST

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) INFO MediaPlayer:addEventListener: waiting

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: waiting

 (NOBRIDGE) INFO MediaPlayer:addEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaPlayer:addEventListener: audiofocuspaused

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: audiofocuspaused

 (NOBRIDGE) INFO MediaPlayer:addEventListener: audiofocusgranted

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: audiofocusgranted

 (NOBRIDGE) INFO MediaPlayer:addEventListener: audiofocuslost

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: audiofocuslost

 (NOBRIDGE) INFO MediaPlayer:addEventListener: waiting

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: waiting

 (NOBRIDGE) INFO MediaPlayer:addEventListener: stalled

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: stalled

 (NOBRIDGE) INFO MediaPlayer:addEventListener: canplaythrough

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: canplaythrough

 (NOBRIDGE) INFO MediaPlayer:addEventListener: progress

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: progress

 (NOBRIDGE) INFO MediaSource: isTypeSupported audio/mp4;codecs="mp4a.40.2";channels="2"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2250877248", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2250929072", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2251080072", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2250956976", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263062328", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2263461008", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2290661272", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2251079800", "mediaCodecFeaturesCapabilities": {"hardwareBacked": false}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}}]

 (NOBRIDGE) DEBUG result length: 8

 (NOBRIDGE) INFO mp4a.40.2 is supported

 (NOBRIDGE) INFO MediaSource[1]::addSourceBuffer: audio/mp4; codecs="mp4a.40.2"

 (NOBRIDGE) INFO Invalid mimeType or not a video mimeType

 (NOBRIDGE) INFO MediaSource: Source Buffer Width = 1920 , Height = 1080

 (NOBRIDGE) INFO MediaSource[1]::addSourceBuffer:: registering source buffer 0 to mediaElementEventRouter

 (NOBRIDGE) INFO SourceBufferListImpl: addSourceBuffer id 0

 (NOBRIDGE) INFO SourceBuffer:addEventListener: error

 (NOBRIDGE) INFO SourceBuffer:addEventListener: updateend

 (NOBRIDGE) INFO MediaSource: isTypeSupported video/mp4;codecs="avc1.4D4015";framerate="30";width="480";height="270"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2250307248", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2250307292", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2290317720", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2290317764", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2287410432", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2287410476", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2262932816", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262932860", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2292551032", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2292551076", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": false}, "mID": "2262745784", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2262745828", "resolutions": [Array]}}, {"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263225312", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263225356", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 7

 (NOBRIDGE) INFO avc1.4D4015 is supported

 (NOBRIDGE) INFO MediaSource[1]::addSourceBuffer: video/mp4; codecs="avc1.4D4015"

 (NOBRIDGE) DEBUG js queryMediaCapabilities: [{"decoderFeaturesCapabilities": {"decryptionSupported": true}, "mID": "2263104992", "mediaCodecFeaturesCapabilities": {"hardwareBacked": true}, "mediaFormatProfileLevelCapabilities": {"codecParams": [Array], "profileLevels": [Array]}, "videoFormatCapabilities": {"colorFormats": [Array], "mID": "2263105036", "resolutions": [Array]}}]

 (NOBRIDGE) DEBUG result length: 1

 (NOBRIDGE) INFO MediaSource: Source Buffer Width = 1920 , Height = 1080

 (NOBRIDGE) INFO MediaSource[1]::addSourceBuffer:: registering source buffer 1 to mediaElementEventRouter

 (NOBRIDGE) INFO SourceBufferListImpl: addSourceBuffer id 1

 (NOBRIDGE) INFO SourceBuffer:addEventListener: error

 (NOBRIDGE) INFO SourceBuffer:addEventListener: updateend

 (NOBRIDGE) INFO MediaPlayer:addEventListener: timeupdate

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: timeupdate

 (NOBRIDGE) INFO MediaPlayer:addEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: loadedmetadata

 (NOBRIDGE) LOG shakaplayer: setTextTrackVisibility

 (NOBRIDGE) INFO TextTrackImpl(JS_0): set mode showing

 (NOBRIDGE) LOG shakaplayer: loaded

 (NOBRIDGE) INFO SourceBuffer[0]:abort

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[1]:abort

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowStart(0)

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) INFO SourceBuffer[0]:appendBuffer(819)

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) INFO SourceBuffer[1]:appendBuffer(913)

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 4

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO MediaSource[1]:rebuildActiveSourceBuffersList

 (NOBRIDGE) INFO MediaSource[1]:clearing list

 (NOBRIDGE) INFO SourceBufferListImpl: clear

 (NOBRIDGE) INFO MediaSource[1]:finding source buffer for 0

 (NOBRIDGE) INFO SourceBufferListImpl: addSourceBuffer id 0

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[1]:abort

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[1]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO set finalOffset to offset

 (NOBRIDGE) INFO SourceBuffer[1]:timestampOffset(-1778029052.999)

 (NOBRIDGE) INFO SourceBuffer[1]:appendBuffer(196572)

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[0]:abort

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO set finalOffset to offset

 (NOBRIDGE) INFO SourceBuffer[0]:timestampOffset(-1778029053.0123334)

 (NOBRIDGE) INFO SourceBuffer[0]:appendBuffer(48878)

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 5

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO MediaSource[1]:rebuildActiveSourceBuffersList

 (NOBRIDGE) INFO MediaSource[1]:clearing list

 (NOBRIDGE) INFO SourceBufferListImpl: clear

 (NOBRIDGE) INFO MediaSource[1]:finding source buffer for 0

 (NOBRIDGE) INFO SourceBufferListImpl: addSourceBuffer id 0

 (NOBRIDGE) INFO MediaSource[1]:finding source buffer for 1

 (NOBRIDGE) INFO SourceBufferListImpl: addSourceBuffer id 1

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO MediaPlayer:removeEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaEventEmitterImpl:removeEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaPlayer:addEventListener: seeking

 (NOBRIDGE) INFO MediaEventEmitterImpl:addEventListener: seeking

 (NOBRIDGE) INFO MediaPlayer:removeEventListener: loadedmetadata

 (NOBRIDGE) INFO MediaEventEmitterImpl:removeEventListener: loadedmetadata

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 0

 (NOBRIDGE) LOG sample:shaka: in the response filter MANIFEST

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[0]:abort

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO set finalOffset to offset

 (NOBRIDGE) INFO SourceBuffer[0]:timestampOffset(-1778029053.0123334)

 (NOBRIDGE) INFO SourceBuffer[0]:appendBuffer(48819)

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[0]:abort

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowStart(0)

 (NOBRIDGE) INFO SourceBuffer[0]:appendWindowEnd(Infinity)

 (NOBRIDGE) INFO set finalOffset to offset

 (NOBRIDGE) INFO SourceBuffer[0]:timestampOffset(-1778029053.0123334)

 (NOBRIDGE) INFO SourceBuffer[0]:appendBuffer(48614)

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[0]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) INFO SourceBuffer[1]:appendBuffer(921)

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) INFO Custom TextDecoder in lib

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[1]:appendBuffer(1205964)

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) LOG sample:shaka: in the request filter type = 1

 (NOBRIDGE) LOG sample:shaka: in the request filter END

 (NOBRIDGE) LOG sample:shaka: in the response filter type = 1

 (NOBRIDGE) INFO SourceBuffer[1]:appendBuffer(1296032)

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

 (NOBRIDGE) INFO SourceBuffer[1]:handleEvent: with event: 2

```

## 6. Environment

_Please fill out the fields related to your bug below:_

- 
  - **SDK Version:** Active SDK Version: 0.22.6006  
Vega CLI Version:

  - **App State:** `Foreground`

- **OS Information:** 1.2.18

## 7. Example Code Snippet / Screenshots / Screengrabs

_Include any relevant code or component setup in React Native that can help reproduce the bug._

```auto
import React, {
  useCallback, useMemo, useRef, useState, useEffect,
} from 'react';
import {
  Platform,
  View,
} from 'react-native';
import {
  VideoPlayer,
  KeplerVideoSurfaceView,
} from '@amazon-devices/react-native-w3cmedia';

import { ShakaPlayer, ShakaPlayerSettings } from 'src/helpers/shaka/shakaplayer/ShakaPlayer';

import getStyles from './DRPScreen.styles';
import { useAppStore } from 'src/store/store';
import { userSelector } from 'src/store/selectors/userSelectors';

// set to false if app wants to call play API on video manually
const AUTOPLAY = true;

const DEFAULT_ABR_WIDTH: number = Platform.isTV ? 3840 : 1919;
const DEFAULT_ABR_HEIGHT: number = Platform.isTV ? 2160 : 1079;

/**
 * DRP Player
 */
export function DRPScreen() {
  const styles = useMemo(() => getStyles(), []);
  const currShakaPlayerSettings = useRef<ShakaPlayerSettings>({
    secure: false, // SW_SECURE_CRYPTO - cambiar a true después para HW_SECURE
    abrEnabled: true, // Enables Adaptive Bit-Rate (ABR) switching
    abrMaxWidth: DEFAULT_ABR_WIDTH, // Maximum width allowed for ABR
    abrMaxHeight: DEFAULT_ABR_HEIGHT, // Maximum height allowed for ABR
  });

  const player = useRef<ShakaPlayer | null>(null);
  const videoPlayer = useRef<VideoPlayer | null>(null);
  const [playerSettings] = useState<ShakaPlayerSettings>(
    currShakaPlayerSettings.current,
  );
  const [nextContent, setNextContent] = useState({ index: 1 }); // { index: number } - Start with DRM content
  const nextContentRef = useRef<number>(1);
  const surfaceHandleRef = useRef<string | null>(null);
  const { tokens } = useAppStore(userSelector);

  const content = useMemo(() => [
    // Test content without DRM (for debugging)
    {
      secure: 'false',
      uri: 'https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd',
      drm_scheme: '',
      drm_license_uri: '',
    },
    // DRM protected content
    {
      secure: 'false',
      uri: 'https://wc-drp.de.vix.tv/out/v1/vix-channels/vix-drp-stream1/dev-drm-sports/master.mpd',drm_scheme: 'com.widevine.alpha',      
drm_license_uri: 'https://drm.streaming.de.vix.tv/license',
      ...(tokens?.accessToken && { drm_license_header: [['Authorization', `Bearer ${tokens?.accessToken}`]] }),
    },
  ], [tokens?.accessToken]);

  const onError = useCallback((e) => {
    console.log('🚀 ~ error:', e);
  }, []);

  const onVideoUnMounted = (): void => {
    global.gmedia = null;
    videoPlayer.current = null;
  };

  const onEnded = useCallback(async () => {
    player.current?.unload();
    player.current = null;
    try {
      await videoPlayer.current?.deinitialize();
      videoPlayer.current?.removeEventListener('ended', onEnded);
      videoPlayer.current?.removeEventListener('error', onError);
      onVideoUnMounted();
      setNextContent({ index: (nextContent.index + 1) % content.length });
    } catch (e) {
      console.log('🚀 ~ error in onEnded:', e);
    }
  }, [content.length, nextContent.index, onError]);

  const setUpEventListeners = useCallback((): void => {
    videoPlayer.current?.addEventListener('ended', onEnded);
    videoPlayer.current?.addEventListener('error', onError);
  }, [onEnded, onError]);

  const initializeShaka = useCallback(() => {
    try {
      if (videoPlayer.current !== null) {
        player.current = new ShakaPlayer(videoPlayer.current, playerSettings);
      }
      if (player.current !== null) {
        const selectedContent = content[nextContent.index];
        void player.current.load(selectedContent, AUTOPLAY);
      }
    } catch (e) {
      console.error('🚀 ~ Error in initializeShaka:', e);
      onError(e);
    }
  }, [playerSettings, nextContent.index, content, onError]);

  const initializeVideoPlayer = useCallback(async () => {
    videoPlayer.current = new VideoPlayer();
    global.gmedia = videoPlayer.current;
    try {
      await videoPlayer.current.initialize();
      setUpEventListeners();
      videoPlayer.current.autoplay = false;
      initializeShaka();
    } catch (e) {
      console.log('🚀 ~ error in initializeVideoPlayer:', e);
    }
  }, [initializeShaka, setUpEventListeners]);

  useEffect(() => {
    if (nextContent.index !== nextContentRef.current) {
      nextContentRef.current = nextContent.index;
      void initializeVideoPlayer();
      setNextContent((prev) => ({ ...prev }));
    }
  }, [initializeVideoPlayer, nextContent]);

  const onSurfaceViewDestroyed = useCallback((surfaceHandle: string): void => {
    videoPlayer.current?.clearSurfaceHandle(surfaceHandle);
    void onEnded();
  }, [onEnded]);

  useEffect(() => {
    void initializeVideoPlayer();
    return () => {
      void onSurfaceViewDestroyed('surfaceHandle');
    };
  }, [initializeVideoPlayer, onSurfaceViewDestroyed]);

  const onSurfaceViewCreated = useCallback((surfaceHandle: string): void => {
    surfaceHandleRef.current = surfaceHandle;
    videoPlayer.current?.setSurfaceHandle(surfaceHandle);

    setTimeout(() => {
      console.log('🚀 ~ Attempting playback');
      if (videoPlayer.current) {
        videoPlayer.current.play()
          .then(() => console.log('🚀 ~ Playback started'))
          .catch((e) => console.log('🚀 ~ Playback failed:', e));
      }
    }, 5000);
  }, []);

  return nextContent.index === nextContentRef.current ? (
    <View style={styles.videoContainer}>
      <KeplerVideoSurfaceView
        style={styles.surfaceView}
        onSurfaceViewCreated={onSurfaceViewCreated}
        onSurfaceViewDestroyed={onSurfaceViewDestroyed}
      />
    </View>
  ) : (
    <View style={styles.videoContainer} />
  );
}

```

* * *

## 👉 Playback Issues

* * *

_If this is a playback issue, please provide your content URL, any pre-conditions (like geo-location), and let us know if it’s x86 or arm7._

```auto
the url is:
uri: 'https://wc-drp.de.vix.tv/out/v1/vix-channels/vix-drp-stream1/dev-drm-sports/master.mpd',
drm_license_uri: 'https://drm.streaming.de.vix.tv/license',

```

Please share the following details in addition:\_

- **Player SDK:** @amzn/shaka-player
- **Player SDK Version:** 4.8.5
  - **Audio Codecs:** `default`
  - **Video Codecs:** `default`
  - **Manifest Types:** `dash`

**Q: If applicable, please provide your media/content url**  
_If this is created dynamically, tokenized, etc please provide a way for us to access it_

```auto
[N/A or Content / Media Url for testing]

```

**Q: Are there any special headers required to reproduce the issue you are facing?**

```auto
[N/A or Insert Headers]

```

**Additionally please provide the following if possible**  
_Provide Screenshots / Screengrabs / Logs. Please include as much information as you can that will help debug._

```auto
<!-- Answer here if applicable --> 

```

* * *

## 👉 Additional Context

* * *

**Any Additional Context you would like to provide?**  
_Add any other relevant information, such as recent updates to the SDK, dependencies, or device OS that may affect the bug._

```auto
<!-- Answer here if applicable --> 

```

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [May 6, 2026, 9:23am UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/4 "2026-05-06T09:23:50Z")

</div>

Hello @Mariela_Hernandez

Thank you for the detailed report. Based on the logs, we can see the DRM flow is partially working - the Widevine MediaKeysSystemAccess is created, MediaKeys are constructed, and a MediaKeySession is created. However, there’s a critical warning:  
`WARN EncryptedMediaImpl: generateRequest Native obj is not present`

This indicates that the native CDM (Content Decryption Module) session object is not available when Shaka Player tries to call generateRequest() to initiate the license exchange. The license request to [https://drm.streaming.de.vix.tv/license](https://drm.streaming.de.vix.tv/license) does fire (we see request filter type = 2 for LICENSE), but the decryption keys are likely never applied to the media pipeline because the native session wasn’t properly initialized.

**Root cause:** You’re setting secure: false in your ShakaPlayerSettings, which maps to SW\_SECURE\_CRYPTO (Widevine L3). The logs confirm this:  
`shakaplayer: loading with com.widevine.alpha and ... and SW_SECURE_CRYPTO`

However, the decodingInfo calls are rejecting with TypeError: default reject - this is the same issue pattern we’ve seen with the W3C media package where the navigator.mediaCapabilities.decodingInfo() polyfill fails for certain DRM configurations.

**Recommended steps:**

1. Try setting `secure: true` (HWSECUREALL / Widevine L1) - the device supports L1 hardware-backed decryption as shown in the capability queries (“hardwareBacked”: true, “decryptionSupported”: true). SWSECURECRYPTO may not be fully supported for playback on this device:

```auto
currShakaPlayerSettings.current = {                                        
       secure: true, // Use HW_SECURE_ALL (L1)                                 
       abrEnabled: true,                                                        
       abrMaxWidth: DEFAULT_ABR_WIDTH,                                          
       abrMaxHeight: DEFAULT_ABR_HEIGHT,                                        
     };

```

1. Handle the `decodingInfo` promise rejections - Shaka Player is calling navigator.mediaCapabilities.decodingInfo() and getting unhandled rejections. Add error handling in your Shaka configuration to catch these:

```auto
player.configure({                                                         
       drm: {                                                                   
         servers: {                                                             
           'com.widevine.alpha': drmLicenseUri,                                 
         },                                                                     
         advanced: {                                                            
           'com.widevine.alpha': {                                              
             videoRobustness: 'HW_SECURE_ALL',                                  
             audioRobustness: 'HW_SECURE_CRYPTO',                               
           },                                                                   
         },                                                                     
       },                                                                       
     });

```

1. Ensure the `generateRequest` timing - The warning generateRequest Native obj is not present suggests a race condition where the JS layer calls generateRequest before the native CDM session is fully initialized. Try adding the [[wants.privilege]] for DRM in your manifest.toml if not already present:

```auto
[[wants.service]]                                                          
     id = "com.amazon.media.server"                                             
     [[wants.service]]                                                          
     id = "com.amazon.media.playersession.service"                              
     [[wants.service]]                                                          
     id = "com.amazon.mediatransform.service"                                   
     [[wants.service]]                                                          
     id = "com.amazon.mediabuffer.service"

```

1. Verify your Shaka Player version compatibility - You’re using @amzn/shaka-player v4.8.5. Please confirm this is the Amazon-ported version. The upstream version may not have the Vega EME polyfill integration.
2. Test with the Vega DRM sample - Please refer to the [Media Player Playing DRM Content](https://developer.amazon.com/docs/vega/0.22/media-player-device.html) documentation for the reference implementation and verify your configuration matches.

Could you also confirm:

- Is this on a physical Fire TV Stick 4K Select or VVD?
- Does the license server return a successful response? (Check if the response filter for type=2 shows any error)
- What is the full content of your manifest.toml [wants] section?

We are also checking, this may be a timing issue in the W3C media EME implementation.

Warm Regards,  
Ivy

---

<div class="post-metadata">

**Author:** ![Mariela\_Hernandez](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mariela\_Hernandez](https://community.amazondeveloper.com/u/Mariela_Hernandez)\
**Post date:** [May 6, 2026, 11:51pm UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/5 "2026-05-06T23:51:09Z")

</div>

I tried all points in the list, and we have the same result.

- The SDK version that we have installed of shaka-player library is 4.8.5.
- The implementation inside our project was based in the Vega DRM sample from your official documentation.
- We are testing in a physical Fire TV Stick 4K Select
- The license server does not return any error.
- This is the content in the manifest wants section:

```auto
[[wants.service]]
id = “com.amazon.inputmethod.service”

[[wants.service]]
id = “com.amazon.media.service”

[[wants.service]]
id = “com.amazon.inputd.service”

[[wants.service]]
id = “com.amazon.alexa.datastore.service”

[[wants.service]]
id = “com.amazon.drm.key” # Required for DRM video playback

[[wants.service]]
id = “com.amazon.drm.crypto” # Required for DRM video playback

[[wants.service]]
id = “com.amazon.media.server”

[[wants.service]]
id = “com.amazon.mediametrics.service”

[[wants.service]]
id = “com.amazon.media.playersession.service”

[[wants.service]]
id = “com.amazon.tv.developer.dataservice”

[[wants.service]]
id = “com.amazon.mediabuffer.service”

[[wants.service]]
id = “com.amazon.mediatransform.service”

[[wants.service]]
id = “com.amazon.gipc.uuid.*”

[[wants.service]]
id = “com.amazon.iap.core.service”

#Required for using the audio stream
[[wants.service]]
id = "com.amazon.audio.stream"

#Required for using Volume and Other controls
[[wants.service]]
id = "com.amazon.audio.control"

#Required for using Volume and Other controls
[[wants.service]]
id = "com.amazon.audio.system"

#Required to get network information
[[wants.service]]
id = "com.amazon.network.service"

```

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [May 12, 2026, 9:00am UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/7 "2026-05-12T09:00:52Z")

</div>

Understood @Mariela_Hernandez

This is likely due to mismatch of license secure path requirement and player not requesting SVP for video.  
There are suggested steps to configure player properly here [Shaka player playback is not working with DRM stream](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283)

Can you please give this a try and let me know?

Warm Regards,  
Ivy

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [May 18, 2026, 3:50pm UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/8 "2026-05-18T15:50:34Z")

</div>

Hey @Mariela_Hernandez

We have checked the logs, the DRM flow partially works:  
-\>MediaKeysSystemAccess is created successfully  
-\>MediaKeys are constructed  
-\>License server ([https://drm.streaming.de.vix.tv/license](https://drm.streaming.de.vix.tv/license)) returns a successful response  
But it fails at decodingInfo polyfill rejecting with “TypeError: default reject” (multiple unhandled promise rejections) generateRequest Native obj is not present - native CDM session not initialized when license request is triggered

We need your DASH manifest URL (.mpd) to reproduce - it’s not in the logs  
Once we have it, we’ll verify playback in Shaka Player web demo (browser) to rule out server-side issues.

Warn Regards,  
Ivy

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [June 4, 2026, 12:48pm UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/9 "2026-06-04T12:48:23Z")

</div>

Closing due to inactivity.

---

<div class="post-metadata">

**Author:** ![Ivy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/ivy/32/5637_2.png) [@Ivy](https://community.amazondeveloper.com/u/Ivy)\
**Post date:** [June 4, 2026, 12:48pm UTC](https://community.amazondeveloper.com/t/shaka-player-playback-is-not-working-with-drm-stream/28283/10 "2026-06-04T12:48:38Z")

</div>


