ExoPlayerConfig
fun ExoPlayerConfig( clock: Clock = Clock.DEFAULT, trackSelectorParameters: DefaultTrackSelector.Parameters = Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory: ExoTrackSelection.Factory = AdaptiveTrackSelection.Factory(), overrideInitialBitrateEstimate: Long = -1, resetOnNetworkTypeChange: Boolean = true, slidingWindowMaxWeight: Int = DefaultBandwidthMeter.DEFAULT_SLIDING_WINDOW_MAX_WEIGHT, enableDecoderFallback: Boolean = true, allowedVideoJoiningTimeMs: Long = DefaultRenderersFactory.DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS, extensionRendererMode: Int = DefaultRenderersFactory.EXTENSION_RENDERER_MODE_OFF, mediaCodecSelector: MediaCodecSelector = MediaCodecSelector.DEFAULT, allocator: DefaultAllocator = DefaultAllocator(true, C.DEFAULT_BUFFER_SEGMENT_SIZE), minBufferMs: Int = DefaultLoadControl.DEFAULT_MIN_BUFFER_MS, maxBufferMs: Int = DefaultLoadControl.DEFAULT_MAX_BUFFER_MS, bufferForPlaybackMs: Int = DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_MS, bufferForPlaybackAfterRebufferMs: Int = DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS, prioritizeTimeOverSizeThresholds: Boolean = DefaultLoadControl.DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS, targetBufferBytes: Int = DefaultLoadControl.DEFAULT_TARGET_BUFFER_BYTES, backBufferDurationMs: Int = DefaultLoadControl.DEFAULT_BACK_BUFFER_DURATION_MS, retainBackBufferFromKeyframe: Boolean = DefaultLoadControl.DEFAULT_RETAIN_BACK_BUFFER_FROM_KEYFRAME, cache: Cache? = null)
Content copied to clipboard