zy856n
Visitor

Exact splash time

Folks can you give advice on how to get exact splash screen time?

Thanks in advance.
Tags (1)
0 Kudos
8 REPLIES 8
EnTerr
Roku Guru

Re: Exact splash time

I know how to set the splash time #ManifestFile-SplashScreenAttributes
The need to get the splash time eludes me, however
Tags (1)
0 Kudos
zy856n
Visitor

Re: Exact splash time

"EnTerr" wrote:
I know how to set the splash time #ManifestFile-SplashScreenAttributes
The need to get the splash time eludes me, however

And me too. splash_max_time.[/font][/color]
Tags (1)
0 Kudos
RokuMarkn
Visitor

Re: Exact splash time

The splash screen is displayed while the channel is loading.  When the channel finishes loading, if the time for which the splash screen has been displayed is less than splash_min_time, the player leaves the splash screen up until a total of splash_min_time has elapsed from the time the splash was first displayed.  On the other hand, if the splash has already been displayed for longer than splash_min_time, it is taken down as soon as the channel finishes loading.  So there's no use for a splash_max_time parameter.  splash_min_time will be exact unless it is shorter than the channel load time, in which case there's nothing that could be done to shorten it.

--Mark
Tags (1)
0 Kudos
zy856n
Visitor

Re: Exact splash time

"RokuMarkn" wrote:
The splash screen is displayed while the channel is loading.  When the channel finishes loading, if the time for which the splash screen has been displayed is less than splash_min_time, the player leaves the splash screen up until a total of splash_min_time has elapsed from the time the splash was first displayed.  On the other hand, if the splash has already been displayed for longer than splash_min_time, it is taken down as soon as the channel finishes loading.  So there's no use for a splash_max_time parameter.  splash_min_time will be exact unless it is shorter than the channel load time, in which case there's nothing that could be done to shorten it.

--Mark

I apologize if I mislead on querying justification of missing splash_max_time, so 
if ConditionA
    ExactTime = splash_min_time
then
    ExactTime = LoadTime
end if

Where is ConditionA where is LoadTime? 
-- Regards
Tags (1)
0 Kudos
belltown
Roku Guru

Re: Exact splash time

"RokuMarkn" wrote:
The splash screen is displayed while the channel is loading.  When the channel finishes loading, if the time for which the splash screen has been displayed is less than splash_min_time, the player leaves the splash screen up until a total of splash_min_time has elapsed from the time the splash was first displayed.  On the other hand, if the splash has already been displayed for longer than splash_min_time, it is taken down as soon as the channel finishes loading.  So there's no use for a splash_max_time parameter.  splash_min_time will be exact unless it is shorter than the channel load time, in which case there's nothing that could be done to shorten it.

--Mark

And for an SD TV, the splash screen is only displayed briefly (regardless of splash_min_time), after which a black screen is displayed for the duration of splash_min_time. For example, if splash_min_time=5000, you'll see the splash screen for only about a second or so, followed by a completely black screen for about 5 seconds. Is this ever going to be fixed???
Tags (1)
0 Kudos
RokuMarkn
Visitor

Re: Exact splash time

@zy856n
The logic is this

ExactTime = max(LoadTime, splash_min_time)

LoadTime is however long it takes to load the channel.  This is not predictable, since it can be longer than normal if the channel is not resident on the device and needs to be downloaded from the network.  In that case it is dependent on the quality of your network connection.

--Mark
Tags (1)
0 Kudos
zy856n
Visitor

Re: Exact splash time

"RokuMarkn" wrote:

ExactTime = max(LoadTime, splash_min_time)


Good thinking. Thanks!
What is your API for LoadTime.
Tags (1)
0 Kudos
Komag
Roku Guru

Re: Exact splash time

Did you just ask that?
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!