-
Notifications
You must be signed in to change notification settings - Fork 1
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
getUnixTimeMs(): Returns Only Default Value #876
Comments
This feature works only with stream that have timestamps in it's stream. So if you never have something beside C.TIME_UNSET, this mean probably your stream doesn't have them. Can you tell us which stream you are testing it? |
I am testing with
We are setting the media items like this: player.setMediaItems(
media.resources.map {
SRGMediaItem(it.urn.toString()) {
host(environment.toIlHost())
}
},
) |
Sorry for the reponse time. As expected, this audio live stream doesn't have timestamp defined in its stream. It should be improve in the future with LSVA by Swisstxt. Current state is that all radio live stream doesn't have timestamp :( Pro tips: You can also add meta data to the SRGMediaItem("urn"){
mediaMetadata {
setTitle("My title")
setArtworkUri(....)
}
} |
Thank you for the clarification. Do you know to whom I can talk at SwissTxt to get this improvement going? |
@marco-studer-srf The new audio livestream delivery system (LSA) should fix this issue but we were informed development was paused by SwissTXT for a while. We have several topics to discuss with SwissTXT about audio livestreams. We can handle the communication for you. |
Thanks a lot :) Please keep me posted about the results. |
Can your answer be found elsewhere?
I have searched existing issues and found no similar question.
I have browsed the available documentation and found no answer to my question.
Detailed question
Pillarbox 4.0.0 ships the method mentioned in the title. Is it correct, that this would allow us to get the exact time of a live stream based on its position?
When I call
getUnixTimeMs()
, I always get the default value C.TIME_UNSET, implying that either the timeline is empty or the window start time is unset.How do I correctly set the timeline or the window start time?
The text was updated successfully, but these errors were encountered: