Skip to content

Commit

Permalink
Remove implementation of depreciated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
StaehliJ committed Jan 19, 2024
1 parent 0c52ec3 commit 2f5ee07
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,6 @@ class PillarboxLoadControl(
defaultLoadControl.onTracksSelected(timeline, mediaPeriodId, renderers, trackGroups, trackSelections)
}

@Deprecated("Deprecated in Java")
override fun onTracksSelected(
renderers: Array<out Renderer>,
trackGroups: TrackGroupArray,
trackSelections: Array<out ExoTrackSelection>
) {
defaultLoadControl.onTracksSelected(renderers, trackGroups, trackSelections)
}

override fun shouldStartPlayback(
timeline: Timeline,
mediaPeriodId: MediaSource.MediaPeriodId,
Expand All @@ -103,16 +94,6 @@ class PillarboxLoadControl(
return defaultLoadControl.shouldStartPlayback(timeline, mediaPeriodId, bufferedDurationUs, playbackSpeed, rebuffering, targetLiveOffsetUs)
}

@Deprecated("Deprecated in Java")
override fun shouldStartPlayback(
bufferedDurationUs: Long,
playbackSpeed: Float,
rebuffering: Boolean,
targetLiveOffsetUs: Long
): Boolean {
return defaultLoadControl.shouldStartPlayback(bufferedDurationUs, playbackSpeed, rebuffering, targetLiveOffsetUs)
}

/**
* Buffer durations to use for [DefaultLoadControl.Builder.setBufferDurationsMs].
*
Expand Down

0 comments on commit 2f5ee07

Please sign in to comment.