Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@testrtc/watchrtc-sdk

Package Overview
Dependencies
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testrtc/watchrtc-sdk - npm Package Compare versions

Comparing version 1.40.1-beta.2 to 1.40.1-beta.3

2

lib/version.d.ts

@@ -1,2 +0,2 @@

declare const _default: "1.40.1-beta.2";
declare const _default: "1.40.1-beta.3";
export default _default;
{
"name": "@testrtc/watchrtc-sdk",
"version": "1.40.1-beta.2",
"version": "1.40.1-beta.3",
"description": "Monitor your WebRTC application by collecting WebRTC statistics from end users",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -230,3 +230,3 @@ # watchRTC JS SDK

**Be careful, this API is in beta. API and content could change in the next version.**
**Be careful, this API is in beta. API and content could change in future releases.**
Once a call is established, WatchRTC exposes WebRTC statistics collected from the existing RTCPeerConnections. Accessing to these statistics can be done by adding a listener from the application.

@@ -302,2 +302,33 @@

## qualityRTC integration
If you have licensed qualityRTC, then you can also conduct ad-hoc network tests to your agents and users as an integral part of your application, to quickly understand and troubleshoot WebRTC connectivity and quality issues.
Learn more about [qualityRTC SDK](https://support.testrtc.com/hc/en-us/articles/9952384403343-Using-qualityRTC-SDK).
### Usage
```javascript
const progressCallback = (progress: number) => {
console.log(`runNetworkTest progressCallback ${progress}%`, {});
}
const runNetworkTest = async (testName: string) => {
const answer = await watchRTC.qualityrtc.run({
options: {
// run: "Location",
// any other parameter from https://testrtc.com/docs/url-parameters-in-qualityrtc/
},
progressCallback
});
// any time can call stop to stop the test
// watchRTC.qualityrtc.stop();
// answer is in the format described in https://testrtc.com/docs/webhook-support-in-qualityrtc/
console.log(`runNetworkTest answer`, answer);
}
```
## Samples

@@ -310,4 +341,8 @@

### 1.40.1.beta-2 (Jun 6, 2024)
### 1.40.1.beta-3 (Jun 12, 2024)
- Documented the interface for qualityRTC.
### 1.40.1.beta-2 (Jun 12, 2024)
- Release the internal listeners on local tracks when the RTCPeerConnection is closed to let the garbage collector remove this peer-connection properly

@@ -314,0 +349,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc