-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Labels
rustPull requests that update Rust codePull requests that update Rust code
Description
In order to get my dream of a HLS player working while pointed at moq-relay, we need some playlists.
Can someone modify the HLS import code such that:
- Make sure any tracks we create have a reasonable extension, like
.m3u8or.m4s - We create a
playlist.m3u8track for the main playlist, with a single group/frame. - We create a playlist track for each rendition, for example
audio.m3u8andvideo.m3u8.- Each (unique) playlist update would be written as a new group/frame.
- Rewrite the playlists to be relative:
- The main playlist would point to
./audio.m3u8and./video.m3u8or whatever the playlist tracks are called. - The media playlists would point to
./audio.m4s?group=x, or whatever the media tracks are called.
- The main playlist would point to
With all this in place, we should be able to start a HLS import and visit:
http://localhost:4443/fetch/bbb/playlist.m3u8
http://localhost:4443/fetch/bbb/audio.m3u8
http://localhost:4443/fetch/bbb/video.m3u8
http://localhost:4443/fetch/bbb/audio.m4s?group=xxx
http://localhost:4443/fetch/bbb/video.m4s?group=xxx
The only thing that should not work yet is the ?group= query parameter. It will instead fetch the latest group.
With all of this in place, we could point a HLS player to the first URL and it should just work TM.
coderabbitai
Metadata
Metadata
Assignees
Labels
rustPull requests that update Rust codePull requests that update Rust code