Remove some remaining references to manifests.

PiperOrigin-RevId: 257757496
This commit is contained in:
tonihei 2019-07-12 08:54:41 +01:00 committed by Oliver Woodman
parent 56a922c121
commit ccc82cdb4a
3 changed files with 7 additions and 7 deletions

View File

@ -563,8 +563,8 @@ public interface Player {
int DISCONTINUITY_REASON_INTERNAL = 4;
/**
* Reasons for timeline and/or manifest changes. One of {@link #TIMELINE_CHANGE_REASON_PREPARED},
* {@link #TIMELINE_CHANGE_REASON_RESET} or {@link #TIMELINE_CHANGE_REASON_DYNAMIC}.
* Reasons for timeline changes. One of {@link #TIMELINE_CHANGE_REASON_PREPARED}, {@link
* #TIMELINE_CHANGE_REASON_RESET} or {@link #TIMELINE_CHANGE_REASON_DYNAMIC}.
*/
@Documented
@Retention(RetentionPolicy.SOURCE)

View File

@ -239,12 +239,12 @@ public interface MediaSource {
}
/**
* Starts source preparation if not yet started, and adds a listener for timeline and/or manifest
* updates.
* Starts source preparation.
*
* <p>Should not be called directly from application code.
*
* <p>The listener will be also be notified if the source already has a timeline and/or manifest.
* <p>{@link SourceInfoRefreshListener#onSourceInfoRefreshed(MediaSource, Timeline)} will be
* called once the source has a {@link Timeline}.
*
* <p>For each call to this method, a call to {@link #releaseSource(SourceInfoRefreshListener)} is
* needed to remove the listener and to release the source if no longer required.

View File

@ -366,8 +366,8 @@ public final class DashMediaSource extends BaseMediaSource {
/**
* The interval in milliseconds between invocations of {@link
* SourceInfoRefreshListener#onSourceInfoRefreshed(MediaSource, Timeline, Object)} when the
* source's {@link Timeline} is changing dynamically (for example, for incomplete live streams).
* SourceInfoRefreshListener#onSourceInfoRefreshed(MediaSource, Timeline)} when the source's
* {@link Timeline} is changing dynamically (for example, for incomplete live streams).
*/
private static final int NOTIFY_MANIFEST_INTERVAL_MS = 5000;
/**