@vpalmisano/webrtcperf 4.2.0 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/app.min.js +1 -1
- package/build/src/app.js +30 -10
- package/build/src/app.js.map +1 -1
- package/build/src/config.d.ts +1 -90
- package/build/src/config.js +7 -5
- package/build/src/config.js.map +1 -1
- package/build/src/session.js +3 -2
- package/build/src/session.js.map +1 -1
- package/build/src/stats.js +19 -18
- package/build/src/stats.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +20 -17
- package/src/app.ts +35 -11
- package/src/config.ts +7 -5
- package/src/session.ts +3 -1
- package/src/stats.ts +4 -2
package/README.md
CHANGED
|
@@ -742,7 +742,22 @@ Example usage:
|
|
|
742
742
|
|
|
743
743
|
```bash
|
|
744
744
|
export GEMINI_API_KEY=<key>
|
|
745
|
-
webrtcperf --prompt "run a 2min test with 2 sessions on 'https://v3demo.mediasoup.org/?roomId=webrtcperf-test-12345
|
|
745
|
+
webrtcperf --prompt "run a 2min test with 2 sessions on 'https://v3demo.mediasoup.org/?roomId=webrtcperf-test-12345' limiting the 2nd session upstream at 1Mbps with 1% packet loss for 30s, 2Mbps for 30s and 1Mbps for all the remaining time"
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
Add the `--dry-run` option to print the generated test configuration without running it:
|
|
749
|
+
|
|
750
|
+
```bash
|
|
751
|
+
webrtcperf --prompt --dry-run "run a 2min test with 2 sessions on 'https://v3demo.mediasoup.org/?roomId=webrtcperf-test-12345' limiting the 2nd session upstream at 1Mbps with 1% packet loss for 30s, 2Mbps for 30s and 1Mbps for all the remaining time"
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
```
|
|
755
|
+
{
|
|
756
|
+
throttleConfig: '[{ sessions: "1", up: [{ rate: 1000, loss: 1, at: 0 }, { rate: 2000, at: 30 }, { rate: 1000, at: 60 }] }]',
|
|
757
|
+
runDuration: 120,
|
|
758
|
+
sessions: 2,
|
|
759
|
+
url: 'https://v3demo.mediasoup.org/?roomId=webrtcperf-test-12345',
|
|
760
|
+
}
|
|
746
761
|
```
|
|
747
762
|
|
|
748
763
|
# Authors
|