mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-21 22:12:50 +00:00
feat: test-source fixes
This commit is contained in:
@ -64,7 +64,9 @@ impl HlsEgress {
|
||||
opts.insert("hls_flags".to_string(), "delete_segments".to_string());
|
||||
|
||||
let muxer = unsafe {
|
||||
let mut m = Muxer::new().with_output(&base, Some("hls"), Some(opts))?;
|
||||
let mut m = Muxer::builder()
|
||||
.with_output_path(base.to_str().unwrap(), Some("hls"), Some(opts))?
|
||||
.build()?;
|
||||
for e in encoded {
|
||||
m.add_stream_encoder(e)?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user