-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Problems :
few videos getting distorted at certain position
here is screenshot.....
https://image.prntscr.com/image/sp6cF6eXQQKwy21J9XkckA.png
Build.gradle
implementation 'com.google.android.exoplayer:exoplayer-core:2.7.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.7.0'
(although I tried most latest versions). same issues always...
Activity code :
BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
TrackSelector trackSelector = new DefaultTrackSelector(new AdaptiveTrackSelection.Factory(bandwidthMeter));
player = ExoPlayerFactory.newSimpleInstance(view.getContext(), trackSelector);
Uri videoUri = Uri.parse("HTTPS SRC PATH");
PlayerView video_view = (PlayerView) view.findViewById(R.id.video_view);
DefaultDataSourceFactory dataSourceFactory = new DefaultDataSourceFactory(this, Util.getUserAgent(this, "oevo"));
MediaSource videoSource = new ExtractorMediaSource(videoUri,dataSourceFactory, new DefaultExtractorsFactory(), null, null);
player.setPlayWhenReady(true); player.prepare(videoSource);
Testing Device :
Samsung edge s7
Video Url :
https://oevo.com/exo/TFWsBEnXMgqncUxRxMmGlPAjALAWsqsM.mp4
any idea highly appreciated. Thanks
Reactions are currently unavailable