Created
September 5, 2017 22:21
-
-
Save isaidamier/44378ee551a3e6689f5432411566f7c5 to your computer and use it in GitHub Desktop.
This file contains 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
BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter(); | |
TrackSelection.Factory videoTrackSelectionFactory = | |
new AdaptiveTrackSelection.Factory(bandwidthMeter); | |
TrackSelector trackSelector = | |
new DefaultTrackSelector(videoTrackSelectionFactory); | |
player = ExoPlayerFactory.newSimpleInstance(this, trackSelector); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment