Update Exoplayer to 2.11.4
This commit is contained in:
parent
c6629a3cf9
commit
7826802b4e
|
@ -53,7 +53,7 @@ subprojects {
|
|||
MapsUtils : '0.6.2',
|
||||
DropboxCoreSdk : '3.1.3',
|
||||
GoogleDriveApi : 'v3-rev193-1.25.0',
|
||||
Exoplayer : '2.10.8',
|
||||
Exoplayer : '2.11.4',
|
||||
Toro : '2.1.0',
|
||||
LoganSquare : '1.3.7',
|
||||
IABv3 : '1.1.0',
|
||||
|
|
|
@ -331,7 +331,7 @@ class ExoPlayerPageFragment : MediaViewerFragment(), IBaseFragment<ExoPlayerPage
|
|||
val bandwidthMeter = DefaultBandwidthMeter()
|
||||
val videoTrackSelectionFactory = AdaptiveTrackSelection.Factory(bandwidthMeter)
|
||||
val trackSelector = DefaultTrackSelector(videoTrackSelectionFactory)
|
||||
val player = ExoPlayerFactory.newSimpleInstance(context, trackSelector, DefaultLoadControl())
|
||||
val player = ExoPlayerFactory.newSimpleInstance(context!!, trackSelector, DefaultLoadControl())
|
||||
if (positionBackup >= 0) {
|
||||
player.seekTo(positionBackup)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue