public static interface HlsPlaylistTracker.PlaylistEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onPlaylistChanged()
Called a playlist changes.
|
boolean |
onPlaylistError(HlsMasterPlaylist.HlsUrl url,
long blacklistDurationMs)
Called if an error is encountered while loading a playlist.
|
void onPlaylistChanged()
boolean onPlaylistError(HlsMasterPlaylist.HlsUrl url, long blacklistDurationMs)
url - The loaded url that caused the error.blacklistDurationMs - The duration for which the playlist should be blacklisted. Or
C.TIME_UNSET if the playlist should not be blacklisted.