shaka-project / shaka-player-embedded

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

No debugging output #212

Open andrej-repisky opened 3 years ago

andrej-repisky commented 3 years ago

After updating Shaka player embedded from 2019 version to the latest commit, there is no information coming to the standard output. With older version there was a lot of it:

[Info]: "Starting load of https://devel.uniqcast.com/samples/<example URL>.m3u8..."
[Warn]: "HLS SAMPLE-AES-CENC has been deprecated and will be removed in v2.6 . We are currently at version v2.5 . Additional information: SAMPLE-AES-CENC will no longer be supported, see Issue #1227"
[Log]: "First segment"  "190869-5.m4a"  "starts at" 335265.4600416667
[Log]: "Guessing stream type for"   "#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=1630000,CODECS=\"avc1.4D001E,mp4a.40.2\",RESOLUTION=\"640x360\",AUDIO=\"unk\",URI=\"index-video-vod.single-key.m3u8\""
[Log]: "Guessing video."
[Warn]: "HLS SAMPLE-AES-CENC has been deprecated and will be removed in v2.6 . We are currently at version v2.5 . Additional information: SAMPLE-AES-CENC will no longer be supported, see Issue #1227"
[Log]: "First segment"  "190869-3.m4v"  "starts at" 335265.4658777778
[Log]: "Found variant with audio and video content, so filtering out audio-only content in all periods."
[Info]: "Created MediaKeys object for key system"   "com.widevine.alpha"
[Log]: "codecs" "avc1-mp4a" "avg bandwidth" 1630000
[Log]: "onChooseStreams_"   {startTime:0, textStreams:[...], variants:[...]}
[Log]: "Choosing new streams after period changed"
[Log]: "init: completed initial Stream setup"
[Log]: "Ignoring duplicate init data."
[Log]: "Ignoring duplicate init data."
[Log]: "(audio:1)"  "looking up segment:"   "presentationTime=0"    "currentPeriod.startTime=0"

So with the current player and Widevine CDM there is no way to figure out what's wrong and why many streams are not playing. Is there some new API to enable this information, which I'm missing?

Build and run environment