CurrentTimeDisplay

fun CurrentTimeDisplay(modifier: Modifier = Modifier, showRemaining: Boolean = false, showDuration: Boolean = false)

A text display that shows the player's current time.

Parameters

modifier

the Modifier to be applied to this text

showRemaining

if set, shows the remaining time of the stream as a negative value (e.g. "-01:23")

showDuration

if set, also shows the duration of the stream (e.g. "01:23 / 10:00")