Help us shape the future of Go! Take the 2026 Go Developer Survey

webrtc-load-tool

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

README

webrtc-load-tool

Tool for simulating WebRTC viewers and load testing WebRTC streams

webrtc-load-tool v1.0.0

Usage

webrtc-load-tool WHIP-URL [flags]

Flags

  • -b, --bufferduration duration Buffer duration for RTP jitter buffer for lost packets counter (default 500ms)
  • -c, --connections string Maximum number of connections to create (default: "1")
  • --codec string Preferred codec (H264 or VP8). Defaults to H264 if resolution is set
  • -d, --duration duration Time to run the test (default: 1m0s)
  • -l, --lite Lite mode, no RTP video/audio parsing
  • -m, --relaymode string Relay mode to use (auto, no, only) (default: "auto")
  • -r, --runup duration Time frame to create the maximum number of connections
  • -t, --targetresolution string Target resolution height. Automatically switches to the closest available resolution <= target. (websocket mode only) Accepts: 4k, 2160p, 2160, 2k, 1440p, 1440, 1080p, 1080, hd, fhd, 720p, 720, hdready, 480p, 480, 360p, 360, 240p, 240, or a numeric value. Set to empty to disable resolution switching.

Example

webrtc-load-tool https://fly.live.ceeblue.tv/webrtc/out%20de1e6f7c-e5db-450b-9603-c3644274779b?video=3 -c 10 -r 10s -d 1m

target resoultion (Ceeblue websocket protocol):

webrtc-load-tool wss://fly.live.ceeblue.tv/webrtc/out+de1e6f7c-e5db-450b-9603-c3644274779b -c 1 -r 10s -d 1m -t 720p

Documentation

Overview

Description: WebRTC-load-tool is a tool for load testing WebRTC servers. By using this tool, you can simulate a large number of clients connecting to a WebRTC server. via WHIP signaling.

Directories

Path Synopsis
internal
runner
Package runner is responsible for running the load test And aggregating and logging the results.
Package runner is responsible for running the load test And aggregating and logging the results.
webrtcpeer
Package webrtcpeer contains the webrtc and Ceeblue's whep/whip-like http implementation for webRTC load test tool.
Package webrtcpeer contains the webrtc and Ceeblue's whep/whip-like http implementation for webRTC load test tool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL