mirror of
https://github.com/androidx/media.git
synced 2025-05-14 11:09:53 +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;
|
int DISCONTINUITY_REASON_INTERNAL = 4;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reasons for timeline and/or manifest changes. One of {@link #TIMELINE_CHANGE_REASON_PREPARED},
|
* Reasons for timeline changes. One of {@link #TIMELINE_CHANGE_REASON_PREPARED}, {@link
|
||||||
* {@link #TIMELINE_CHANGE_REASON_RESET} or {@link #TIMELINE_CHANGE_REASON_DYNAMIC}.
|
* #TIMELINE_CHANGE_REASON_RESET} or {@link #TIMELINE_CHANGE_REASON_DYNAMIC}.
|
||||||
*/
|
*/
|
||||||
@Documented
|
@Documented
|
||||||
@Retention(RetentionPolicy.SOURCE)
|
@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
|
* Starts source preparation.
|
||||||
* updates.
|
|
||||||
*
|
*
|
||||||
* <p>Should not be called directly from application code.
|
* <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
|
* <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.
|
* 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
|
* The interval in milliseconds between invocations of {@link
|
||||||
* SourceInfoRefreshListener#onSourceInfoRefreshed(MediaSource, Timeline, Object)} when the
|
* SourceInfoRefreshListener#onSourceInfoRefreshed(MediaSource, Timeline)} when the source's
|
||||||
* source's {@link Timeline} is changing dynamically (for example, for incomplete live streams).
|
* {@link Timeline} is changing dynamically (for example, for incomplete live streams).
|
||||||
*/
|
*/
|
||||||
private static final int NOTIFY_MANIFEST_INTERVAL_MS = 5000;
|
private static final int NOTIFY_MANIFEST_INTERVAL_MS = 5000;
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user