mirror of
https://github.com/samsonjs/media.git
synced 2026-04-19 13:35:47 +00:00
Remove deprecated MediaSource.prepareSource.
This method only ensured backward compatibility while the new version was not public yet. Now ExoPlayer 2.9.0. is public, this workaround can be removed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=217881691
This commit is contained in:
parent
bf57d44023
commit
4c6507e7a0
2 changed files with 0 additions and 11 deletions
|
|
@ -133,12 +133,6 @@ public abstract class BaseMediaSource implements MediaSource {
|
|||
eventDispatcher.removeEventListener(eventListener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void prepareSource(
|
||||
ExoPlayer player, boolean isTopLevelSource, SourceInfoRefreshListener listener) {
|
||||
prepareSource(player, isTopLevelSource, listener, /* mediaTransferListener= */ null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void prepareSource(
|
||||
ExoPlayer player,
|
||||
|
|
|
|||
|
|
@ -220,11 +220,6 @@ public interface MediaSource {
|
|||
*/
|
||||
void removeEventListener(MediaSourceEventListener eventListener);
|
||||
|
||||
/** @deprecated Will be removed in the next release. */
|
||||
@Deprecated
|
||||
void prepareSource(
|
||||
ExoPlayer player, boolean isTopLevelSource, SourceInfoRefreshListener listener);
|
||||
|
||||
/**
|
||||
* Starts source preparation if not yet started, and adds a listener for timeline and/or manifest
|
||||
* updates.
|
||||
|
|
|
|||
Loading…
Reference in a new issue