UNPKG

@observertc/samples-decoder

Version:

ObserveRTC Library for Decoding Samples

728 lines 67.1 kB
"use strict"; // @generated by protoc-gen-es v1.0.0 with parameter "target=ts" // @generated from file outputs/proto/ProtobufClientSampleV3Optional.proto (package org.observertc.schemas.protobuf, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.ClientSample_ExtensionStat = exports.ClientSample_ClientMetaData = exports.ClientSample_ClientIssue = exports.ClientSample_ClientEvent = exports.ClientSample_PeerConnectionSample_CertificateStats = exports.ClientSample_PeerConnectionSample_IceCandidatePairStats_IceCandidatePairStatsEnum = exports.ClientSample_PeerConnectionSample_IceCandidatePairStats = exports.ClientSample_PeerConnectionSample_IceCandidateStats = exports.ClientSample_PeerConnectionSample_IceTransportStats = exports.ClientSample_PeerConnectionSample_DataChannelStats = exports.ClientSample_PeerConnectionSample_PeerConnectionTransportStats = exports.ClientSample_PeerConnectionSample_MediaPlayoutStats = exports.ClientSample_PeerConnectionSample_MediaSourceStats = exports.ClientSample_PeerConnectionSample_RemoteOutboundRtpStats = exports.ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations = exports.ClientSample_PeerConnectionSample_OutboundRtpStats = exports.ClientSample_PeerConnectionSample_RemoteInboundRtpStats = exports.ClientSample_PeerConnectionSample_InboundRtpStats = exports.ClientSample_PeerConnectionSample_CodecStats = exports.ClientSample_PeerConnectionSample_OutboundTrackSample = exports.ClientSample_PeerConnectionSample_InboundTrackSample = exports.ClientSample_PeerConnectionSample = exports.ClientSample = void 0; const protobuf_1 = require("@bufbuild/protobuf"); /** * * * Schema Version: 3.0.0 * * @generated from message org.observertc.schemas.protobuf.ClientSample */ class ClientSample extends protobuf_1.Message { constructor(data) { super(); /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.ClientEvent clientEvents = 1; */ this.clientEvents = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.ClientIssue clientIssues = 2; */ this.clientIssues = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.ClientMetaData clientMetaItems = 3; */ this.clientMetaItems = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.ExtensionStat extensionStats = 4; */ this.extensionStats = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample peerConnections = 5; */ this.peerConnections = []; protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample, a, b); } } exports.ClientSample = ClientSample; ClientSample.runtime = protobuf_1.proto3; ClientSample.typeName = "org.observertc.schemas.protobuf.ClientSample"; ClientSample.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "clientEvents", kind: "message", T: ClientSample_ClientEvent, repeated: true }, { no: 2, name: "clientIssues", kind: "message", T: ClientSample_ClientIssue, repeated: true }, { no: 3, name: "clientMetaItems", kind: "message", T: ClientSample_ClientMetaData, repeated: true }, { no: 4, name: "extensionStats", kind: "message", T: ClientSample_ExtensionStat, repeated: true }, { no: 5, name: "peerConnections", kind: "message", T: ClientSample_PeerConnectionSample, repeated: true }, { no: 6, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 7, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 8, name: "callId", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, { no: 9, name: "clientId", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, { no: 10, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 11, name: "scoreReasons", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample */ class ClientSample_PeerConnectionSample extends protobuf_1.Message { constructor(data) { super(); /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.CertificateStats certificates = 1; */ this.certificates = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.CodecStats codecs = 2; */ this.codecs = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.DataChannelStats dataChannels = 3; */ this.dataChannels = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.IceCandidatePairStats iceCandidatePairs = 4; */ this.iceCandidatePairs = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.IceCandidateStats iceCandidates = 5; */ this.iceCandidates = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.IceTransportStats iceTransports = 6; */ this.iceTransports = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundRtpStats inboundRtps = 7; */ this.inboundRtps = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundTrackSample inboundTracks = 8; */ this.inboundTracks = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaPlayoutStats mediaPlayouts = 9; */ this.mediaPlayouts = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaSourceStats mediaSources = 10; */ this.mediaSources = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundRtpStats outboundRtps = 11; */ this.outboundRtps = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundTrackSample outboundTracks = 12; */ this.outboundTracks = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.PeerConnectionTransportStats peerConnectionTransports = 13; */ this.peerConnectionTransports = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteInboundRtpStats remoteInboundRtps = 14; */ this.remoteInboundRtps = []; /** * @generated from field: repeated org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteOutboundRtpStats remoteOutboundRtps = 15; */ this.remoteOutboundRtps = []; protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample, a, b); } } exports.ClientSample_PeerConnectionSample = ClientSample_PeerConnectionSample; ClientSample_PeerConnectionSample.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample"; ClientSample_PeerConnectionSample.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "certificates", kind: "message", T: ClientSample_PeerConnectionSample_CertificateStats, repeated: true }, { no: 2, name: "codecs", kind: "message", T: ClientSample_PeerConnectionSample_CodecStats, repeated: true }, { no: 3, name: "dataChannels", kind: "message", T: ClientSample_PeerConnectionSample_DataChannelStats, repeated: true }, { no: 4, name: "iceCandidatePairs", kind: "message", T: ClientSample_PeerConnectionSample_IceCandidatePairStats, repeated: true }, { no: 5, name: "iceCandidates", kind: "message", T: ClientSample_PeerConnectionSample_IceCandidateStats, repeated: true }, { no: 6, name: "iceTransports", kind: "message", T: ClientSample_PeerConnectionSample_IceTransportStats, repeated: true }, { no: 7, name: "inboundRtps", kind: "message", T: ClientSample_PeerConnectionSample_InboundRtpStats, repeated: true }, { no: 8, name: "inboundTracks", kind: "message", T: ClientSample_PeerConnectionSample_InboundTrackSample, repeated: true }, { no: 9, name: "mediaPlayouts", kind: "message", T: ClientSample_PeerConnectionSample_MediaPlayoutStats, repeated: true }, { no: 10, name: "mediaSources", kind: "message", T: ClientSample_PeerConnectionSample_MediaSourceStats, repeated: true }, { no: 11, name: "outboundRtps", kind: "message", T: ClientSample_PeerConnectionSample_OutboundRtpStats, repeated: true }, { no: 12, name: "outboundTracks", kind: "message", T: ClientSample_PeerConnectionSample_OutboundTrackSample, repeated: true }, { no: 13, name: "peerConnectionTransports", kind: "message", T: ClientSample_PeerConnectionSample_PeerConnectionTransportStats, repeated: true }, { no: 14, name: "remoteInboundRtps", kind: "message", T: ClientSample_PeerConnectionSample_RemoteInboundRtpStats, repeated: true }, { no: 15, name: "remoteOutboundRtps", kind: "message", T: ClientSample_PeerConnectionSample_RemoteOutboundRtpStats, repeated: true }, { no: 16, name: "peerConnectionId", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, { no: 17, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 18, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 19, name: "scoreReasons", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundTrackSample */ class ClientSample_PeerConnectionSample_InboundTrackSample extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_InboundTrackSample().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_InboundTrackSample().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_InboundTrackSample().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_InboundTrackSample, a, b); } } exports.ClientSample_PeerConnectionSample_InboundTrackSample = ClientSample_PeerConnectionSample_InboundTrackSample; ClientSample_PeerConnectionSample_InboundTrackSample.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_InboundTrackSample.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundTrackSample"; ClientSample_PeerConnectionSample_InboundTrackSample.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 5, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 6, name: "scoreReasons", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundTrackSample */ class ClientSample_PeerConnectionSample_OutboundTrackSample extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_OutboundTrackSample().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_OutboundTrackSample().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_OutboundTrackSample().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_OutboundTrackSample, a, b); } } exports.ClientSample_PeerConnectionSample_OutboundTrackSample = ClientSample_PeerConnectionSample_OutboundTrackSample; ClientSample_PeerConnectionSample_OutboundTrackSample.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_OutboundTrackSample.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundTrackSample"; ClientSample_PeerConnectionSample_OutboundTrackSample.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 5, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 6, name: "scoreReasons", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.CodecStats */ class ClientSample_PeerConnectionSample_CodecStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_CodecStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_CodecStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_CodecStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_CodecStats, a, b); } } exports.ClientSample_PeerConnectionSample_CodecStats = ClientSample_PeerConnectionSample_CodecStats; ClientSample_PeerConnectionSample_CodecStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_CodecStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.CodecStats"; ClientSample_PeerConnectionSample_CodecStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "mimeType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 5, name: "channels", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 6, name: "clockRate", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 7, name: "payloadType", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 8, name: "sdpFmtpLine", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 9, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundRtpStats */ class ClientSample_PeerConnectionSample_InboundRtpStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_InboundRtpStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_InboundRtpStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_InboundRtpStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_InboundRtpStats, a, b); } } exports.ClientSample_PeerConnectionSample_InboundRtpStats = ClientSample_PeerConnectionSample_InboundRtpStats; ClientSample_PeerConnectionSample_InboundRtpStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_InboundRtpStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.InboundRtpStats"; ClientSample_PeerConnectionSample_InboundRtpStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 4, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 5, name: "trackIdentifier", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, { no: 6, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 7, name: "audioLevel", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 8, name: "bytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 9, name: "codecId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 10, name: "concealedSamples", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 11, name: "concealmentEvents", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 12, name: "corruptionMeasurements", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 13, name: "decoderImplementation", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 14, name: "estimatedPlayoutTimestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 15, name: "fecBytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 16, name: "fecPacketsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 17, name: "fecPacketsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 18, name: "fecSsrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 19, name: "firCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 20, name: "frameHeight", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 21, name: "frameWidth", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 22, name: "framesAssembledFromMultiplePackets", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 23, name: "framesDecoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 24, name: "framesDropped", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 25, name: "framesPerSecond", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 26, name: "framesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 27, name: "framesRendered", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 28, name: "freezeCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 29, name: "headerBytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 30, name: "insertedSamplesForDeceleration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 31, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 32, name: "jitterBufferDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 33, name: "jitterBufferEmittedCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 34, name: "jitterBufferMinimumDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 35, name: "jitterBufferTargetDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 36, name: "keyFramesDecoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 37, name: "lastPacketReceivedTimestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 38, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 39, name: "nackCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 40, name: "packetsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 41, name: "packetsLost", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 42, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 43, name: "pauseCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 44, name: "playoutId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 45, name: "pliCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 46, name: "powerEfficientDecoder", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, { no: 47, name: "qpSum", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 48, name: "remoteId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 49, name: "removedSamplesForAcceleration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 50, name: "retransmittedBytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 51, name: "retransmittedPacketsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 52, name: "rtxSsrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 53, name: "silentConcealedSamples", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 54, name: "totalAssemblyTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 55, name: "totalAudioEnergy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 56, name: "totalCorruptionProbability", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 57, name: "totalDecodeTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 58, name: "totalFreezesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 59, name: "totalInterFrameDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 60, name: "totalPausesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 61, name: "totalProcessingDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 62, name: "totalSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 63, name: "totalSamplesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 64, name: "totalSquaredCorruptionProbability", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 65, name: "totalSquaredInterFrameDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 66, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteInboundRtpStats */ class ClientSample_PeerConnectionSample_RemoteInboundRtpStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_RemoteInboundRtpStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_RemoteInboundRtpStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_RemoteInboundRtpStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_RemoteInboundRtpStats, a, b); } } exports.ClientSample_PeerConnectionSample_RemoteInboundRtpStats = ClientSample_PeerConnectionSample_RemoteInboundRtpStats; ClientSample_PeerConnectionSample_RemoteInboundRtpStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_RemoteInboundRtpStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteInboundRtpStats"; ClientSample_PeerConnectionSample_RemoteInboundRtpStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 4, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 5, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 6, name: "codecId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 7, name: "fractionLost", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 8, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 9, name: "localId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 10, name: "packetsLost", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 11, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 12, name: "roundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 13, name: "roundTripTimeMeasurements", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 14, name: "totalRoundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 15, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundRtpStats */ class ClientSample_PeerConnectionSample_OutboundRtpStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_OutboundRtpStats, a, b); } } exports.ClientSample_PeerConnectionSample_OutboundRtpStats = ClientSample_PeerConnectionSample_OutboundRtpStats; ClientSample_PeerConnectionSample_OutboundRtpStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_OutboundRtpStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundRtpStats"; ClientSample_PeerConnectionSample_OutboundRtpStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 4, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 5, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, { no: 6, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 7, name: "bytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 8, name: "codecId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 9, name: "encoderImplementation", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 10, name: "firCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 11, name: "frameHeight", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 12, name: "frameWidth", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 13, name: "framesEncoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 14, name: "framesPerSecond", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 15, name: "framesSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 16, name: "headerBytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 17, name: "hugeFramesSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 18, name: "keyFramesEncoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 19, name: "mediaSourceId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 20, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 21, name: "nackCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 22, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 23, name: "pliCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 24, name: "powerEfficientEncoder", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, { no: 25, name: "qpSum", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 26, name: "qualityLimitationDurations", kind: "message", T: ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations, opt: true }, { no: 27, name: "qualityLimitationReason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 28, name: "qualityLimitationResolutionChanges", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 29, name: "remoteId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 30, name: "retransmittedBytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 31, name: "retransmittedPacketsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 32, name: "rid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 33, name: "rtxSsrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 34, name: "scalabilityMode", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 35, name: "targetBitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 36, name: "totalEncodeTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 37, name: "totalEncodedBytesTarget", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 38, name: "totalPacketSendDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 39, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundRtpStats.QualityLimitationDurations */ class ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations, a, b); } } exports.ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations = ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations; ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.OutboundRtpStats.QualityLimitationDurations"; ClientSample_PeerConnectionSample_OutboundRtpStats_QualityLimitationDurations.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "bandwidth", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 2, name: "cpu", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 3, name: "none", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "other", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteOutboundRtpStats */ class ClientSample_PeerConnectionSample_RemoteOutboundRtpStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_RemoteOutboundRtpStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_RemoteOutboundRtpStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_RemoteOutboundRtpStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_RemoteOutboundRtpStats, a, b); } } exports.ClientSample_PeerConnectionSample_RemoteOutboundRtpStats = ClientSample_PeerConnectionSample_RemoteOutboundRtpStats; ClientSample_PeerConnectionSample_RemoteOutboundRtpStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_RemoteOutboundRtpStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.RemoteOutboundRtpStats"; ClientSample_PeerConnectionSample_RemoteOutboundRtpStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 4, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 5, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 6, name: "bytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 7, name: "codecId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 8, name: "localId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 9, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 10, name: "remoteTimestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 11, name: "reportsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 12, name: "roundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 13, name: "roundTripTimeMeasurements", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 14, name: "totalRoundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 15, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaSourceStats */ class ClientSample_PeerConnectionSample_MediaSourceStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_MediaSourceStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_MediaSourceStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_MediaSourceStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_MediaSourceStats, a, b); } } exports.ClientSample_PeerConnectionSample_MediaSourceStats = ClientSample_PeerConnectionSample_MediaSourceStats; ClientSample_PeerConnectionSample_MediaSourceStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_MediaSourceStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaSourceStats"; ClientSample_PeerConnectionSample_MediaSourceStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 5, name: "audioLevel", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 6, name: "echoReturnLoss", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 7, name: "echoReturnLossEnhancement", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 8, name: "frames", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 9, name: "framesPerSecond", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 10, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 11, name: "totalAudioEnergy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 12, name: "totalSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 13, name: "trackIdentifier", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, { no: 14, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaPlayoutStats */ class ClientSample_PeerConnectionSample_MediaPlayoutStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_MediaPlayoutStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_MediaPlayoutStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_MediaPlayoutStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_MediaPlayoutStats, a, b); } } exports.ClientSample_PeerConnectionSample_MediaPlayoutStats = ClientSample_PeerConnectionSample_MediaPlayoutStats; ClientSample_PeerConnectionSample_MediaPlayoutStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_MediaPlayoutStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.MediaPlayoutStats"; ClientSample_PeerConnectionSample_MediaPlayoutStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 3, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 4, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 5, name: "synthesizedSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 6, name: "synthesizedSamplesEvents", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 7, name: "totalPlayoutDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 8, name: "totalSamplesCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 9, name: "totalSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.PeerConnectionTransportStats */ class ClientSample_PeerConnectionSample_PeerConnectionTransportStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_PeerConnectionTransportStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_PeerConnectionTransportStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_PeerConnectionTransportStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_PeerConnectionTransportStats, a, b); } } exports.ClientSample_PeerConnectionSample_PeerConnectionTransportStats = ClientSample_PeerConnectionSample_PeerConnectionTransportStats; ClientSample_PeerConnectionSample_PeerConnectionTransportStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_PeerConnectionTransportStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.PeerConnectionTransportStats"; ClientSample_PeerConnectionSample_PeerConnectionTransportStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 3, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 4, name: "dataChannelsClosed", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 5, name: "dataChannelsOpened", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.DataChannelStats */ class ClientSample_PeerConnectionSample_DataChannelStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_DataChannelStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_DataChannelStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_DataChannelStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_DataChannelStats, a, b); } } exports.ClientSample_PeerConnectionSample_DataChannelStats = ClientSample_PeerConnectionSample_DataChannelStats; ClientSample_PeerConnectionSample_DataChannelStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_DataChannelStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.DataChannelStats"; ClientSample_PeerConnectionSample_DataChannelStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 3, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 4, name: "bytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 5, name: "bytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 6, name: "dataChannelIdentifier", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 7, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 8, name: "messagesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 9, name: "messagesSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 10, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 11, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, ]); /** * @generated from message org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.IceTransportStats */ class ClientSample_PeerConnectionSample_IceTransportStats extends protobuf_1.Message { constructor(data) { super(); protobuf_1.proto3.util.initPartial(data, this); } static fromBinary(bytes, options) { return new ClientSample_PeerConnectionSample_IceTransportStats().fromBinary(bytes, options); } static fromJson(jsonValue, options) { return new ClientSample_PeerConnectionSample_IceTransportStats().fromJson(jsonValue, options); } static fromJsonString(jsonString, options) { return new ClientSample_PeerConnectionSample_IceTransportStats().fromJsonString(jsonString, options); } static equals(a, b) { return protobuf_1.proto3.util.equals(ClientSample_PeerConnectionSample_IceTransportStats, a, b); } } exports.ClientSample_PeerConnectionSample_IceTransportStats = ClientSample_PeerConnectionSample_IceTransportStats; ClientSample_PeerConnectionSample_IceTransportStats.runtime = protobuf_1.proto3; ClientSample_PeerConnectionSample_IceTransportStats.typeName = "org.observertc.schemas.protobuf.ClientSample.PeerConnectionSample.IceTransportStats"; ClientSample_PeerConnectionSample_IceTransportStats.fields = protobuf_1.proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 2, name: "timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 3, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 4, name: "bytesReceived", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 5, name: "bytesSent", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, { no: 6, name: "dtlsCipher", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 7, name: "dtlsRole", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 8, name: "dtlsState", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 9, name: "iceLocalUsernameFragment", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 10, name: "iceRole", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 11, name: "iceState", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 12, name: "localCertificateId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 13, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 14, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 15, name: "remoteCertificateId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 16, name: "selectedCandidatePairChanges", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true }, { no: 17, name: "selectedCandidatePairId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 18, name: "srtpCipher", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, { no: 19, name: "tlsVersion",