Skip to main content

Questions tagged [exoplayer2.x]

ExoPlayer 2.x is a major iteration of the ExoPlayer (an open source, application level media player built on top of Android’s low level media APIs) library with significant API and architectural improvements.

exoplayer2.x
1 vote
1 answer
43 views

Jetpack compose, ExoPlayer is destroyed late when changing the screen

To create a video player in Jetpack compose, I use ExoPlayer2. The problem is this - there is screen 1 on which the video player is located and screen 2. When switching from screen 1 to screen 2, the ...
Ruslan's user avatar
  • 13
1 vote
1 answer
30 views

How to read the current effective resolution for the Exoplayer?

I am looking into the Exoplayer and the stream with better resolution scales down when bandwidth is shrinking. Is there an interface where I can read the real resolution currently used by the ...
Ralf Wickum's user avatar
  • 3,120
0 votes
0 answers
96 views

Unable to style Cue in default SubtitleView Media3 ExoPlayer

I am trying to style captions that come into my DASH segment as .vtt files. Scouted the internet for how to do that, and found a suggestion from the ExoPlayer devs here Moving further with the ...
gtxtreme's user avatar
  • 2,865
0 votes
0 answers
28 views

Media3 (ExoPlayer) handle multile Tracks with the same name

TDLR; An Android app that plays DASH streaming video. The manifest file (.mpd) have multiple languages and some of them have multiple versions of the same language. For example: fr fr en du Here I ...
TeamlyDigital's user avatar
3 votes
1 answer
612 views

Media3 exoplayer custom player view control layout pause and play buttons not working

I just migrated from exxoplayer2 to media3 and I am facing some issue with the custom player control view buttons (eco_play and exo_pause) I have a player view <androidx.media3.ui.PlayerView ...
Simran Thakkar's user avatar
0 votes
1 answer
70 views

How can I get livestreams to play in an android WebView on a FireTV 4k Max

For multiple days now, I've tried to get livestreams running in a WebView on my FireTV stick. I am completely stuck and would appreciate any help I can get. The website shown works perfectly in the ...
Ark Less's user avatar
1 vote
0 answers
37 views

ExoPlayer Cache.getCachedLength always returns different size with the downloaded bytes from Downloader

I want to check whether the video is already cached or not to prevent downloading multiple-times for the same video. But when I check the cached length or cached bytes, it always returns a different ...
Fikri Haikal's user avatar
2 votes
0 answers
117 views

ExoPlayer stops playing after empty playlist received with HLS

I'm using ExoPlayer in my Android app to play videos using HLS. Sometimes the server returns an empty playlist during playback (only headers without tracks). This happens quite rarely and subsequent ...
BArtWell's user avatar
  • 4,204
0 votes
0 answers
22 views

Crash video on SimpleVideoExoPlayer

Good morning, I'm having several problems playing a video with the exoplayer. More precisely, I'm trying to create an Android app to be able to deploy it on Pepper's tablet which interfaces with a ...
howtobepier's user avatar
0 votes
1 answer
58 views

ExoPlayer - Android Studio IDE

Hello i'm trying to use ExoPlayer in my app for showing a stream by url but when i add "implementation 'com.google.android.exoplayer:exoplayer:2.19.1'" android studio gives me a error: ...
Man In Black's user avatar
0 votes
0 answers
58 views

IllegalStateExeption Another SimpleCache Instance uses the folder after using single kotlin android

I am getting Error "java.lang.IllegalStateException: Another SimpleCache instance uses the folder:" I am working with SimpleExoPlayer and this error shows when I create a single instance of ...
Hitesh Matnani's user avatar
1 vote
1 answer
308 views

Is there a way to add multiple DataSource.Factorys to ExoPlayer?

My app supports several different types of media; both streaming and downloaded. The issue is, I have multiple DataSourceFactories to support each of these media types and the fact that they're ...
Vinnie's user avatar
  • 282
1 vote
1 answer
264 views

Jetpack Compose Material3 and Material2 Slider onValueChangeFinished() behaves differently

After migrating from Material2 to Material3, I encountered an unexpected behavior from Slider. Specifically, if I try to seek the new position inside onValueChangeFinished(), it will always stop me in ...
abc xyz's user avatar
  • 13
0 votes
1 answer
174 views

the video repeats when the video is paused and played exoplayer 3 jetpack compose

I use LaunchedEffect and while to get the currentTime on time, but there is a problem when I press the pause and play buttons, the video repeats PlayerScreen.kt @OptIn(UnstableApi::class) @Composable ...
Angga7Togk's user avatar
0 votes
0 answers
110 views

Android exoplayer video crop inside

I am working on the integration of social media video posts in a list and there is a problem with cropping video images. To avoid blank sides on a composable list item I want to apply similar to an ...
Kostya Rudenko's user avatar

15 30 50 per page
1
2 3 4 5
52