shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Error using widevine + shaka player for release version #180

Closed franciscocarodiaz closed 3 years ago

franciscocarodiaz commented 3 years ago

I can't reproduce any content in release version. I have created the shaka player framework version with this command: ../configure --ios --cpu arm64 --release ../build.py

This is the error that I checked in logs:

Got Shaka Player Error: Unable to find object. XXX[861:184036] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C4.1:2][0x1086ec630] get output frames failed, state 8196 XXX[861:184036] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C4.1:2][0x1086ec630] get output frames failed, state 8196 XXX[861:184036] TIC Read Status [4:0x0]: 1:57 XXX[861:184036] TIC Read Status [4:0x0]: 1:57 XXX[861:184036] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x109723dc0] get output frames failed, state 8196 XXX[861:184036] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x109723dc0] get output frames failed, state 8196 XXX[861:184036] TIC Read Status [5:0x0]: 1:57 XXX[861:184036] TIC Read Status [5:0x0]: 1:57 XXX[861:184037] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x102847c20] get output frames failed, state 8196 XXX[861:184037] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x102847c20] get output frames failed, state 8196 XXX[861:184037] TIC Read Status [6:0x0]: 1:57 XXX[861:184037] TIC Read Status [6:0x0]: 1:57 Error loading manifest: Shaka Error, Category: 6, Code: 6001

When I tried to reproduce a content without DRM I received the same error and the content is displayed.

Any idea?

TheModMaker commented 3 years ago

6001 is REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE, meaning the key system isn't available. Your build doesn't include Widevine since you didn't pass --eme-impl. To include Widevine, you need to pass --eme-impl with the path to the CDM to use.