@vpalmisano/webrtcperf 4.6.1 → 4.7.1
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 +18 -0
- package/app.min.js +1 -1
- package/build/src/app.js +8 -0
- package/build/src/app.js.map +1 -1
- package/build/src/config.d.ts +7 -0
- package/build/src/config.js +44 -2
- package/build/src/config.js.map +1 -1
- package/build/src/mcp.d.ts +1 -0
- package/build/src/mcp.js +209 -0
- package/build/src/mcp.js.map +1 -0
- package/build/src/scenarios.d.ts +1 -1
- package/build/src/scenarios.js +1 -1
- package/build/src/scenarios.js.map +1 -1
- package/build/src/server.js +5 -5
- package/build/src/server.js.map +1 -1
- package/build/src/stats.d.ts +4 -0
- package/build/src/stats.js +9 -2
- package/build/src/stats.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -12
- package/src/app.ts +9 -0
- package/src/config.ts +38 -2
- package/src/mcp.ts +248 -0
- package/src/scenarios.ts +1 -1
- package/src/server.ts +5 -5
- package/src/stats.ts +10 -2
package/README.md
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/vpalmisano/webrtcperf/actions/workflows/build.yaml)
|
|
6
6
|
|
|
7
|
+
[](https://cursor.com/en/install-mcp?name=webrtcperf&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB2cGFsbWlzYW5vL3dlYnJ0Y3BlcmZAbGF0ZXN0IiwiLS1tY3AiXX0=)
|
|
8
|
+
[](https://insiders.vscode.dev/redirect/mcp/install?name=webrtcperf&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40vpalmisano%2Fwebrtcperf%40latest%22%2C%22--mcp%22%5D%7D)
|
|
9
|
+
|
|
7
10
|
WebRtcPerf is an open-source tool designed for testing WebRTC services with multiple concurrent client connections, measuring the most important RTC statistics and collecting them in an easy way. This documentation will dive into its multiple features and configuration options, showing you how to leverage this tool to gain valuable insights into your real-time communication solutions.
|
|
8
11
|
|
|
9
12
|
## Prerequisites and installation
|
|
@@ -760,6 +763,21 @@ webrtcperf --prompt --dry-run "run a 2min test with 2 sessions on 'https://v3dem
|
|
|
760
763
|
}
|
|
761
764
|
```
|
|
762
765
|
|
|
766
|
+
## MCP Installation
|
|
767
|
+
|
|
768
|
+
To use webrtcperf as an MCP server, add the following configuration:
|
|
769
|
+
|
|
770
|
+
```json
|
|
771
|
+
{
|
|
772
|
+
"mcpServers": {
|
|
773
|
+
"webrtcperf": {
|
|
774
|
+
"command": "npx",
|
|
775
|
+
"args": ["-y", "@vpalmisano/webrtcperf@latest", "--mcp"]
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
```
|
|
780
|
+
|
|
763
781
|
# Authors
|
|
764
782
|
- Vittorio Palmisano [[github](https://github.com/vpalmisano)]
|
|
765
783
|
|