755 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
46
views
Live HLS stream stuck on buffering after dynamically inserted ad finishes playing on Media3/ExoPlayer
Trying to play a HLS stream with a dynamically inserted ad. Media3/Exoplayer is stuck on buffering state and couldn't play video or audio data after the ad finishes. Version of ExoPlayer used is 2.19....
0
votes
1
answer
34
views
Volume control for Casting with CastPlayer and custom notification
I want to use my own notification for casting in Player Service. I use:
public class CastOptionsProvider implements OptionsProvider {
@Override
public CastOptions getCastOptions(Context ...
0
votes
0
answers
124
views
ExoPlayer video not resizing in PIP - Jetpack Compose-Media3
I am using media3 in Jetpack Compose. I am struggling to implement pip. When the pip is shown the video is not resized properly. I am attaching the screenshots below.
.
Here is my code.
Box(
...
0
votes
1
answer
53
views
Exoplayer hangs subtitles on the last dialogue
It's been a long since I last posted.
I've got a problem which I cannot solve since I upgraded from exoplayer 2.8.4 to 2.11.1. I know I have a very old version of it but upgrading to 2.18.+ is giving ...
1
vote
0
answers
488
views
How to Test if Video is Playing in Hardware or Software Mode in ExoPlayer
I want to implement the option to choose between hardware and software decoding in ExoPlayer based on user selection. I've implemented the following code:
private fun buildRenderersFactory(...
3
votes
3
answers
2k
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 ...
1
vote
1
answer
222
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 ...
6
votes
1
answer
4k
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
...
0
votes
1
answer
167
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 ...
1
vote
0
answers
104
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 ...
2
votes
0
answers
293
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 ...
0
votes
1
answer
124
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: ...
2
votes
1
answer
812
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 ...
1
vote
1
answer
640
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 ...
0
votes
1
answer
333
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
...