diff --git a/examples/prebuilt-react-integration/package.json b/examples/prebuilt-react-integration/package.json
index 8c838ca36b..643cb76447 100644
--- a/examples/prebuilt-react-integration/package.json
+++ b/examples/prebuilt-react-integration/package.json
@@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
- "@100mslive/roomkit-react": "0.3.24",
+ "@100mslive/roomkit-react": "0.3.25",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/packages/hls-player/package.json b/packages/hls-player/package.json
index 5e0334e5ed..b0e2fff8e9 100644
--- a/packages/hls-player/package.json
+++ b/packages/hls-player/package.json
@@ -1,6 +1,6 @@
{
"name": "@100mslive/hls-player",
- "version": "0.3.24",
+ "version": "0.3.25",
"description": "HLS client library which uses HTML5 Video element and Media Source Extension for playback",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
@@ -36,7 +36,7 @@
"author": "100ms",
"license": "MIT",
"dependencies": {
- "@100mslive/hls-stats": "0.4.24",
+ "@100mslive/hls-stats": "0.4.25",
"eventemitter2": "^6.4.9",
"hls.js": "1.4.12"
},
diff --git a/packages/hls-stats/package.json b/packages/hls-stats/package.json
index fc3522ae93..6b7f077190 100644
--- a/packages/hls-stats/package.json
+++ b/packages/hls-stats/package.json
@@ -1,6 +1,6 @@
{
"name": "@100mslive/hls-stats",
- "version": "0.4.24",
+ "version": "0.4.25",
"description": "A simple library that provides stats for your hls stream",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
diff --git a/packages/hms-video-store/package.json b/packages/hms-video-store/package.json
index dcfed593f6..d16cebb840 100644
--- a/packages/hms-video-store/package.json
+++ b/packages/hms-video-store/package.json
@@ -1,5 +1,5 @@
{
- "version": "0.12.24",
+ "version": "0.12.25",
"license": "MIT",
"repository": {
"type": "git",
diff --git a/packages/hms-video-store/src/diagnostics/DiagnosticsStatsCollector.ts b/packages/hms-video-store/src/diagnostics/DiagnosticsStatsCollector.ts
index bec0e46874..af12183fae 100644
--- a/packages/hms-video-store/src/diagnostics/DiagnosticsStatsCollector.ts
+++ b/packages/hms-video-store/src/diagnostics/DiagnosticsStatsCollector.ts
@@ -67,7 +67,9 @@ export class DiagnosticsStatsCollector {
const ridAveragedVideoBitrateList = this.localVideoTrackStatsList.map(trackStatsMap =>
trackStatsMap ? calculateAverage(Object.values(trackStatsMap), curr => curr.bitrate) : 0,
);
-
+ const audioJitter = getLastElement(this.remoteAudioTrackStatsList)?.jitter || 0;
+ const videoJitter = getLastElement(this.remoteVideoTrackStatsList)?.jitter || 0;
+ const jitter = Math.max(audioJitter, videoJitter);
const lastLocalAudioTrackStats = getLastElement(this.localAudioTrackStatsList);
const lastLocalVideoTrackStats = getLastElement(this.localVideoTrackStatsList);
@@ -80,6 +82,7 @@ export class DiagnosticsStatsCollector {
bytesReceived: lastSubscribeStats?.bytesReceived || 0,
bitrateSent: calculateAverage(this.peerStatsList, curr => curr.publish?.bitrate),
bitrateReceived: calculateAverage(this.peerStatsList, curr => curr.subscribe?.bitrate),
+ jitter: jitter,
},
audio: {
roundTripTime,
@@ -91,6 +94,7 @@ export class DiagnosticsStatsCollector {
bytesSent: lastLocalAudioTrackStats
? Object.values(lastLocalAudioTrackStats).reduce((acc, curr) => acc + (curr.bytesSent || 0), 0)
: 0,
+ jitter: audioJitter,
},
video: {
roundTripTime,
@@ -102,6 +106,7 @@ export class DiagnosticsStatsCollector {
bytesSent: lastLocalVideoTrackStats
? Object.values(lastLocalVideoTrackStats).reduce((acc, curr) => acc + (curr.bytesSent || 0), 0)
: 0,
+ jitter: videoJitter,
},
};
}
diff --git a/packages/hms-video-store/src/diagnostics/interfaces.ts b/packages/hms-video-store/src/diagnostics/interfaces.ts
index 3a5b1f8dd2..8be0202847 100644
--- a/packages/hms-video-store/src/diagnostics/interfaces.ts
+++ b/packages/hms-video-store/src/diagnostics/interfaces.ts
@@ -88,4 +88,5 @@ export interface DiagnosticsRTCStats {
bitrateSent: number;
bitrateReceived: number;
roundTripTime: number;
+ jitter: number;
}
diff --git a/packages/hms-virtual-background/package.json b/packages/hms-virtual-background/package.json
index ea92e54b17..79b754309d 100755
--- a/packages/hms-virtual-background/package.json
+++ b/packages/hms-virtual-background/package.json
@@ -1,5 +1,5 @@
{
- "version": "1.13.24",
+ "version": "1.13.25",
"license": "MIT",
"name": "@100mslive/hms-virtual-background",
"author": "100ms",
@@ -62,10 +62,10 @@
"format": "prettier --write src/**/*.ts"
},
"peerDependencies": {
- "@100mslive/hms-video-store": "0.12.24"
+ "@100mslive/hms-video-store": "0.12.25"
},
"devDependencies": {
- "@100mslive/hms-video-store": "0.12.24"
+ "@100mslive/hms-video-store": "0.12.25"
},
"dependencies": {
"@mediapipe/selfie_segmentation": "^0.1.1632777926",
diff --git a/packages/hms-whiteboard/package.json b/packages/hms-whiteboard/package.json
index 99390f3495..5692c97880 100644
--- a/packages/hms-whiteboard/package.json
+++ b/packages/hms-whiteboard/package.json
@@ -2,7 +2,7 @@
"name": "@100mslive/hms-whiteboard",
"author": "100ms",
"license": "MIT",
- "version": "0.0.14",
+ "version": "0.0.15",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json
index 024bf193d9..84da688e74 100644
--- a/packages/react-icons/package.json
+++ b/packages/react-icons/package.json
@@ -4,7 +4,7 @@
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
- "version": "0.10.24",
+ "version": "0.10.25",
"author": "100ms",
"license": "MIT",
"repository": {
diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json
index 0244fc3621..8af62c9e6d 100644
--- a/packages/react-sdk/package.json
+++ b/packages/react-sdk/package.json
@@ -4,7 +4,7 @@
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
- "version": "0.10.24",
+ "version": "0.10.25",
"author": "100ms",
"license": "MIT",
"repository": {
@@ -48,7 +48,7 @@
"react": ">=16.8 <19.0.0"
},
"dependencies": {
- "@100mslive/hms-video-store": "0.12.24",
+ "@100mslive/hms-video-store": "0.12.25",
"react-resize-detector": "^7.0.0",
"zustand": "^3.6.2"
}
diff --git a/packages/roomkit-react/package.json b/packages/roomkit-react/package.json
index a816c1bea7..f9b84818ae 100644
--- a/packages/roomkit-react/package.json
+++ b/packages/roomkit-react/package.json
@@ -10,7 +10,7 @@
"prebuilt",
"roomkit"
],
- "version": "0.3.24",
+ "version": "0.3.25",
"author": "100ms",
"license": "MIT",
"repository": {
@@ -75,12 +75,12 @@
"react": ">=17.0.2 <19.0.0"
},
"dependencies": {
- "@100mslive/hls-player": "0.3.24",
- "@100mslive/hms-noise-cancellation": "0.0.1",
- "@100mslive/hms-virtual-background": "1.13.24",
- "@100mslive/hms-whiteboard": "0.0.14",
- "@100mslive/react-icons": "0.10.24",
- "@100mslive/react-sdk": "0.10.24",
+ "@100mslive/hls-player": "0.3.25",
+ "@100mslive/hms-noise-cancellation": "0.0.2-alpha.8",
+ "@100mslive/hms-virtual-background": "1.13.25",
+ "@100mslive/hms-whiteboard": "0.0.15",
+ "@100mslive/react-icons": "0.10.25",
+ "@100mslive/react-sdk": "0.10.25",
"@100mslive/types-prebuilt": "0.12.12",
"@emoji-mart/data": "^1.0.6",
"@emoji-mart/react": "^1.0.1",
diff --git a/packages/roomkit-react/src/Diagnostics/ConnectivityTest.tsx b/packages/roomkit-react/src/Diagnostics/ConnectivityTest.tsx
index 4ea61570a0..008d06505f 100644
--- a/packages/roomkit-react/src/Diagnostics/ConnectivityTest.tsx
+++ b/packages/roomkit-react/src/Diagnostics/ConnectivityTest.tsx
@@ -164,6 +164,7 @@ const AudioStats = ({ stats }: { stats: DiagnosticsRTCStats | undefined }) => {
+
)}
@@ -182,6 +183,7 @@ const VideoStats = ({ stats }: { stats: DiagnosticsRTCStats | undefined }) => {
+
)}
diff --git a/packages/roomkit-web/package.json b/packages/roomkit-web/package.json
index b8ed70a12e..c1dc9eeb6e 100644
--- a/packages/roomkit-web/package.json
+++ b/packages/roomkit-web/package.json
@@ -1,6 +1,6 @@
{
"name": "@100mslive/roomkit-web",
- "version": "0.2.24",
+ "version": "0.2.25",
"description": "A web component implementation of 100ms Prebuilt component",
"keywords": [
"web-components",
@@ -33,7 +33,7 @@
"build": "rm -rf dist && node ../../scripts/build-webapp"
},
"dependencies": {
- "@100mslive/roomkit-react": "0.3.24",
+ "@100mslive/roomkit-react": "0.3.25",
"@r2wc/react-to-web-component": "2.0.2"
}
}
diff --git a/yarn.lock b/yarn.lock
index 59bcf1b61a..50234ebf62 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,10 +2,10 @@
# yarn lockfile v1
-"@100mslive/hms-noise-cancellation@0.0.1":
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/@100mslive/hms-noise-cancellation/-/hms-noise-cancellation-0.0.1.tgz#037c8bdfb6b2d7bf12f9d257422150fe6ca43acb"
- integrity sha512-DGnzcXRDJREWypIjGX70er+f2k/XLLRF41lrXPs1+PtB1imdEkECPPS0Fg4BA0BCWKDNAGTZBHZPrBDgUmr9Lw==
+"@100mslive/hms-noise-cancellation@0.0.2-alpha.8":
+ version "0.0.2-alpha.8"
+ resolved "https://registry.yarnpkg.com/@100mslive/hms-noise-cancellation/-/hms-noise-cancellation-0.0.2-alpha.8.tgz#0cdd4801ad0a85e7c09ad7fe760840d897619ba3"
+ integrity sha512-1NKK3P+8Mb/lQMuDu3+VOEwFjMhGD5yiz94C6c2yVpv7/q3n6XDbkdTycnmWNpoOqW5AfMPr8DtxD/dYQkhUOA==
"@100mslive/types-prebuilt@0.12.12":
version "0.12.12"