mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +08:00
Remove some remaining references to manifests.
PiperOrigin-RevId: 257757496
This commit is contained in:
parent
56a922c121
commit
ccc82cdb4a
@ -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)
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user