shaka-player icon indicating copy to clipboard operation
shaka-player copied to clipboard

Shaka letting native player to do work even if preferNativeHls is set to false

Open tra83 opened this issue 11 months ago • 14 comments

Have you read the Tutorials? Yes

Have you read the FAQ and checked for duplicate open issues? Yes

If the question is related to FairPlay, have you read the tutorial?

Not related

What version of Shaka Player are you using? 4.7.13

What browser and OS are you using? WebOS 24

Please ask your question How come Shaka is not responsible for things like downloading segments on WebOS 24 platform even if preferNativeHls flag is set to false? I don't see any segments being fetched when looking at network tab of Chrome dev tools. Only if I play DRM protected content using Shaka segments are being loaded by Shaka.

tra83 avatar May 09 '25 08:05 tra83

@tra83 can you give URL for the content that caues the issue for you?

tykus160 avatar May 13 '25 08:05 tykus160

@tra83 can you give URL for the content that caues the issue for you?

@tykus160 Unfortunately no as all our streams require authentication but I would guess any non-DRM HLS or DASH content would behave same letting native player of WebOS to take care of loading and playing segments.

tra83 avatar May 13 '25 09:05 tra83

Do you have the same issue with our Demo contents? DO you have the same issue with our latest release or the main branch?

avelad avatar May 14 '25 08:05 avelad

I just tested demo content https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/hls.m3u8 with both Shaka 4.7.13 and latest 4.14.12 and in both cases on WebOS 24 it is native player which loads segments and not Shaka.

tra83 avatar May 14 '25 08:05 tra83

@tra83 do you reproduce the same issue in other WebOS versions?

avelad avatar May 20 '25 09:05 avelad

@avelad haven't tested on other versions.

tra83 avatar May 23 '25 09:05 tra83

Do you know what is the latest WebOS version Shaka works correctly when prefereNativeHls is set to false?

tra83 avatar May 27 '25 09:05 tra83

@tykus160 ?

avelad avatar Jun 02 '25 08:06 avelad

Cannot reproduce it on any of my devices unfortunately.

tykus160 avatar Jun 02 '25 09:06 tykus160

@tykus160 when you say you cannot reproduce, does it mean that on your WebOS devices Shaka is responsible for playing HLS and you are able to see segments being fetched by Shaka (and not platform's native player) ?

tra83 avatar Jun 06 '25 08:06 tra83

@tra83 I don't have webOS device now unforunately. I've tried to replicate it on Tizen but without a success. Can you give it another try on 4.15?

tykus160 avatar Jun 06 '25 11:06 tykus160

@tykus160 even latest Shaka 4.15.1 is letting native player to handle task. This is what's being printed to console when using debug build:

Using native ARIAMixin interface. MediaSource.install Device: WebOS v24; Type: TV Using native MSE as-is. <---------- !!! Using native screen.orientation randomUUID.install RandomUUID: Native window.crypto.randomUUID() support found. Symbol.install VideoPlayPromise.install Using native VTTCue. MediaCapabilities: install

tra83 avatar Jun 06 '25 11:06 tra83

I don't see any problem in the logs...

avelad avatar Jun 09 '25 09:06 avelad

@avelad problem is that it is not Shaka player which handles playback but native player of WebOS. I think this row from the logs indicates it pretty clear: Using native MSE as-is.

Shouldn't Shaka handle everything when preferNativeHls is set to false?

tra83 avatar Jun 10 '25 05:06 tra83

Using native MSE as-is. is the log from our polyfill. This does not indicate that the playback is using one thing or the other.

To see what it is actually using I recommend you use the getLoadMode function

Can you fill out the following table for us?

preferNativeHls getLoadMode
true ?
value ?

avelad avatar Jun 26 '25 07:06 avelad

Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.

shaka-bot avatar Jul 03 '25 08:07 shaka-bot