Stabilize live playback audio
Some checks are pending
ci-gates / checks (push) Waiting to run
deploy-cloudflare / checks (push) Waiting to run
deploy-cloudflare / deploy (push) Blocked by required conditions

This commit is contained in:
every.channel 2026-05-03 20:52:41 -07:00
parent 0d86104762
commit 64e5ee3965
No known key found for this signature in database
4 changed files with 122 additions and 6 deletions

View file

@ -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"]);