Home > Mobile >  Android studio video synchronization with a progress bar problem
Android studio video synchronization with a progress bar problem

Time:09-16

Recently in the production of video player, video synchronization with a progress bar have a problem, but can video playback progress bar, time also the same, but by dragging the progress bar can realize video fast forward to retreat quickly, time also can become (static), has been the problem for 2 days, ask the great spirit show






CodePudding user response:

Do you want to open a time (this time is generally 100 ms) cycle, cycle for video playback time pass schedule to update the progress bar

CodePudding user response:

Should be the value of the callback, you print the next set in the seekBar time value, should be ok,

CodePudding user response:

reference 1/f, six weeks response:
what do you want to open a time (this time is generally 100 ms) cycle, cycle in obtaining video playback time pass schedule to update the progress bar

Eldest brother, can give the code? I tried to use thread synchronization but always go wrong
  • Related