Closed fstanis closed 1 year ago
The javadoc for [getDuration()](https://developer.android.com/reference/androidx/media3/common/Player#getDuration()) in media3 Player says:
getDuration()
Player
Returns the duration of the current content or ad in milliseconds, or TIME_UNSET if the duration is not known.
TIME_UNSET
In my understanding, negative values other than TIME_UNSET aren't valid (although we had to guard against them in e.g. google/horologist#728).
The javadoc for [
getDuration()
](https://developer.android.com/reference/androidx/media3/common/Player#getDuration()) in media3Player
says:In my understanding, negative values other than
TIME_UNSET
aren't valid (although we had to guard against them in e.g. google/horologist#728).