mdk-sdk icon indicating copy to clipboard operation
mdk-sdk copied to clipboard

Audio glitch on video restart

Open Vizalkar opened this issue 1 year ago • 3 comments

Describe the bug When a video is paused, rewinding it by seeking 0 timestamp then resuming playback causes an audible glitch.

To Reproduce Play a video with sound (I used ashthorp.mp4), then :

player->set(mdk::State::Paused); /* you may wait a little here... */ player->seek(0, mdk::SeekFlags::FromStart); player->set(mdk::State::Playing);

Expected behavior Video should play from 0 without resuming playback of old audio buffer.

Environment: OS: Windows

Additional information can be provided on demand

Regards Adrien

Vizalkar avatar Oct 18 '24 14:10 Vizalkar

Hi, Have you been able to reproduce the issue ? Some users complain about that as it compromises the smoothness of their show

Regards Adrien

Vizalkar avatar Nov 21 '24 13:11 Vizalkar

try https://github.com/wang-bin/mdk-sdk/actions/runs/12031059745

wang-bin avatar Nov 26 '24 12:11 wang-bin

Will do, many thanks 🙏

Vizalkar avatar Nov 26 '24 17:11 Vizalkar