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
Stuttering Dash DRM livestreaming video on WebOS 3.x #6321
Comments
This is not meant as a solution, but we're having good results on older WebOS devices by disabling stall detection:
|
Definitely try configuration changes that might influence behavior, for example |
Hi @joeyparrish, sorry for the late reply. Yesterday, I tried setting streaming.stallEnabled to false, but the issue still persists. It seems to have no effect at all because I took a look at the logs, and there is no difference. I apologize for not providing clear information about the Shaka logs initially. Here are the attachments. I split them into two files because the app crashed when I enabled the log during the video initialization. shaka-log-init.csv (video initialization) I also tried this configuration and still no luck "drm": {
"logLicenseExchange": true,
"delayLicenseRequestUntilPlayed": true,
"ignoreDuplicateInitData": false
},
"manifest": {
"disableAudio": true,
"disableText": true,
"disableThumbnails": true,
"dash": {
"sequenceMode": true,
},
"streaming": {
// I noticed a difference when this configuration is applied, but it gets worse because now the video gets stuck around 60 seconds (not sure exactly), then starts stuttering again.
"gapJumpTimerTime": 60,
"updateIntervalSeconds": 60,
"stallEnabled": false,
}, |
Next you should try disabling gap jumping entirely. Maybe the seeks are causing a problem. Sometimes on these TV media pipelines, seeking is extremely expensive as it flushes a very long pipe of decoded frames. Between not having access to your content and not having access to WebOS for testing, we (Shaka team at Google) can't do much more for you directly. Hopefully someone in the community with WebOS experience can offer you more advice. |
I'm seeing this on Shaka Player on webOS 4.x. We're actually doing a Shaka POC at the moment and one of the reasons is because we have this exact same issue, but with dash.js. It seems to be a lot worse on Shaka player, but we're yet do try tuning it with settings. Do your live streams have SSAI, or is the manifest being refreshed frequently for any other reason? On dash.js, we found this to only be an issue with SSAI, which results in frequently updated large manifests, growing larger the longer the stream is live. (We allow users to play live or from the start.) |
Hi @steve-taylor, currently, we don't have SSAI. We also don't have any other mechanism to refresh the manifest except by fetching the latest m4s using the built-in feature from Shaka. This issue also occurred even with lower quality (240p), so we still have no clue as to why this happened. However, we haven't asked the webOS community yet, as @joeyparrish suggested, but we will ask them soon. Additional info: |
Can someone test if this is still happening in the main branch? Thanks! |
I encountered this error, and I don't understand what is not supported because when I using v4.17.10 it worked fine. Here is the data I received when I visited https://shaka-player-demo.appspot.com/support.html. Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 WebAppManager
|
Can someone test if this is still happening in the main branch? Thanks! (we just fixed a bug that caused the main branch not to work on WebOS) |
Hi @avelad, thank you for continuing to look into this issue. I have tested the main branch with version v4.7.11-main-65-ga6d27a915, but the problem is that it cannot play the video, it only requests the MPD and does not request the segment. After that, I checked with the debug version to identify the problem. However, with the debug version, the video can play, but it still stutters. By the way, we have investigated the issue further by experimenting with another player (videojs), but it still stutters. we also found that the stuttering disappears when we remove the DRM on the video with the same content and specification (codec). So, based on our latest investigation, we believe the problem lies with the content rather than the player because of device capability. For now, I will close the issue and reopen it if we find that the problem is indeed with the player. Thank you! |
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using?
v4.7.11 and v4.3.0
Can you reproduce the issue with our latest release version?
yes in v4.7.11
Can you reproduce the issue with the latest code from
main
?not sure
Are you using the demo app or your own custom app?
custom app
If custom app, can you reproduce the issue using our demo app?
not sure
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
LG 2017
webOS TV Version 3.9.2-62912 (dreadlocks2-dudhwa)
Model: 49UJ652T-TB
What are the manifest and license server URIs?
Firstly, we want to debug by ourselves. Maybe the Shaka team can share or give advice which parts of the Shaka codes we can check that are related to this issue because I can't share the manifest and license server URIs.
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do?
just playing the video
Dash manifest, DRM
Video codecs: avc1.64081f
Audio codecs: mp4a.40.2
Segment format: m4s
Live
What did you expect to happen?
smooth playing
What actually happened?
only smooth playing for the first one second after buffering, after that it always stuttering.
stuttering-lg-2017.mp4
The text was updated successfully, but these errors were encountered: