Hello,
I'm using HLS to create "unique" videos:
- I have a stock of video sequences (segments)
- I build a playlist dynamically (based on user's inputs)
My segments are video-only 4 seconds ffmpeg-encoded .mp4 files, mp4box-prepared.
I declare #EXT-X-DISCONTINUITY between each segment
The audio is "separated" (#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio"...)
I chunked the audio to make its playlist "discontinued" as well, so that the video discontinuity matches the audio discontinuity.
My problem is:
(EDIT:) in HTML environment on Safari, on both MacOS and iOS.
I get a short audio mute (about 0.2 seconds) on each discontinuity.
(I also tried 3.84 seconds of 25fps video + 48kHz audio, but maybe I didn't do it properly ?)
My question is:
is it possible to have NO audio mute (at all) on discontinuity, or is it "decided" (that a gap will be inserted) to prevent audio glinchs ?
If not, how can I get a seamless output stream ?