exoplayer2.x Questions

1

I am building a video player android application where I need to play 2(maybe 4) live streams at the same time in the same view. Is it possible using a single exoplayer instance? If yes, please su...
Caerleon asked 4/6, 2021 at 10:20

3

Solved

I am trying to stream an m3u8 file and I am getting an error. The url I am using is the following: http://storage.googleapis.com/videos.siku.org/10005/dash/master.m3u8 This streaming video does wor...
Ineffaceable asked 10/3, 2020 at 3:11

12

App crashes at runtime with the following error : java.lang.IllegalArgumentException: maa.abc: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified ...

2

Video codec error androidx.media3.exoplayer.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.Exynos.avc.dec, Format(2, null, null, video/avc, avc1.640033, -1...
Eclat asked 28/7, 2023 at 5:46

2

Solved

goes black trying to play m3u8 with exoplayer v2.10.5,which makes me add or how can I play m3u with exoplayer v2.10.5 and gradle 3.5.3 or which version of exoplayer would work with api 28 and grad...
Clute asked 15/4, 2020 at 1:53

1

DefaultBandwidthMeter bandwidthMeter = new DefaultBandwidthMeter(); DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(this, Util.getUserAgent(this, "yourApplicationName"), bandwi...
Trodden asked 4/2, 2017 at 9:26

1

The only difference I notice is that, if I call prepare() before play(), I will see the the process indicator and it pre-loads data in the PlayerView, besides that I can't tell the difference if I ...
Cartography asked 30/3, 2021 at 12:45

5

Solved

i am trying to implement exoplayer this is my exoplayer version implementation 'com.google.android.exoplayer:exoplayer:2.11.1' i am creating a music player app and i don't know anything about ex...

3

Please help me to sort out the problem. I give a link to the git. https://github.com/Vasajj/radio_tysa_fm.git something is wrong with PendingIntent, with package: On android 8 all is fine Installin...
Micheal asked 25/2, 2022 at 23:47

2

I'm making an app where I play .mp3 files from the URL. I'm using the latest version of ExoPlayer 2.11.4. What I need to do is get the total duration of the audio from the url so I can use it in m...
Casual asked 29/4, 2020 at 16:47

11

How to hide all controllers in ExoPlayer2 (start button, pause, and so on) that they did not exist, and the screen was always full. I looked, there is simpleExoPlayerView.setUseController(true) me...
Malisamalison asked 16/2, 2017 at 1:47

5

Solved

I started using ExoPlayer to stream some audio. All was well until I came across an URL that has a "301 Moved Permanently" redirect. ExoPlayer2 does not handle that by default. I've already seen t...
Kiely asked 7/1, 2017 at 3:16

2

Like the title above, I can't catch the error Input does not start with the #EXTM3U header. I tried to catch the error in this way: exoPlayer.addListener(new ExoPlayer.EventListener() { @Overrid...
Armorial asked 1/4, 2020 at 19:54

1

I am using exoplayer2 via androidx.media3:media3-exoplayer:1.0.0-beta03. I have a androidx.media3.ui.PlayerView in my XML layout, and then in my code I am creating an Exoplayer with ExoPlayer.Build...
Fugazy asked 20/2, 2023 at 21:53

0

I want to integrate Audio ads into my podcast app with the interval of 3 podcasts. After every 3 podcasts, I need one specific ad to play which could be skippable or non-skippable. For integration,...
Swamp asked 17/2, 2023 at 12:17

3

Solved

I don't know why, but sometimes Exoplayer buffers my video very slowly. My server is responding properly and the internet is also fast but sometimes Exoplayer buffers my video slowly for less than ...
Maiga asked 9/5, 2022 at 9:34

4

Solved

The HlsMediaSource() method is deprecated (I'm currently on exoplayer:2.6.1). What is the recommended method to use for HLS-media instead?
Votive asked 30/1, 2018 at 10:18

5

I am developing a music app but i am getting error can anybody tell me how to fix this PlayerNotificationManager.createWithNotificationChannel? .createWithNotificationChannel is not recognizable c...
Uhlan asked 23/9, 2021 at 20:27

4

I'm trying to implement a full screen mode with SimpleExoPlayerView. I've got this mostly working using setSystemUiVisibility. During onCreate i add a OnSystemUiVisibilityChange listener to sync ...
Interinsurance asked 10/7, 2017 at 10:48

2

Solved

No matter what I try, I am not able to catch "ExoPlaybackException: Source error" error. The video playback stops and I can see Exoplayer error thrown. The Stacktrace is below: 2021-02-09...
Unfathomable asked 10/2, 2021 at 6:45

4

Solved

I'm using Exoplayer in my app and initializing exoplayer as player = SimpleExoPlayer.Builder(this).build() But Android Studio is giving me warning as it is deprecated. When I get to the lower vers...
Tailor asked 24/11, 2021 at 10:59

2

I am getting this exception after some time when I am playing a live video(HLS), for recorded videos it is working fine. com.google.android.exoplayer2.source.BehindLiveWindowException at com.goo...
Flossieflossy asked 29/9, 2016 at 12:13

4

When I open video More then 2 time it will give error when i open video less then 2 time it will work properly i can not find any solution so if you have any solution please help me out com.googl...
Liquidity asked 15/11, 2019 at 6:29

1

Solved

I have created a custom UI for player an audio file and I am using Exoplayer to get the file and play it. I am not using the custom controller for exoplayer and my UI has a Slider that needs to upd...
Engineer asked 14/4, 2022 at 7:42

1

I am working on an online Video player, I am using TextureVideoViewMute extends TextureView implements TextureView. SurfaceTextureListener custom class as custom video player. I am having two URL...
Dux asked 22/2, 2018 at 6:6

© 2022 - 2024 — McMap. All rights reserved.