Android Question ExoPlayer Multiple video at the same time

Turkan Ergin

Member
Licensed User
I'm developing a karaoke app. I used two different players when I wanted to synchronize the music and the video that the user shot. However, in this case, I am faced with a constantly variable starting difference between music and video (like 10-15 milliseconds). If it is possible to start the video and music file simultaneously, I believe I can solve my problem. Sometimes I need to use mp4 as a music file. For this reason, I am looking for a way to be able to start two different videos simultaneously. Thank you in advance for your support.
 
Upvote 0

Turkan Ergin

Member
Licensed User
Thanks for the answer. As you mentioned, when I start it after waiting for both players to be ready, there are synchronization differences and synchronization differences are constantly changing.
 
Upvote 0

Turkan Ergin

Member
Licensed User
As you mentioned, I added a timer. I've observed that the starting positions change every time I play the player. Although I adjusted the position of the player, I could not figure out why it changes every time.
 
Upvote 0

Turkan Ergin

Member
Licensed User
I added two different players. I make sure they are ready with the timer and start at the same time. When I get logs of their positions with the timer, I observe that they move with different times. As I mentioned before, I am having problems in the general flow of the application because the time differences are 30-40 milliseconds.
 
Upvote 0
Top