Skip to content

Commit

Permalink
fix(docs): developer.md
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Aug 26, 2024
1 parent 480904a commit 9a1b08b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/guide/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ cargo run --package=whepfrom
So. We support parameter `command`, You can use this:

```bash
cargo run --package=whipinto -- -c vp8 -u http://localhost:7777/whip/777 --command \
"ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libvpx -f rtp 'rtp://127.0.0.1:{port}?pkt_size=1200'"
cargo run --package=whipinto -- -i stream.sdp -w http://localhost:7777/whip/777 --command \
"ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libvpx -f rtp 'rtp://127.0.0.1:5002' -sdp_file stream.sdp"
```

So. You can use this
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/guide/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ cargo run --package=whepfrom
So. We support parameter `command`, You can use this:

```bash
cargo run --package=whipinto -- -c vp8 -u http://localhost:7777/whip/777 --command \
"ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libvpx -f rtp 'rtp://127.0.0.1:{port}?pkt_size=1200'"
cargo run --package=whipinto -- -i stream.sdp -w http://localhost:7777/whip/777 --command \
"ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libvpx -f rtp 'rtp://127.0.0.1:5002' -sdp_file stream.sdp"
```

So. You can use this
Expand Down

0 comments on commit 9a1b08b

Please sign in to comment.