Created
June 26, 2022 14:24
-
-
Save halilozel1903/aa96e69733b3b41ff1ab7a62172a5b3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val defaultHttpDataSourceFactory = DefaultHttpDataSource.Factory() | |
.setUserAgent(userAgent) | |
.setTransferListener( | |
DefaultBandwidthMeter.Builder(this) | |
.setResetOnNetworkTypeChange(false) | |
.build() | |
) | |
val dashChunkSourceFactory: DashChunkSource.Factory = DefaultDashChunkSource.Factory( | |
defaultHttpDataSourceFactory) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment