mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Mark AdaptiveTrackSelection.AdaptationCheckpoint as public
The protected visibility causes problems in Kotlin (Issue: #8830) and also prevents a subclass of AdaptiveTrackSelection.Factory that isn't nested inside a subclass of AdaptiveTrackSelection (in both Java and Kotlin). #minor-release PiperOrigin-RevId: 369468841
This commit is contained in:
parent
09096d6fbf
commit
7a2eaa96a2
2 changed files with 5 additions and 1 deletions
|
|
@ -42,6 +42,10 @@
|
|||
get notified after MediaCodec is initialized, or they can inject a
|
||||
custom `MediaCodecAdapter.Factory` if they want to control how the
|
||||
`MediaCodec` is configured.
|
||||
* Promote `AdaptiveTrackSelection.AdaptationCheckpoint` to `public`
|
||||
visibility in order to allow Kotlin subclasses of
|
||||
`AdaptiveTrackSelection.Factory`
|
||||
([#8830](https://github.com/google/ExoPlayer/issues/8830)).
|
||||
* UI:
|
||||
* Add builder for `PlayerNotificationManager`.
|
||||
* Add group setting to `PlayerNotificationManager`.
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@ public class AdaptiveTrackSelection extends BaseTrackSelection {
|
|||
}
|
||||
|
||||
/** Checkpoint to determine allocated bandwidth. */
|
||||
protected static final class AdaptationCheckpoint {
|
||||
public static final class AdaptationCheckpoint {
|
||||
|
||||
/** Total bandwidth in bits per second at which this checkpoint applies. */
|
||||
public final long totalBandwidth;
|
||||
|
|
|
|||
Loading…
Reference in a new issue