Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions infra/pub.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ write_files:
-v quiet \
-re \
-i /tmp/fragmented.mp4 \
-vf "drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:text='${region}: %%{gmtime: %%H\\:%%M\\:%%S.%%3N}':x=(W-tw)-24:y=24:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5" \
-an \
-b:v 3M \
-preset ultrafast \
-tune zerolatency \
-c copy \
-f mp4 \
-movflags cmaf+separate_moof+delay_moov+skip_trailer+frag_every_frame \
- | \
Expand All @@ -60,7 +56,7 @@ write_files:
--cap-add=SYS_PTRACE \
-e RUST_LOG=debug -e RUST_BACKTRACE=1 \
${docker_image} \
hang publish --url "https://relay.quic.video/anon" --name "bbb"'
publish --url https://relay.quic.video/demo?jwt=${demo_token} --name bbb'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Command Block Issues with Token Expansion

The bash -c command block now incorrectly encloses the publish command within single quotes, preventing the expansion of ${demo_token} and passing the literal string. Additionally, the hang subcommand was removed. The URL and name parameters are also unquoted, which, combined with the ? in the URL, can lead to shell parsing errors.

Locations (1)

Fix in CursorFix in Web


ExecStop=docker stop hang-bbb

Expand Down