mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-17 11:05:37 +00:00
feat: custom HLS muxer (wip)
This commit is contained in:
@ -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 })
|
||||
|
Reference in New Issue
Block a user