feat: custom HLS muxer (wip)

This commit is contained in:
2024-11-14 15:29:56 +00:00
parent d7945b4d84
commit 04df558a2d
9 changed files with 343 additions and 114 deletions

View File

@ -26,12 +26,12 @@ impl RecorderEgress {
let muxer = unsafe {
let mut m = Muxer::builder()
.with_output_path(out_file.to_str().unwrap(), None, None)?
.with_output_path(out_file.to_str().unwrap(), None)?
.build()?;
for var in variants {
m.add_stream_encoder(var)?;
}
m.open()?;
m.open(None)?;
m
};
Ok(Self { id, config, muxer })