exoplayer

  1. D

    Spanish App cierra a los 3 minutos

    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...
  2. M

    Android Question subtitle event in exoplayer

    Hi, How to add subtitle changer event in exoplayer? for example: I want to remove part of the subtitle, so I get subtitle in changer event and remove it.
  3. Yeskay

    Android Question Exoplayer - Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)

    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...
  4. Randy Younger

    Android Question After Updating to B4A 10.9 from 10.6 I can't Compile Any Program with Exoplayer Included

    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) (AndroidX SDK) Compiling...
  5. D

    Android Question RTSP support in new ExoPlayer Library Update

    Hello to all It's been almost a month since a new update to the ExoPlayer library was made. https://www.b4x.com/android/forum/forums/android-questions.26/post-thread According to the description, this version is taken from ExoPlayer 2.13.3. The list of changes in this version is given below...
  6. M

    Android Question Error in new exoplayer

    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...
  7. rleiman

    Android Question [Solved] - Using MediaPlayer to queue up and play sound files just like ExoPlayer

    Greetings, 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...
  8. M

    Android Question change resolution of exoplayer manually

    Hello everyone 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)
  9. M

    Android Question timebar(seekbar) exoplayer addListener

    hi how to addListener seekbar of exoplayer? (i find onScrubListener in exoplayer but how to use this event?) OnScrubListener exoplayer
  10. M

    Android Question change color timebar(seekbar) in exoplayer

    hello everyone 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?
  11. M

    Android Question change position subtitle in exoplayer

    hi everyone i'm try to change the position subtitle in exoplayer. search and find setBottomPaddingFraction in exoplayer. how can to use this void?
  12. R

    Android Question Unable to access resource from Network path for ExoPlayer

    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:- player1.Initialize("player") Dim sources As List...
  13. rleiman

    Android Question [SOLVED] - Listening for when audio from a video or sound file is played from another app

    Greetings, 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...
  14. Yeskay

    Android Question How to play youtube video in ExoPlayer

    In ExoPlayer, i can able to play youtube video using the following code...
  15. mare1980k1

    Android Question Exoplayer - how to fill to the edge or how to distort aspect ratio in video?

    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, Kind regards
  16. Abdou1283

    Android Question Exoplayer Controller Visibility

    Hi, there is a way to check exoplayer controller visibility programmatically ??
  17. Abdou1283

    Android Question Exoplayer Error

    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.) What's the...
  18. ncgege

    Android Question Exoplayer subtitle issue

    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. Sub...
  19. mcqueccu

    Android Question [SOLVED] Exoplayer Eventlistener ClassNotFoundException

    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) jo.GetFieldJO("player").RunMethod("addListener"...
  20. Yeskay

    Android Question How to play Youtube Channel Live in ExoPlayer

    anyone give he a solution to play youtube live channels in exoplayer
Top