Skip to content

HlsPlaylistParser: replace most usage of Java APIs with kotlin equivalents#2828

Open
Luna712 wants to merge 1 commit into
recloudstream:masterfrom
Luna712:hlsplaylistparser-kotlin
Open

HlsPlaylistParser: replace most usage of Java APIs with kotlin equivalents#2828
Luna712 wants to merge 1 commit into
recloudstream:masterfrom
Luna712:hlsplaylistparser-kotlin

Conversation

@Luna712
Copy link
Copy Markdown
Contributor

@Luna712 Luna712 commented May 23, 2026

This does add kotlinx-io as a dependency, it is more light weight then okio, and when we migrate to ktor for example it will become an implicit dependency anyway so it should be fine to just add. Allows for more reliable and readable usage then doing some of this manually.

The largest change this does is probably to change from Java UUIDs to Kotlin native Uuid, however nothing calls the overloads this changes except in this class itself. The larger breaking change will be to eventually do that in ExtractorApi as well.

…lents

This does add kotlinx-io as a dependency, it is more light weight then okio, and when we migrate to ktor for example it will become an implicit dependency anyway so it should be fine to just add. Allows for more reliable and readable usage then doing some of this manually.

The largest change this does is probably to change from Java UUIDs to Kotlin native Uuid, however nothing calls the overloads this changes except in this class itself. The larger breaking change will be to eventually do that in ExtractorApi as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant