izderadicka / audioserve-android

Android client for audioserve
67 stars 11 forks source link

Variable bitrate and position seeker #8

Closed zais closed 3 years ago

zais commented 4 years ago

Looks like position seeker goes wild in case of variable bitrate encoded audio files. Example: pause close to end of such file will cause play to jump way back

Not sure how current position is storred, probably as time, may be should be byte offset.

izderadicka commented 4 years ago

We are using Exoplayer and AFAIK only seeking by time is possible there. As exoplayer is responsible for all playback and seeking I guess problem is there - it would worth to check with other apps that are using exoplayer or with some raw exoplayer example.

zais commented 4 years ago

Exoplayer has many issues with that, as i can see (example: https://github.com/google/ExoPlayer/issues/6698). Ok, will suffer through such files ;).

izderadicka commented 4 years ago

or enforce transcoding