File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export type RegisterOutputResponse = {
3232} ;
3333
3434export type StatsResponse = {
35- stats_json ?: string ;
35+ stats_report ?: string ;
3636} ;
3737
3838export class ApiClient {
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ import type {
1515 RtpOutputStatsReport ,
1616} from './stats/output.js' ;
1717
18+ export type StatsReport = {
19+ inputs : Record < string , InputStatsReport > ;
20+ outputs : Record < string , OutputStatsReport > ;
21+ } ;
22+
1823export type InputStatsReport =
1924 | {
2025 rtp : RtpInputStatsReport ;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export type WhipInputStatsReport = {
3232 videoRtp : RtpJitterBufferStatsReport ;
3333 audioRtp : RtpJitterBufferStatsReport ;
3434} ;
35+
3536export type WhepInputStatsReport = {
3637 videoRtp : RtpJitterBufferStatsReport ;
3738 audioRtp : RtpJitterBufferStatsReport ;
You can’t perform that action at this time.
0 commit comments