Skip to content

Conversation

devoxin
Copy link
Member

@devoxin devoxin commented Dec 1, 2023

This PR attempts to rectify an issue within HLS parsing where relative URLs are not converted to an absolute URL, causing a Target host is not specified error message due to missing first part of the URL (thus, Lavaplayer doesn't know where to connect to, to grab the next segments in the playlist).

This has only been tested with https://hls-01-radiorecord.hostingradio.ru/record/112/playlist.m3u8.

I would advise further testing, including URLs from playlists containing absolute URLs to ensure backwards compatibility. I've tried to ensure this won't affect previously supported URLs however more testing is always welcome, as well as any general feedback.

@devoxin devoxin merged commit 29d3133 into main Dec 26, 2023
@topi314 topi314 deleted the fix/hls-relative-urls branch January 2, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants