Buenos dias, estoy haciendo un reproductor de streaming (radio online) con B4A
Estoy utilizando Exoplayer y tambien probé con MediaPlayerStream
y con los dos tengo el mismo problema.
El audio se empieza a reproducir, hasta alli todo bien.
Pero cuando la aplicacion pasa a segundo plano (abro...
I downloaded new AndroidSDK and updated to B4A 10.90
I created a new b4a project for testing and added Exoplayer Library 1.50. and in Layout designer I added SimpleExoPlayerView and generated member in Sub Globals. Private SimpleExoPlayerView1 As SimpleExoPlayerView
When compiling i received...
I am using Exoplayer and when I try to compile projects that use it I get the following:
B4A Version: 10.90
Parsing code. (0.26s)
Java Version: 11
Building folders structure. (0.15s)
Compiling code. (0.41s)
Compiling layouts code. (0.04s)
Organizing libraries. (0.03s)
Hello to all
It's been almost a month since a new update to the ExoPlayer library was made.
According to the description, this version is taken from ExoPlayer 2.13.3.
The list of changes in this version is given below...
Hi, In the new version of exoplayer, I get the following error:
java.lang.RuntimeException: Constructor not found.
This error in b4a reference to this code:
Sub CreateMergedSource(Sources() As Object) As Object
Dim arr As JavaObject...
Can you tell me if it's possible to queue up and play the sound files in MediaPlayer from a list object just like you can do with the ExoPlayer? I'm asking because we had to change our apps that play sounds from the ExoPlayer to the MediaPlayer because customers are updating their...
I use exoplayer for HLS video streaming (m3u8 format)
I want to implement a feature that user can change the resolution (480p,720p,..)of the video manually.
Is it possible?
sample HLS Link
Like the image below(The image is related to the PotPlayer)
I found the DefaultTimeBar class in exoplayer to change the color of the seekbar.
some attributes of this class are used for color change for example: setPlayedColor , setUnplayedColor ,....
how to use this attributes and class in b4a?
I am attempting to access a network resource to play using ExoPlayer. The Android test device appears to be able to access my NAS using Astro File Manager without problem.
This code (direct copy from the ExoPlayer example) is causing the issue:-
Dim sources As List...
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)