gohlslib icon indicating copy to clipboard operation
gohlslib copied to clipboard

findSegmentWithInvPosition() method in gohlslib, clientLiveInitialDistance is too small

Open zapotah opened this issue 2 years ago • 1 comments

          Hi, I found where the problem is, findSegmentWithInvPosition() method in gohlslib, clientLiveInitialDistance is too small, in another request findSegmentWithID tries to get segments which don't exist in playlist. findSegmentWithInvPosition should start from the beginning or should be configurable. It works on web browsers cause hls.min.js makes request until gets those segments, other players can't do that. I have made some changes and works like a charm.

Originally posted by @JohnnyMclain12 in https://github.com/bluenviron/mediamtx/issues/1720#issuecomment-1713648546

zapotah avatar Sep 19 '23 19:09 zapotah