Stabilize live playback audio
This commit is contained in:
parent
0d86104762
commit
64e5ee3965
4 changed files with 122 additions and 6 deletions
|
|
@ -2292,12 +2292,18 @@ async fn moq_publish(args: MoqPublishArgs) -> Result<()> {
|
|||
.arg(&bufsize)
|
||||
.arg("-c:a")
|
||||
.arg("aac")
|
||||
.arg("-profile:a")
|
||||
.arg("aac_low")
|
||||
.arg("-b:a")
|
||||
.arg("128k")
|
||||
.arg("-ac")
|
||||
.arg("2")
|
||||
.arg("-ar")
|
||||
.arg("48000")
|
||||
.arg("-af")
|
||||
.arg(ec_chopper::LIVE_AUDIO_RESAMPLE_FILTER)
|
||||
.arg("-max_muxing_queue_size")
|
||||
.arg("2048")
|
||||
.arg("-pix_fmt")
|
||||
.arg("yuv420p")
|
||||
.arg("-g")
|
||||
|
|
@ -6814,6 +6820,10 @@ async fn wt_publish(args: WtPublishArgs) -> Result<()> {
|
|||
"2",
|
||||
"-ar",
|
||||
"48000",
|
||||
"-af",
|
||||
ec_chopper::LIVE_AUDIO_RESAMPLE_FILTER,
|
||||
"-max_muxing_queue_size",
|
||||
"2048",
|
||||
]);
|
||||
} else {
|
||||
cmd.args(["-c", "copy"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue