I'm currently using this coding to detect when the phone state changes when the phone app is on a phone call. Is there something like it to detect when audio from another app starts playing? I want to use the same type of coding to mute the exoPlayer volume as soon as another app...
I am using Exoplayer library for videos, but it only has default "contain", which keeps the aspect ratio. Is it possible to change this to Fill - thus to distort the video a little?
Thank you so much,
I m using exoplayer in my app . I have been added listener method "addListener". It works very fine in android 9.0 and android 8.1 and 7.0.
But when running on android 4.4.2 i get this error
(cannot get methods of class: com.google.android.exoplayer2.simpleexoplayer, disabling cache.)
Hi,Erel I've saw one example you wrote on our form,https://www.b4x.com/android/forum/threads/exoplayer-subtitles.93712/
and I did like these codes ,just change the srt file and video to mine ,the playerview works but don't show the subtitle. can you have a look at these codes,thank you.
Hello, I used this code for a radio streaming apps which worked previously.
Dim jo As JavaObject = Starter.exo
Dim event As Object = jo.CreateEventFromUI("com.google.android.exoplayer2.ExoPlayer$EventListener", "statechanged", False)
Is it possible to use the Equalizer Library (EQLib) together with the Exoplayer?
I can't get the AudioSessionId of the Exoplayer.
Always returns '0'.
Dim R As Reflector
Dim AudioSessionId As Int = R.RunMethod("getAudioSessionId")
It is my first time sharing an app here cuz i think it might be useful this time :D
The app is simply a video player based on exoplayer with the ability to play the videos fullscreen in phones with notches and hole puch displays as there isnt much apps that dose that ( if theres any in first...
In exoplayer library am facing error while connecting to HSL streaming server in android 9, it always shows 404 error. but, the same is working well in android 7 and below. please help me to overcome this issue
I want to be able to know when my radio streaming app is buffering or idle but i kept getting this error.
Dim exoplay As SimpleExoPlayer
Dim connect As String = "http://streaming.shoutcast.com/LeafeCodesOnline?lang=en-US%2cen%3bq%3d0.9"
Dim tm As Timer
Please am streaming a radio and I have a button to toggle if exoplayer is playing or paused.
But am finding it difficult to check if Exoplayer Isplaying just like in the mediaplayerstreamer lib so that i can display the correct button.
Hi everyone, i tried to change the user-agent of exoplayer i tried with the code that error wrote here https://www.b4x.com/android/forum/threads/exoplayer-user-agent.86695/#post-548886
Without succes, i don't know if i have to initialize the view or create a layout with the designer.
Hi everyone, it's possible to change the buffer size and the number of buffer segments in exoplayer, i tried with Donmanfred librarie's exoplayertextureview, but i need to add subtitles too, and i dont know how to acomplish this in textureview.
I found the following https://geoffledak.com/blog/2017/09/11/how-to-add-a-fullscreen-toggle-button-to-exoplayer-in-android/
I opened the ExoPlayer.xml and can not find the tags specified in the instructions from the geoffledak sites instructions.
I need to...