| Crates.io | bot |
| lib.rs | bot |
| version | 1.0.11 |
| created_at | 2025-03-24 07:26:24.937321+00 |
| updated_at | 2025-08-22 05:15:19.903633+00 |
| description | A bot for the videocall project |
| homepage | https://github.com/security-union/videocall-rs |
| repository | https://github.com/security-union/videocall-rs |
| max_upload_size | |
| id | 1603524 |
| size | 8,390,322 |
Enhanced bot that streams synthetic audio and video to videocall-rs for load testing and scale validation.
Create a config.yaml file:
ramp_up_delay_ms: 1000
server_url: "https://webtransport-us-east.webtransport.video"
clients:
- user_id: "bot001"
meeting_id: "test-room"
enable_audio: true
enable_video: false
- user_id: "bot002"
meeting_id: "test-room"
enable_audio: false
enable_video: true
Then run:
BOT_CONFIG_PATH=config.yaml cargo run
N_CLIENTS=3
SERVER_URL="https://webtransport-us-east.webtransport.video"
ROOM="test-room"
CLIENT_0_ENABLE_AUDIO=true
CLIENT_0_ENABLE_VIDEO=false
CLIENT_1_ENABLE_AUDIO=false
CLIENT_1_ENABLE_VIDEO=true
CLIENT_2_ENABLE_AUDIO=true
CLIENT_2_ENABLE_VIDEO=true
cargo run
The bot includes pre-loaded media assets:
BundyBests2.wav - Looped and encoded to Opusoutput_120.jpg to output_124.jpg - Cycled as mock video framesBOT_CONFIG_PATH=config.yaml RUST_LOG=info cargo run
N_CLIENTS=10 ROOM="load-test" cargo run
docker build -t videocall-synthetic-client .
Compile and check:
cargo check
cargo clippy
cargo test
Run with debug logging:
RUST_LOG=debug cargo run