android audio crack on seek (then it plays normally)
Describe the bug when i seek the audio cracks
also sometimes the frames has weird black pixels, if there is any errors related to it should be at the end of the logs
Expected behavior audio should not crack
full logs
https://jpst.it/43jcm
i think this is the main log part for the audio crack
I/flutter (31626): FVP mdk.FINE: 14:17:30.106: 0xb4000078b2994570 audio stream#1 is seeking #1... got flush pkt. flush decoder and drop frames until seek target 6.0970s...
I/flutter (31626): FVP mdk.FINE: 14:17:30.106: invalid audio frame @-1.000000
I/flutter (31626): FVP mdk.FINE: 14:17:30.106: 0xb4000078b2994570 #1/1 audio seek_done: 1, seek_wait_frame_: 0/1
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: 0xb4000078b2994570 audio stream#1 sending 1 invalid AOT frame @6.095500s. seeking: 0
I/flutter (31626): FVP mdk.INFO: 14:17:30.107: 0xb4000079e29d1420 seek end audio frame @6.095500 seek_pos_: 6000, sync_ao_ 1
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: OpenSL ERROR@373 (*ibufq_android_)->Enqueue(ibufq_android_, data, size) : 0X7
I/flutter (31626): FVP mdk.FINE: 14:17:30.107:
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 6015, a: 6095, delta: -80 +0.021333
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: 0xb4000078b2994570 audio stream#1 AOT frame is sent
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: OpenSL ERROR@373 (*ibufq_android_)->Enqueue(ibufq_android_, data, size) : 0X7
is this related to the black parts?
0xb4000078b2994570 video stream#0 sending 1 invalid AOT frame @32.861000s. seeking: 0
Any solution to the crack? Since it's annoying to users
I/flutter (31626): FVP mdk.FINE: 14:17:30.107: OpenSL ERROR@373 (*ibufq_android_)->Enqueue(ibufq_android_, data, size) : 0X7
because of this i guess. queue is full, but not sure why. you can try this for android before the issue is fixed
registerWith(
options: {
'player': {'audio.renderer': 'AudioTrack'}
},
);
that does fix the cracking sound for now, thank you <3
same problem, the fix works
is there any downside of using this option? I am registering it in main so it applies to both live streams and other VOD contents.
I faced same problem, but the workaround provided fixed this cracking sound issue in pixel devices. Thanks @wang-bin