Class MediaItem.LiveConfiguration

  • All Implemented Interfaces:
    Bundleable
    Enclosing class:
    MediaItem

    public static final class MediaItem.LiveConfiguration
    extends Object
    implements Bundleable
    Live playback configuration.
    • Field Detail

      • UNSET

        public static final MediaItem.LiveConfiguration UNSET
        A live playback configuration with unset values, meaning media-defined default values will be used.
      • targetOffsetMs

        public final long targetOffsetMs
        Target offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
      • minOffsetMs

        public final long minOffsetMs
        The minimum allowed offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
      • maxOffsetMs

        public final long maxOffsetMs
        The maximum allowed offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
      • minPlaybackSpeed

        public final float minPlaybackSpeed
        Minimum factor by which playback can be sped up, or C.RATE_UNSET to use the media-defined default.
      • maxPlaybackSpeed

        public final float maxPlaybackSpeed
        Maximum factor by which playback can be sped up, or C.RATE_UNSET to use the media-defined default.
    • Constructor Detail

      • LiveConfiguration

        @Deprecated
        public LiveConfiguration​(long targetOffsetMs,
                                 long minOffsetMs,
                                 long maxOffsetMs,
                                 float minPlaybackSpeed,
                                 float maxPlaybackSpeed)
        Deprecated.