Home
[RDK Central Wiki]
CMF
[Code Releases]
Hi,
When testing DASH video playback with Lightning App running on Webkit browser, black screen is observed for some seconds when video player is switching from a lower bit rate stream to a higher bit rate stream.
Is there any config to prevent the black screen?
Thanks.
Branch: rdkv-20200207
Device: Raspberry Pi
Build config: meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-thunder.conf
11 Comments
Ganesh Sahu
Hi Percy,
Can you please provide more detail about the Lightning application & how you're launching it.
Is it using video tags to play the stream & is this issue consistently observed?
Thanks
Ganesh
Z-Percy Tse
Hi Ganesh,
The Lightning App is launched by providing video url to WebKitBrowser in controller UI, similar to this guide:
https://wiki.rdkcentral.com/display/RDK/RDK-V+Thunder+Framework+User+Guide+-+Beta+Version
The Lightning App uses video tag to play the stream, and it is similar to following:
And here is the video manifest:
This issue is observed consistently, a few seconds of black screen is observed every time when switching stream.
Regards,
Percy
Deepthi Suseelan
Lightning SDK has media player plugin to play videos. The code snippet you mentioned doesn't seem to be using that.
Please refer to : https://webplatformforembedded.github.io/Lightning-SDK/#/plugins/mediaplayer for more details.
Z-Percy Tse
Hi Deepthi Suseelan,
The code snippet was showing the html built by Lightning SDK.
We are already using Media Player from Lightning SDK
The following code shows how we configure and open a video URL, which is the same as the page you mentioned
Regards,
Percy
Deepthi Suseelan
Hi Z-Percy Tse
Checked with the Dev team and they use dash.js to play DASH content instead of video tag. Recommend you to try dash.js for this scenario.
Z-Percy Tse
Hi Deepthi Suseelan
Thanks for the information and I will try dash.js
Z-Percy Tse
Hi Deepthi Suseelan
I used dash.js to play DASH on Raspberry Pi.
1-2 seconds of black screen is still observed when switching stream with different bitrate.
DASH Stream tested:
http://www.bok.net/dash/tears_of_steel/cleartext/stream.mpd
Deepthi Suseelan
Z-Percy Tse
We tried to recreate the scenario in RPi and we did notice an intermittent black screen issue with dash js. (video attached) - Is this the same issue which you are seeing?
Z-Percy Tse
Hi Deepthi Suseelan
Yes, it is the same issue.
Thanks.
Deepthi Suseelan
Z-Percy Tse
We checked on multiple platforms and saw that issue is specific to Rapsberry-pi. It doesnt appear on other platforms. It will require more debugging to analyse root cause of the issue in RPi, meanwhile if you have any other platforms, I suggest you to check with that. Please raise a support ticket at https://jira.rdkcentral.com/ if required for the issue analysis in RPi
Z-Percy Tse
Hi Deepthi Suseelan
Thanks for the information.