BASS HLS seeking issue

Started by xxINFERNALzz,

xxINFERNALzz

Hi guys!

I'm using custom made Java wrapper for BASS. Bass version 2.4.17 and HLS 2.4.3.
Documentation said that seeking (setPosition for Bass) is async. But for MacOS sound output stops after setPosition, if stream created from both file and url (BASS_HLS_StreamCreateFile and BASS_HLS_StreamCreateURL).
On Windows 11 it works, but for mpegts HLS segments. If HLS stream using fmp4 segments - this didn't work.

1. Is this fixed for fresh version of BASS and HLS?
2. If not, will it be?

Ian @ un4seen

I think there was a change in the BASS 2.4.18.3 release that may help with this, so please try that and see if you still have the problem. You could also upgrade BASSHLS at the same time. You shouldn't need to modify your Java wrapper in doing so.

xxINFERNALzz

I made new build of java wrapper for BASS 2.4.18.3 and BASS_HLS 2.4.5. On macOS both mpegts and fmp4 segmenting works great. So on mac issue is solved. But on windows still only mpegts HLS segments working. In case of fmp4 segmenting sound output stops as before after using of setPosition.

Ian @ un4seen

Can you provide an affected test stream to have a look at? You can PM it to me if you don't want it public.

fMP4 decoding will be using Media Foundation on Windows. There have been some changes to that since the last release, so you could also try this latest build to see if it helps:

    www.un4seen.com/stuff/bass.zip