From 671305e2e7f954154b96d3125ff1bd9fa0d42d9e Mon Sep 17 00:00:00 2001 From: Mpnri <47795908+mpnri@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:02:34 +0330 Subject: [PATCH 1/3] Make `RemoteVideoTrack.getReciverStats()` public --- src/room/track/RemoteVideoTrack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/track/RemoteVideoTrack.ts b/src/room/track/RemoteVideoTrack.ts index 6bc4ee6886..1268d95efb 100644 --- a/src/room/track/RemoteVideoTrack.ts +++ b/src/room/track/RemoteVideoTrack.ts @@ -163,7 +163,7 @@ export default class RemoteVideoTrack extends RemoteTrack { this.prevStats = stats; }; - private async getReceiverStats(): Promise { + async getReceiverStats(): Promise { if (!this.receiver || !this.receiver.getStats) { return; } From cc3ba9774569d1b2f9478f8aa313a8ea1e203b6a Mon Sep 17 00:00:00 2001 From: Mpnri <47795908+mpnri@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:05:38 +0330 Subject: [PATCH 2/3] Make `RemoteAudioTrack.getReciverStats()` public --- src/room/track/RemoteAudioTrack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/track/RemoteAudioTrack.ts b/src/room/track/RemoteAudioTrack.ts index f7e67d18bd..6259291b32 100644 --- a/src/room/track/RemoteAudioTrack.ts +++ b/src/room/track/RemoteAudioTrack.ts @@ -233,7 +233,7 @@ export default class RemoteAudioTrack extends RemoteTrack { this.prevStats = stats; }; - protected async getReceiverStats(): Promise { + async getReceiverStats(): Promise { if (!this.receiver || !this.receiver.getStats) { return; } From 7223e1bbf396b7748a74de8cbc278c1f047622e7 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Sat, 16 Nov 2024 11:13:20 -0600 Subject: [PATCH 3/3] Create popular-swans-greet.md --- .changeset/popular-swans-greet.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/popular-swans-greet.md diff --git a/.changeset/popular-swans-greet.md b/.changeset/popular-swans-greet.md new file mode 100644 index 0000000000..f4b0585fc2 --- /dev/null +++ b/.changeset/popular-swans-greet.md @@ -0,0 +1,5 @@ +--- +"livekit-client": patch +--- + +Make Remote Tracks `getSenderStats` method public