You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to identify the filename of the .ts that is displaying at realtime the player, for check with the stored in the hls manifest. I've tried by using some method as follows, but this is just the ts read from the hls manifest onTimeLineChanged:
@Override
public void onTimelineChanged(Timeline timeline, int reason) {
....
printSegmentChunks(((HlsManifest) manifest).mediaPlaylist.segments);
....
private void printSegmentChunks(List<HlsMediaPlaylist.Segment> segments) {
for (HlsMediaPlaylist.Segment segment : segments) {
Log.i(TAG, "chunk " segment.url);
}
}
So what I need exactly is to obtain the current displayed HlsMediaPlaylist.Segment object in realtime
Please could you assist to me ? Thanks in advance
The text was updated successfully, but these errors were encountered:
I need to identify the filename of the .ts that is displaying at realtime the player, for check with the stored in the hls manifest. I've tried by using some method as follows, but this is just the ts read from the hls manifest onTimeLineChanged:
So what I need exactly is to obtain the current displayed
HlsMediaPlaylist.Segment
object in realtimePlease could you assist to me ? Thanks in advance
The text was updated successfully, but these errors were encountered: