// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.1 with parameter "js_import_style=legacy_commonjs" // @generated from file stats.proto (package livekit.proto, syntax proto2) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto2 } from "@bufbuild/protobuf"; /** * @generated from enum livekit.proto.DataChannelState */ export declare enum DataChannelState { /** * @generated from enum value: DC_CONNECTING = 0; */ DC_CONNECTING = 0, /** * @generated from enum value: DC_OPEN = 1; */ DC_OPEN = 1, /** * @generated from enum value: DC_CLOSING = 2; */ DC_CLOSING = 2, /** * @generated from enum value: DC_CLOSED = 3; */ DC_CLOSED = 3, } /** * @generated from enum livekit.proto.QualityLimitationReason */ export declare enum QualityLimitationReason { /** * @generated from enum value: LIMITATION_NONE = 0; */ LIMITATION_NONE = 0, /** * @generated from enum value: LIMITATION_CPU = 1; */ LIMITATION_CPU = 1, /** * @generated from enum value: LIMITATION_BANDWIDTH = 2; */ LIMITATION_BANDWIDTH = 2, /** * @generated from enum value: LIMITATION_OTHER = 3; */ LIMITATION_OTHER = 3, } /** * @generated from enum livekit.proto.IceRole */ export declare enum IceRole { /** * @generated from enum value: ICE_UNKNOWN = 0; */ ICE_UNKNOWN = 0, /** * @generated from enum value: ICE_CONTROLLING = 1; */ ICE_CONTROLLING = 1, /** * @generated from enum value: ICE_CONTROLLED = 2; */ ICE_CONTROLLED = 2, } /** * @generated from enum livekit.proto.DtlsTransportState */ export declare enum DtlsTransportState { /** * @generated from enum value: DTLS_TRANSPORT_NEW = 0; */ DTLS_TRANSPORT_NEW = 0, /** * @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1; */ DTLS_TRANSPORT_CONNECTING = 1, /** * @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2; */ DTLS_TRANSPORT_CONNECTED = 2, /** * @generated from enum value: DTLS_TRANSPORT_CLOSED = 3; */ DTLS_TRANSPORT_CLOSED = 3, /** * @generated from enum value: DTLS_TRANSPORT_FAILED = 4; */ DTLS_TRANSPORT_FAILED = 4, } /** * @generated from enum livekit.proto.IceTransportState */ export declare enum IceTransportState { /** * @generated from enum value: ICE_TRANSPORT_NEW = 0; */ ICE_TRANSPORT_NEW = 0, /** * @generated from enum value: ICE_TRANSPORT_CHECKING = 1; */ ICE_TRANSPORT_CHECKING = 1, /** * @generated from enum value: ICE_TRANSPORT_CONNECTED = 2; */ ICE_TRANSPORT_CONNECTED = 2, /** * @generated from enum value: ICE_TRANSPORT_COMPLETED = 3; */ ICE_TRANSPORT_COMPLETED = 3, /** * @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4; */ ICE_TRANSPORT_DISCONNECTED = 4, /** * @generated from enum value: ICE_TRANSPORT_FAILED = 5; */ ICE_TRANSPORT_FAILED = 5, /** * @generated from enum value: ICE_TRANSPORT_CLOSED = 6; */ ICE_TRANSPORT_CLOSED = 6, } /** * @generated from enum livekit.proto.DtlsRole */ export declare enum DtlsRole { /** * @generated from enum value: DTLS_CLIENT = 0; */ DTLS_CLIENT = 0, /** * @generated from enum value: DTLS_SERVER = 1; */ DTLS_SERVER = 1, /** * @generated from enum value: DTLS_UNKNOWN = 2; */ DTLS_UNKNOWN = 2, } /** * @generated from enum livekit.proto.IceCandidatePairState */ export declare enum IceCandidatePairState { /** * @generated from enum value: PAIR_FROZEN = 0; */ PAIR_FROZEN = 0, /** * @generated from enum value: PAIR_WAITING = 1; */ PAIR_WAITING = 1, /** * @generated from enum value: PAIR_IN_PROGRESS = 2; */ PAIR_IN_PROGRESS = 2, /** * @generated from enum value: PAIR_FAILED = 3; */ PAIR_FAILED = 3, /** * @generated from enum value: PAIR_SUCCEEDED = 4; */ PAIR_SUCCEEDED = 4, } /** * @generated from enum livekit.proto.IceCandidateType */ export declare enum IceCandidateType { /** * @generated from enum value: HOST = 0; */ HOST = 0, /** * @generated from enum value: SRFLX = 1; */ SRFLX = 1, /** * @generated from enum value: PRFLX = 2; */ PRFLX = 2, /** * @generated from enum value: RELAY = 3; */ RELAY = 3, } /** * @generated from enum livekit.proto.IceServerTransportProtocol */ export declare enum IceServerTransportProtocol { /** * @generated from enum value: TRANSPORT_UDP = 0; */ TRANSPORT_UDP = 0, /** * @generated from enum value: TRANSPORT_TCP = 1; */ TRANSPORT_TCP = 1, /** * @generated from enum value: TRANSPORT_TLS = 2; */ TRANSPORT_TLS = 2, } /** * @generated from enum livekit.proto.IceTcpCandidateType */ export declare enum IceTcpCandidateType { /** * @generated from enum value: CANDIDATE_ACTIVE = 0; */ CANDIDATE_ACTIVE = 0, /** * @generated from enum value: CANDIDATE_PASSIVE = 1; */ CANDIDATE_PASSIVE = 1, /** * @generated from enum value: CANDIDATE_SO = 2; */ CANDIDATE_SO = 2, } /** * @generated from message livekit.proto.RtcStats */ export declare class RtcStats extends Message { /** * @generated from oneof livekit.proto.RtcStats.stats */ stats: { /** * @generated from field: livekit.proto.RtcStats.Codec codec = 3; */ value: RtcStats_Codec; case: "codec"; } | { /** * @generated from field: livekit.proto.RtcStats.InboundRtp inbound_rtp = 4; */ value: RtcStats_InboundRtp; case: "inboundRtp"; } | { /** * @generated from field: livekit.proto.RtcStats.OutboundRtp outbound_rtp = 5; */ value: RtcStats_OutboundRtp; case: "outboundRtp"; } | { /** * @generated from field: livekit.proto.RtcStats.RemoteInboundRtp remote_inbound_rtp = 6; */ value: RtcStats_RemoteInboundRtp; case: "remoteInboundRtp"; } | { /** * @generated from field: livekit.proto.RtcStats.RemoteOutboundRtp remote_outbound_rtp = 7; */ value: RtcStats_RemoteOutboundRtp; case: "remoteOutboundRtp"; } | { /** * @generated from field: livekit.proto.RtcStats.MediaSource media_source = 8; */ value: RtcStats_MediaSource; case: "mediaSource"; } | { /** * @generated from field: livekit.proto.RtcStats.MediaPlayout media_playout = 9; */ value: RtcStats_MediaPlayout; case: "mediaPlayout"; } | { /** * @generated from field: livekit.proto.RtcStats.PeerConnection peer_connection = 10; */ value: RtcStats_PeerConnection; case: "peerConnection"; } | { /** * @generated from field: livekit.proto.RtcStats.DataChannel data_channel = 11; */ value: RtcStats_DataChannel; case: "dataChannel"; } | { /** * @generated from field: livekit.proto.RtcStats.Transport transport = 12; */ value: RtcStats_Transport; case: "transport"; } | { /** * @generated from field: livekit.proto.RtcStats.CandidatePair candidate_pair = 13; */ value: RtcStats_CandidatePair; case: "candidatePair"; } | { /** * @generated from field: livekit.proto.RtcStats.LocalCandidate local_candidate = 14; */ value: RtcStats_LocalCandidate; case: "localCandidate"; } | { /** * @generated from field: livekit.proto.RtcStats.RemoteCandidate remote_candidate = 15; */ value: RtcStats_RemoteCandidate; case: "remoteCandidate"; } | { /** * @generated from field: livekit.proto.RtcStats.Certificate certificate = 16; */ value: RtcStats_Certificate; case: "certificate"; } | { /** * @generated from field: livekit.proto.RtcStats.Stream stream = 17; */ value: RtcStats_Stream; case: "stream"; } | { /** * @generated from field: livekit.proto.RtcStats.Track track = 18; */ value: RtcStats_Track; case: "track"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats; static fromJsonString(jsonString: string, options?: Partial): RtcStats; static equals(a: RtcStats | PlainMessage | undefined, b: RtcStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.Codec */ export declare class RtcStats_Codec extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.CodecStats codec = 2; */ codec?: CodecStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.Codec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_Codec; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_Codec; static fromJsonString(jsonString: string, options?: Partial): RtcStats_Codec; static equals(a: RtcStats_Codec | PlainMessage | undefined, b: RtcStats_Codec | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.InboundRtp */ export declare class RtcStats_InboundRtp extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.RtpStreamStats stream = 2; */ stream?: RtpStreamStats; /** * @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3; */ received?: ReceivedRtpStreamStats; /** * @generated from field: required livekit.proto.InboundRtpStreamStats inbound = 4; */ inbound?: InboundRtpStreamStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.InboundRtp"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_InboundRtp; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_InboundRtp; static fromJsonString(jsonString: string, options?: Partial): RtcStats_InboundRtp; static equals(a: RtcStats_InboundRtp | PlainMessage | undefined, b: RtcStats_InboundRtp | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.OutboundRtp */ export declare class RtcStats_OutboundRtp extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.RtpStreamStats stream = 2; */ stream?: RtpStreamStats; /** * @generated from field: required livekit.proto.SentRtpStreamStats sent = 3; */ sent?: SentRtpStreamStats; /** * @generated from field: required livekit.proto.OutboundRtpStreamStats outbound = 4; */ outbound?: OutboundRtpStreamStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.OutboundRtp"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_OutboundRtp; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_OutboundRtp; static fromJsonString(jsonString: string, options?: Partial): RtcStats_OutboundRtp; static equals(a: RtcStats_OutboundRtp | PlainMessage | undefined, b: RtcStats_OutboundRtp | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.RemoteInboundRtp */ export declare class RtcStats_RemoteInboundRtp extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.RtpStreamStats stream = 2; */ stream?: RtpStreamStats; /** * @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3; */ received?: ReceivedRtpStreamStats; /** * @generated from field: required livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4; */ remoteInbound?: RemoteInboundRtpStreamStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.RemoteInboundRtp"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_RemoteInboundRtp; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_RemoteInboundRtp; static fromJsonString(jsonString: string, options?: Partial): RtcStats_RemoteInboundRtp; static equals(a: RtcStats_RemoteInboundRtp | PlainMessage | undefined, b: RtcStats_RemoteInboundRtp | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.RemoteOutboundRtp */ export declare class RtcStats_RemoteOutboundRtp extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.RtpStreamStats stream = 2; */ stream?: RtpStreamStats; /** * @generated from field: required livekit.proto.SentRtpStreamStats sent = 3; */ sent?: SentRtpStreamStats; /** * @generated from field: required livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4; */ remoteOutbound?: RemoteOutboundRtpStreamStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.RemoteOutboundRtp"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_RemoteOutboundRtp; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_RemoteOutboundRtp; static fromJsonString(jsonString: string, options?: Partial): RtcStats_RemoteOutboundRtp; static equals(a: RtcStats_RemoteOutboundRtp | PlainMessage | undefined, b: RtcStats_RemoteOutboundRtp | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.MediaSource */ export declare class RtcStats_MediaSource extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.MediaSourceStats source = 2; */ source?: MediaSourceStats; /** * @generated from field: required livekit.proto.AudioSourceStats audio = 3; */ audio?: AudioSourceStats; /** * @generated from field: required livekit.proto.VideoSourceStats video = 4; */ video?: VideoSourceStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.MediaSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_MediaSource; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_MediaSource; static fromJsonString(jsonString: string, options?: Partial): RtcStats_MediaSource; static equals(a: RtcStats_MediaSource | PlainMessage | undefined, b: RtcStats_MediaSource | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.MediaPlayout */ export declare class RtcStats_MediaPlayout extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.AudioPlayoutStats audio_playout = 2; */ audioPlayout?: AudioPlayoutStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.MediaPlayout"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_MediaPlayout; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_MediaPlayout; static fromJsonString(jsonString: string, options?: Partial): RtcStats_MediaPlayout; static equals(a: RtcStats_MediaPlayout | PlainMessage | undefined, b: RtcStats_MediaPlayout | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.PeerConnection */ export declare class RtcStats_PeerConnection extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.PeerConnectionStats pc = 2; */ pc?: PeerConnectionStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.PeerConnection"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_PeerConnection; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_PeerConnection; static fromJsonString(jsonString: string, options?: Partial): RtcStats_PeerConnection; static equals(a: RtcStats_PeerConnection | PlainMessage | undefined, b: RtcStats_PeerConnection | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.DataChannel */ export declare class RtcStats_DataChannel extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.DataChannelStats dc = 2; */ dc?: DataChannelStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.DataChannel"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_DataChannel; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_DataChannel; static fromJsonString(jsonString: string, options?: Partial): RtcStats_DataChannel; static equals(a: RtcStats_DataChannel | PlainMessage | undefined, b: RtcStats_DataChannel | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.Transport */ export declare class RtcStats_Transport extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.TransportStats transport = 2; */ transport?: TransportStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.Transport"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_Transport; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_Transport; static fromJsonString(jsonString: string, options?: Partial): RtcStats_Transport; static equals(a: RtcStats_Transport | PlainMessage | undefined, b: RtcStats_Transport | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.CandidatePair */ export declare class RtcStats_CandidatePair extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.CandidatePairStats candidate_pair = 2; */ candidatePair?: CandidatePairStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.CandidatePair"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_CandidatePair; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_CandidatePair; static fromJsonString(jsonString: string, options?: Partial): RtcStats_CandidatePair; static equals(a: RtcStats_CandidatePair | PlainMessage | undefined, b: RtcStats_CandidatePair | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.LocalCandidate */ export declare class RtcStats_LocalCandidate extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.IceCandidateStats candidate = 2; */ candidate?: IceCandidateStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.LocalCandidate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_LocalCandidate; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_LocalCandidate; static fromJsonString(jsonString: string, options?: Partial): RtcStats_LocalCandidate; static equals(a: RtcStats_LocalCandidate | PlainMessage | undefined, b: RtcStats_LocalCandidate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.RemoteCandidate */ export declare class RtcStats_RemoteCandidate extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.IceCandidateStats candidate = 2; */ candidate?: IceCandidateStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.RemoteCandidate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_RemoteCandidate; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_RemoteCandidate; static fromJsonString(jsonString: string, options?: Partial): RtcStats_RemoteCandidate; static equals(a: RtcStats_RemoteCandidate | PlainMessage | undefined, b: RtcStats_RemoteCandidate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.Certificate */ export declare class RtcStats_Certificate extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.CertificateStats certificate = 2; */ certificate?: CertificateStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.Certificate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_Certificate; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_Certificate; static fromJsonString(jsonString: string, options?: Partial): RtcStats_Certificate; static equals(a: RtcStats_Certificate | PlainMessage | undefined, b: RtcStats_Certificate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStats.Stream */ export declare class RtcStats_Stream extends Message { /** * @generated from field: required livekit.proto.RtcStatsData rtc = 1; */ rtc?: RtcStatsData; /** * @generated from field: required livekit.proto.StreamStats stream = 2; */ stream?: StreamStats; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.Stream"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_Stream; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_Stream; static fromJsonString(jsonString: string, options?: Partial): RtcStats_Stream; static equals(a: RtcStats_Stream | PlainMessage | undefined, b: RtcStats_Stream | PlainMessage | undefined): boolean; } /** * Deprecated * * @generated from message livekit.proto.RtcStats.Track */ export declare class RtcStats_Track extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStats.Track"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStats_Track; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStats_Track; static fromJsonString(jsonString: string, options?: Partial): RtcStats_Track; static equals(a: RtcStats_Track | PlainMessage | undefined, b: RtcStats_Track | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtcStatsData */ export declare class RtcStatsData extends Message { /** * @generated from field: required string id = 1; */ id?: string; /** * @generated from field: required int64 timestamp = 2; */ timestamp?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtcStatsData"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtcStatsData; static fromJson(jsonValue: JsonValue, options?: Partial): RtcStatsData; static fromJsonString(jsonString: string, options?: Partial): RtcStatsData; static equals(a: RtcStatsData | PlainMessage | undefined, b: RtcStatsData | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.CodecStats */ export declare class CodecStats extends Message { /** * @generated from field: required uint32 payload_type = 1; */ payloadType?: number; /** * @generated from field: required string transport_id = 2; */ transportId?: string; /** * @generated from field: required string mime_type = 3; */ mimeType?: string; /** * @generated from field: required uint32 clock_rate = 4; */ clockRate?: number; /** * @generated from field: required uint32 channels = 5; */ channels?: number; /** * @generated from field: required string sdp_fmtp_line = 6; */ sdpFmtpLine?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.CodecStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CodecStats; static fromJson(jsonValue: JsonValue, options?: Partial): CodecStats; static fromJsonString(jsonString: string, options?: Partial): CodecStats; static equals(a: CodecStats | PlainMessage | undefined, b: CodecStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RtpStreamStats */ export declare class RtpStreamStats extends Message { /** * @generated from field: required uint32 ssrc = 1; */ ssrc?: number; /** * @generated from field: required string kind = 2; */ kind?: string; /** * @generated from field: required string transport_id = 3; */ transportId?: string; /** * @generated from field: required string codec_id = 4; */ codecId?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): RtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): RtpStreamStats; static equals(a: RtpStreamStats | PlainMessage | undefined, b: RtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.ReceivedRtpStreamStats */ export declare class ReceivedRtpStreamStats extends Message { /** * @generated from field: required uint64 packets_received = 1; */ packetsReceived?: bigint; /** * @generated from field: required int64 packets_lost = 2; */ packetsLost?: bigint; /** * @generated from field: required double jitter = 3; */ jitter?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.ReceivedRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReceivedRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): ReceivedRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): ReceivedRtpStreamStats; static equals(a: ReceivedRtpStreamStats | PlainMessage | undefined, b: ReceivedRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.InboundRtpStreamStats */ export declare class InboundRtpStreamStats extends Message { /** * @generated from field: required string track_identifier = 1; */ trackIdentifier?: string; /** * @generated from field: required string mid = 2; */ mid?: string; /** * @generated from field: required string remote_id = 3; */ remoteId?: string; /** * @generated from field: required uint32 frames_decoded = 4; */ framesDecoded?: number; /** * @generated from field: required uint32 key_frames_decoded = 5; */ keyFramesDecoded?: number; /** * @generated from field: required uint32 frames_rendered = 6; */ framesRendered?: number; /** * @generated from field: required uint32 frames_dropped = 7; */ framesDropped?: number; /** * @generated from field: required uint32 frame_width = 8; */ frameWidth?: number; /** * @generated from field: required uint32 frame_height = 9; */ frameHeight?: number; /** * @generated from field: required double frames_per_second = 10; */ framesPerSecond?: number; /** * @generated from field: required uint64 qp_sum = 11; */ qpSum?: bigint; /** * @generated from field: required double total_decode_time = 12; */ totalDecodeTime?: number; /** * @generated from field: required double total_inter_frame_delay = 13; */ totalInterFrameDelay?: number; /** * @generated from field: required double total_squared_inter_frame_delay = 14; */ totalSquaredInterFrameDelay?: number; /** * @generated from field: required uint32 pause_count = 15; */ pauseCount?: number; /** * @generated from field: required double total_pause_duration = 16; */ totalPauseDuration?: number; /** * @generated from field: required uint32 freeze_count = 17; */ freezeCount?: number; /** * @generated from field: required double total_freeze_duration = 18; */ totalFreezeDuration?: number; /** * @generated from field: required double last_packet_received_timestamp = 19; */ lastPacketReceivedTimestamp?: number; /** * @generated from field: required uint64 header_bytes_received = 20; */ headerBytesReceived?: bigint; /** * @generated from field: required uint64 packets_discarded = 21; */ packetsDiscarded?: bigint; /** * @generated from field: required uint64 fec_bytes_received = 22; */ fecBytesReceived?: bigint; /** * @generated from field: required uint64 fec_packets_received = 23; */ fecPacketsReceived?: bigint; /** * @generated from field: required uint64 fec_packets_discarded = 24; */ fecPacketsDiscarded?: bigint; /** * @generated from field: required uint64 bytes_received = 25; */ bytesReceived?: bigint; /** * @generated from field: required uint32 nack_count = 26; */ nackCount?: number; /** * @generated from field: required uint32 fir_count = 27; */ firCount?: number; /** * @generated from field: required uint32 pli_count = 28; */ pliCount?: number; /** * @generated from field: required double total_processing_delay = 29; */ totalProcessingDelay?: number; /** * @generated from field: required double estimated_playout_timestamp = 30; */ estimatedPlayoutTimestamp?: number; /** * @generated from field: required double jitter_buffer_delay = 31; */ jitterBufferDelay?: number; /** * @generated from field: required double jitter_buffer_target_delay = 32; */ jitterBufferTargetDelay?: number; /** * @generated from field: required uint64 jitter_buffer_emitted_count = 33; */ jitterBufferEmittedCount?: bigint; /** * @generated from field: required double jitter_buffer_minimum_delay = 34; */ jitterBufferMinimumDelay?: number; /** * @generated from field: required uint64 total_samples_received = 35; */ totalSamplesReceived?: bigint; /** * @generated from field: required uint64 concealed_samples = 36; */ concealedSamples?: bigint; /** * @generated from field: required uint64 silent_concealed_samples = 37; */ silentConcealedSamples?: bigint; /** * @generated from field: required uint64 concealment_events = 38; */ concealmentEvents?: bigint; /** * @generated from field: required uint64 inserted_samples_for_deceleration = 39; */ insertedSamplesForDeceleration?: bigint; /** * @generated from field: required uint64 removed_samples_for_acceleration = 40; */ removedSamplesForAcceleration?: bigint; /** * @generated from field: required double audio_level = 41; */ audioLevel?: number; /** * @generated from field: required double total_audio_energy = 42; */ totalAudioEnergy?: number; /** * @generated from field: required double total_samples_duration = 43; */ totalSamplesDuration?: number; /** * @generated from field: required uint64 frames_received = 44; */ framesReceived?: bigint; /** * @generated from field: required string decoder_implementation = 45; */ decoderImplementation?: string; /** * @generated from field: required string playout_id = 46; */ playoutId?: string; /** * @generated from field: required bool power_efficient_decoder = 47; */ powerEfficientDecoder?: boolean; /** * @generated from field: required uint64 frames_assembled_from_multiple_packets = 48; */ framesAssembledFromMultiplePackets?: bigint; /** * @generated from field: required double total_assembly_time = 49; */ totalAssemblyTime?: number; /** * @generated from field: required uint64 retransmitted_packets_received = 50; */ retransmittedPacketsReceived?: bigint; /** * @generated from field: required uint64 retransmitted_bytes_received = 51; */ retransmittedBytesReceived?: bigint; /** * @generated from field: required uint32 rtx_ssrc = 52; */ rtxSsrc?: number; /** * @generated from field: required uint32 fec_ssrc = 53; */ fecSsrc?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.InboundRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InboundRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): InboundRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): InboundRtpStreamStats; static equals(a: InboundRtpStreamStats | PlainMessage | undefined, b: InboundRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.SentRtpStreamStats */ export declare class SentRtpStreamStats extends Message { /** * @generated from field: required uint64 packets_sent = 1; */ packetsSent?: bigint; /** * @generated from field: required uint64 bytes_sent = 2; */ bytesSent?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.SentRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SentRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): SentRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): SentRtpStreamStats; static equals(a: SentRtpStreamStats | PlainMessage | undefined, b: SentRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OutboundRtpStreamStats */ export declare class OutboundRtpStreamStats extends Message { /** * @generated from field: required string mid = 1; */ mid?: string; /** * @generated from field: required string media_source_id = 2; */ mediaSourceId?: string; /** * @generated from field: required string remote_id = 3; */ remoteId?: string; /** * @generated from field: required string rid = 4; */ rid?: string; /** * @generated from field: required uint64 header_bytes_sent = 5; */ headerBytesSent?: bigint; /** * @generated from field: required uint64 retransmitted_packets_sent = 6; */ retransmittedPacketsSent?: bigint; /** * @generated from field: required uint64 retransmitted_bytes_sent = 7; */ retransmittedBytesSent?: bigint; /** * @generated from field: required uint32 rtx_ssrc = 8; */ rtxSsrc?: number; /** * @generated from field: required double target_bitrate = 9; */ targetBitrate?: number; /** * @generated from field: required uint64 total_encoded_bytes_target = 10; */ totalEncodedBytesTarget?: bigint; /** * @generated from field: required uint32 frame_width = 11; */ frameWidth?: number; /** * @generated from field: required uint32 frame_height = 12; */ frameHeight?: number; /** * @generated from field: required double frames_per_second = 13; */ framesPerSecond?: number; /** * @generated from field: required uint32 frames_sent = 14; */ framesSent?: number; /** * @generated from field: required uint32 huge_frames_sent = 15; */ hugeFramesSent?: number; /** * @generated from field: required uint32 frames_encoded = 16; */ framesEncoded?: number; /** * @generated from field: required uint32 key_frames_encoded = 17; */ keyFramesEncoded?: number; /** * @generated from field: required uint64 qp_sum = 18; */ qpSum?: bigint; /** * @generated from field: required double total_encode_time = 19; */ totalEncodeTime?: number; /** * @generated from field: required double total_packet_send_delay = 20; */ totalPacketSendDelay?: number; /** * @generated from field: required livekit.proto.QualityLimitationReason quality_limitation_reason = 21; */ qualityLimitationReason?: QualityLimitationReason; /** * @generated from field: map quality_limitation_durations = 22; */ qualityLimitationDurations: { [key: string]: number }; /** * @generated from field: required uint32 quality_limitation_resolution_changes = 23; */ qualityLimitationResolutionChanges?: number; /** * @generated from field: required uint32 nack_count = 24; */ nackCount?: number; /** * @generated from field: required uint32 fir_count = 25; */ firCount?: number; /** * @generated from field: required uint32 pli_count = 26; */ pliCount?: number; /** * @generated from field: required string encoder_implementation = 27; */ encoderImplementation?: string; /** * @generated from field: required bool power_efficient_encoder = 28; */ powerEfficientEncoder?: boolean; /** * @generated from field: required bool active = 29; */ active?: boolean; /** * @generated from field: required string scalability_mode = 30; */ scalabilityMode?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OutboundRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OutboundRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): OutboundRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): OutboundRtpStreamStats; static equals(a: OutboundRtpStreamStats | PlainMessage | undefined, b: OutboundRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RemoteInboundRtpStreamStats */ export declare class RemoteInboundRtpStreamStats extends Message { /** * @generated from field: required string local_id = 1; */ localId?: string; /** * @generated from field: required double round_trip_time = 2; */ roundTripTime?: number; /** * @generated from field: required double total_round_trip_time = 3; */ totalRoundTripTime?: number; /** * @generated from field: required double fraction_lost = 4; */ fractionLost?: number; /** * @generated from field: required uint64 round_trip_time_measurements = 5; */ roundTripTimeMeasurements?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RemoteInboundRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RemoteInboundRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): RemoteInboundRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): RemoteInboundRtpStreamStats; static equals(a: RemoteInboundRtpStreamStats | PlainMessage | undefined, b: RemoteInboundRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.RemoteOutboundRtpStreamStats */ export declare class RemoteOutboundRtpStreamStats extends Message { /** * @generated from field: required string local_id = 1; */ localId?: string; /** * @generated from field: required double remote_timestamp = 2; */ remoteTimestamp?: number; /** * @generated from field: required uint64 reports_sent = 3; */ reportsSent?: bigint; /** * @generated from field: required double round_trip_time = 4; */ roundTripTime?: number; /** * @generated from field: required double total_round_trip_time = 5; */ totalRoundTripTime?: number; /** * @generated from field: required uint64 round_trip_time_measurements = 6; */ roundTripTimeMeasurements?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.RemoteOutboundRtpStreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RemoteOutboundRtpStreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): RemoteOutboundRtpStreamStats; static fromJsonString(jsonString: string, options?: Partial): RemoteOutboundRtpStreamStats; static equals(a: RemoteOutboundRtpStreamStats | PlainMessage | undefined, b: RemoteOutboundRtpStreamStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.MediaSourceStats */ export declare class MediaSourceStats extends Message { /** * @generated from field: required string track_identifier = 1; */ trackIdentifier?: string; /** * @generated from field: required string kind = 2; */ kind?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.MediaSourceStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MediaSourceStats; static fromJson(jsonValue: JsonValue, options?: Partial): MediaSourceStats; static fromJsonString(jsonString: string, options?: Partial): MediaSourceStats; static equals(a: MediaSourceStats | PlainMessage | undefined, b: MediaSourceStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.AudioSourceStats */ export declare class AudioSourceStats extends Message { /** * @generated from field: required double audio_level = 1; */ audioLevel?: number; /** * @generated from field: required double total_audio_energy = 2; */ totalAudioEnergy?: number; /** * @generated from field: required double total_samples_duration = 3; */ totalSamplesDuration?: number; /** * @generated from field: required double echo_return_loss = 4; */ echoReturnLoss?: number; /** * @generated from field: required double echo_return_loss_enhancement = 5; */ echoReturnLossEnhancement?: number; /** * @generated from field: required double dropped_samples_duration = 6; */ droppedSamplesDuration?: number; /** * @generated from field: required uint32 dropped_samples_events = 7; */ droppedSamplesEvents?: number; /** * @generated from field: required double total_capture_delay = 8; */ totalCaptureDelay?: number; /** * @generated from field: required uint64 total_samples_captured = 9; */ totalSamplesCaptured?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.AudioSourceStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioSourceStats; static fromJson(jsonValue: JsonValue, options?: Partial): AudioSourceStats; static fromJsonString(jsonString: string, options?: Partial): AudioSourceStats; static equals(a: AudioSourceStats | PlainMessage | undefined, b: AudioSourceStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoSourceStats */ export declare class VideoSourceStats extends Message { /** * @generated from field: required uint32 width = 1; */ width?: number; /** * @generated from field: required uint32 height = 2; */ height?: number; /** * @generated from field: required uint32 frames = 3; */ frames?: number; /** * @generated from field: required double frames_per_second = 4; */ framesPerSecond?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoSourceStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoSourceStats; static fromJson(jsonValue: JsonValue, options?: Partial): VideoSourceStats; static fromJsonString(jsonString: string, options?: Partial): VideoSourceStats; static equals(a: VideoSourceStats | PlainMessage | undefined, b: VideoSourceStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.AudioPlayoutStats */ export declare class AudioPlayoutStats extends Message { /** * @generated from field: required string kind = 1; */ kind?: string; /** * @generated from field: required double synthesized_samples_duration = 2; */ synthesizedSamplesDuration?: number; /** * @generated from field: required uint32 synthesized_samples_events = 3; */ synthesizedSamplesEvents?: number; /** * @generated from field: required double total_samples_duration = 4; */ totalSamplesDuration?: number; /** * @generated from field: required double total_playout_delay = 5; */ totalPlayoutDelay?: number; /** * @generated from field: required uint64 total_samples_count = 6; */ totalSamplesCount?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.AudioPlayoutStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioPlayoutStats; static fromJson(jsonValue: JsonValue, options?: Partial): AudioPlayoutStats; static fromJsonString(jsonString: string, options?: Partial): AudioPlayoutStats; static equals(a: AudioPlayoutStats | PlainMessage | undefined, b: AudioPlayoutStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.PeerConnectionStats */ export declare class PeerConnectionStats extends Message { /** * @generated from field: required uint32 data_channels_opened = 1; */ dataChannelsOpened?: number; /** * @generated from field: required uint32 data_channels_closed = 2; */ dataChannelsClosed?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.PeerConnectionStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PeerConnectionStats; static fromJson(jsonValue: JsonValue, options?: Partial): PeerConnectionStats; static fromJsonString(jsonString: string, options?: Partial): PeerConnectionStats; static equals(a: PeerConnectionStats | PlainMessage | undefined, b: PeerConnectionStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.DataChannelStats */ export declare class DataChannelStats extends Message { /** * @generated from field: required string label = 1; */ label?: string; /** * @generated from field: required string protocol = 2; */ protocol?: string; /** * @generated from field: required int32 data_channel_identifier = 3; */ dataChannelIdentifier?: number; /** * @generated from field: optional livekit.proto.DataChannelState state = 4; */ state?: DataChannelState; /** * @generated from field: required uint32 messages_sent = 5; */ messagesSent?: number; /** * @generated from field: required uint64 bytes_sent = 6; */ bytesSent?: bigint; /** * @generated from field: required uint32 messages_received = 7; */ messagesReceived?: number; /** * @generated from field: required uint64 bytes_received = 8; */ bytesReceived?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.DataChannelStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelStats; static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelStats; static fromJsonString(jsonString: string, options?: Partial): DataChannelStats; static equals(a: DataChannelStats | PlainMessage | undefined, b: DataChannelStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.TransportStats */ export declare class TransportStats extends Message { /** * @generated from field: required uint64 packets_sent = 1; */ packetsSent?: bigint; /** * @generated from field: required uint64 packets_received = 2; */ packetsReceived?: bigint; /** * @generated from field: required uint64 bytes_sent = 3; */ bytesSent?: bigint; /** * @generated from field: required uint64 bytes_received = 4; */ bytesReceived?: bigint; /** * @generated from field: required livekit.proto.IceRole ice_role = 5; */ iceRole?: IceRole; /** * @generated from field: required string ice_local_username_fragment = 6; */ iceLocalUsernameFragment?: string; /** * @generated from field: optional livekit.proto.DtlsTransportState dtls_state = 7; */ dtlsState?: DtlsTransportState; /** * @generated from field: optional livekit.proto.IceTransportState ice_state = 8; */ iceState?: IceTransportState; /** * @generated from field: required string selected_candidate_pair_id = 9; */ selectedCandidatePairId?: string; /** * @generated from field: required string local_certificate_id = 10; */ localCertificateId?: string; /** * @generated from field: required string remote_certificate_id = 11; */ remoteCertificateId?: string; /** * @generated from field: required string tls_version = 12; */ tlsVersion?: string; /** * @generated from field: required string dtls_cipher = 13; */ dtlsCipher?: string; /** * @generated from field: required livekit.proto.DtlsRole dtls_role = 14; */ dtlsRole?: DtlsRole; /** * @generated from field: required string srtp_cipher = 15; */ srtpCipher?: string; /** * @generated from field: required uint32 selected_candidate_pair_changes = 16; */ selectedCandidatePairChanges?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.TransportStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TransportStats; static fromJson(jsonValue: JsonValue, options?: Partial): TransportStats; static fromJsonString(jsonString: string, options?: Partial): TransportStats; static equals(a: TransportStats | PlainMessage | undefined, b: TransportStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.CandidatePairStats */ export declare class CandidatePairStats extends Message { /** * @generated from field: required string transport_id = 1; */ transportId?: string; /** * @generated from field: required string local_candidate_id = 2; */ localCandidateId?: string; /** * @generated from field: required string remote_candidate_id = 3; */ remoteCandidateId?: string; /** * @generated from field: optional livekit.proto.IceCandidatePairState state = 4; */ state?: IceCandidatePairState; /** * @generated from field: required bool nominated = 5; */ nominated?: boolean; /** * @generated from field: required uint64 packets_sent = 6; */ packetsSent?: bigint; /** * @generated from field: required uint64 packets_received = 7; */ packetsReceived?: bigint; /** * @generated from field: required uint64 bytes_sent = 8; */ bytesSent?: bigint; /** * @generated from field: required uint64 bytes_received = 9; */ bytesReceived?: bigint; /** * @generated from field: required double last_packet_sent_timestamp = 10; */ lastPacketSentTimestamp?: number; /** * @generated from field: required double last_packet_received_timestamp = 11; */ lastPacketReceivedTimestamp?: number; /** * @generated from field: required double total_round_trip_time = 12; */ totalRoundTripTime?: number; /** * @generated from field: required double current_round_trip_time = 13; */ currentRoundTripTime?: number; /** * @generated from field: required double available_outgoing_bitrate = 14; */ availableOutgoingBitrate?: number; /** * @generated from field: required double available_incoming_bitrate = 15; */ availableIncomingBitrate?: number; /** * @generated from field: required uint64 requests_received = 16; */ requestsReceived?: bigint; /** * @generated from field: required uint64 requests_sent = 17; */ requestsSent?: bigint; /** * @generated from field: required uint64 responses_received = 18; */ responsesReceived?: bigint; /** * @generated from field: required uint64 responses_sent = 19; */ responsesSent?: bigint; /** * @generated from field: required uint64 consent_requests_sent = 20; */ consentRequestsSent?: bigint; /** * @generated from field: required uint32 packets_discarded_on_send = 21; */ packetsDiscardedOnSend?: number; /** * @generated from field: required uint64 bytes_discarded_on_send = 22; */ bytesDiscardedOnSend?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.CandidatePairStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CandidatePairStats; static fromJson(jsonValue: JsonValue, options?: Partial): CandidatePairStats; static fromJsonString(jsonString: string, options?: Partial): CandidatePairStats; static equals(a: CandidatePairStats | PlainMessage | undefined, b: CandidatePairStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.IceCandidateStats */ export declare class IceCandidateStats extends Message { /** * @generated from field: required string transport_id = 1; */ transportId?: string; /** * @generated from field: required string address = 2; */ address?: string; /** * @generated from field: required int32 port = 3; */ port?: number; /** * @generated from field: required string protocol = 4; */ protocol?: string; /** * @generated from field: optional livekit.proto.IceCandidateType candidate_type = 5; */ candidateType?: IceCandidateType; /** * @generated from field: required int32 priority = 6; */ priority?: number; /** * @generated from field: required string url = 7; */ url?: string; /** * @generated from field: optional livekit.proto.IceServerTransportProtocol relay_protocol = 8; */ relayProtocol?: IceServerTransportProtocol; /** * @generated from field: required string foundation = 9; */ foundation?: string; /** * @generated from field: required string related_address = 10; */ relatedAddress?: string; /** * @generated from field: required int32 related_port = 11; */ relatedPort?: number; /** * @generated from field: required string username_fragment = 12; */ usernameFragment?: string; /** * @generated from field: optional livekit.proto.IceTcpCandidateType tcp_type = 13; */ tcpType?: IceTcpCandidateType; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.IceCandidateStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IceCandidateStats; static fromJson(jsonValue: JsonValue, options?: Partial): IceCandidateStats; static fromJsonString(jsonString: string, options?: Partial): IceCandidateStats; static equals(a: IceCandidateStats | PlainMessage | undefined, b: IceCandidateStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.CertificateStats */ export declare class CertificateStats extends Message { /** * @generated from field: required string fingerprint = 1; */ fingerprint?: string; /** * @generated from field: required string fingerprint_algorithm = 2; */ fingerprintAlgorithm?: string; /** * @generated from field: required string base64_certificate = 3; */ base64Certificate?: string; /** * @generated from field: required string issuer_certificate_id = 4; */ issuerCertificateId?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.CertificateStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CertificateStats; static fromJson(jsonValue: JsonValue, options?: Partial): CertificateStats; static fromJsonString(jsonString: string, options?: Partial): CertificateStats; static equals(a: CertificateStats | PlainMessage | undefined, b: CertificateStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.StreamStats */ export declare class StreamStats extends Message { /** * @generated from field: required string id = 1; */ id?: string; /** * required int64 timestamp = 3; * * @generated from field: required string stream_identifier = 2; */ streamIdentifier?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.StreamStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamStats; static fromJson(jsonValue: JsonValue, options?: Partial): StreamStats; static fromJsonString(jsonString: string, options?: Partial): StreamStats; static equals(a: StreamStats | PlainMessage | undefined, b: StreamStats | PlainMessage | undefined): boolean; }