@observertc/monitor-schemas
Version:
ObserveRTC Library for Schemas
857 lines • 95 kB
JavaScript
"use strict";
// @generated by protoc-gen-es v1.0.0 with parameter "target=ts"
// @generated from file ProtobufSamples.proto (package org.observertc.schemas.protobuf, syntax proto2)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.Samples_TurnSample_TurnSession = exports.Samples_TurnSample_TurnPeerAllocation = exports.Samples_TurnSample = exports.Samples_SfuSample_SfuExtensionStats = exports.Samples_SfuSample_SfuSctpChannel = exports.Samples_SfuSample_SfuOutboundRtpPad = exports.Samples_SfuSample_SfuInboundRtpPad = exports.Samples_SfuSample_SfuTransport = exports.Samples_SfuSample_CustomSfuEvent = exports.Samples_SfuSample = exports.Samples_ClientSample_IceRemoteCandidate = exports.Samples_ClientSample_IceLocalCandidate = exports.Samples_ClientSample_OutboundVideoTrack = exports.Samples_ClientSample_OutboundAudioTrack = exports.Samples_ClientSample_InboundVideoTrack = exports.Samples_ClientSample_InboundAudioTrack = exports.Samples_ClientSample_Certificate = exports.Samples_ClientSample_MediaCodecStats = exports.Samples_ClientSample_MediaSourceStat = exports.Samples_ClientSample_IceCandidatePair = exports.Samples_ClientSample_PeerConnectionTransport = exports.Samples_ClientSample_DataChannel = exports.Samples_ClientSample_CustomObserverEvent = exports.Samples_ClientSample_CustomCallEvent = exports.Samples_ClientSample_ExtensionStat = exports.Samples_ClientSample_MediaDevice = exports.Samples_ClientSample_OperationSystem = exports.Samples_ClientSample_Browser = exports.Samples_ClientSample_Platform = exports.Samples_ClientSample_Engine = exports.Samples_ClientSample = exports.Samples_Controls = exports.Samples = void 0;
const protobuf_1 = require("@bufbuild/protobuf");
/**
* @generated from message org.observertc.schemas.protobuf.Samples
*/
class Samples extends protobuf_1.Message {
constructor(data) {
super();
/**
* Samples taken from the client
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample clientSamples = 1;
*/
this.clientSamples = [];
/**
* Samples taken from an Sfu
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.SfuSample sfuSamples = 2;
*/
this.sfuSamples = [];
/**
* Samples taken from the TURN server
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.TurnSample turnSamples = 3;
*/
this.turnSamples = [];
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples, a, b);
}
}
exports.Samples = Samples;
Samples.runtime = protobuf_1.proto2;
Samples.typeName = "org.observertc.schemas.protobuf.Samples";
Samples.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "clientSamples", kind: "message", T: Samples_ClientSample, repeated: true },
{ no: 2, name: "sfuSamples", kind: "message", T: Samples_SfuSample, repeated: true },
{ no: 3, name: "turnSamples", kind: "message", T: Samples_TurnSample, repeated: true },
{ no: 4, name: "controls", kind: "message", T: Samples_Controls, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.Controls
*/
class Samples_Controls extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_Controls().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_Controls().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_Controls().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_Controls, a, b);
}
}
exports.Samples_Controls = Samples_Controls;
Samples_Controls.runtime = protobuf_1.proto2;
Samples_Controls.typeName = "org.observertc.schemas.protobuf.Samples.Controls";
Samples_Controls.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "accessClaim", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "close", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample
*/
class Samples_ClientSample extends protobuf_1.Message {
constructor(data) {
super();
/**
* List of certificates the client provided
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.Certificate certificates = 1;
*/
this.certificates = [];
/**
* List of codec the client has
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.MediaCodecStats codecs = 2;
*/
this.codecs = [];
/**
* User provided custom call events
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.CustomCallEvent customCallEvents = 3;
*/
this.customCallEvents = [];
/**
* User provided custom call events
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.CustomObserverEvent customObserverEvents = 4;
*/
this.customObserverEvents = [];
/**
* Measurements about the data channels currently avaialble on peer connections
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.DataChannel dataChannels = 5;
*/
this.dataChannels = [];
/**
* The WebRTC app provided custom stats payload
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.ExtensionStat extensionStats = 6;
*/
this.extensionStats = [];
/**
* Candidate pair stats
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.IceCandidatePair iceCandidatePairs = 7;
*/
this.iceCandidatePairs = [];
/**
* List of local ICE candidates
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.IceLocalCandidate iceLocalCandidates = 8;
*/
this.iceLocalCandidates = [];
/**
* List of remote ICE candidates
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.IceRemoteCandidate iceRemoteCandidates = 9;
*/
this.iceRemoteCandidates = [];
/**
* The WebRTC app provided List of ICE server the client used.
*
* @generated from field: repeated string iceServers = 10;
*/
this.iceServers = [];
/**
* List of compound measurements related to inbound audio tracks
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.InboundAudioTrack inboundAudioTracks = 11;
*/
this.inboundAudioTracks = [];
/**
* List of compound measurements related to inbound video tracks
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.InboundVideoTrack inboundVideoTracks = 12;
*/
this.inboundVideoTracks = [];
/**
* The local part of the Signal Description Protocol to establish connections
*
* @generated from field: repeated string localSDPs = 13;
*/
this.localSDPs = [];
/**
* The WebRTC app provided List of the media constraints the client has.
*
* @generated from field: repeated string mediaConstraints = 14;
*/
this.mediaConstraints = [];
/**
* The WebRTC app provided List of the media devices the client has.
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.MediaDevice mediaDevices = 15;
*/
this.mediaDevices = [];
/**
* WebRTC App provided information related to the operation system the client uses.
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.MediaSourceStat mediaSources = 16;
*/
this.mediaSources = [];
/**
* List of compound measurements related to outbound audio tracks
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.OutboundAudioTrack outboundAudioTracks = 17;
*/
this.outboundAudioTracks = [];
/**
* List of compound measurements related to outbound video tracks
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.OutboundVideoTrack outboundVideoTracks = 18;
*/
this.outboundVideoTracks = [];
/**
* Transport stats of Peer Connection
*
* @generated from field: repeated org.observertc.schemas.protobuf.Samples.ClientSample.PeerConnectionTransport pcTransports = 19;
*/
this.pcTransports = [];
/**
* The WebRTC app provided List of user media errors the client has.
*
* @generated from field: repeated string userMediaErrors = 20;
*/
this.userMediaErrors = [];
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample, a, b);
}
}
exports.Samples_ClientSample = Samples_ClientSample;
Samples_ClientSample.runtime = protobuf_1.proto2;
Samples_ClientSample.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample";
Samples_ClientSample.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "certificates", kind: "message", T: Samples_ClientSample_Certificate, repeated: true },
{ no: 2, name: "codecs", kind: "message", T: Samples_ClientSample_MediaCodecStats, repeated: true },
{ no: 3, name: "customCallEvents", kind: "message", T: Samples_ClientSample_CustomCallEvent, repeated: true },
{ no: 4, name: "customObserverEvents", kind: "message", T: Samples_ClientSample_CustomObserverEvent, repeated: true },
{ no: 5, name: "dataChannels", kind: "message", T: Samples_ClientSample_DataChannel, repeated: true },
{ no: 6, name: "extensionStats", kind: "message", T: Samples_ClientSample_ExtensionStat, repeated: true },
{ no: 7, name: "iceCandidatePairs", kind: "message", T: Samples_ClientSample_IceCandidatePair, repeated: true },
{ no: 8, name: "iceLocalCandidates", kind: "message", T: Samples_ClientSample_IceLocalCandidate, repeated: true },
{ no: 9, name: "iceRemoteCandidates", kind: "message", T: Samples_ClientSample_IceRemoteCandidate, repeated: true },
{ no: 10, name: "iceServers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 11, name: "inboundAudioTracks", kind: "message", T: Samples_ClientSample_InboundAudioTrack, repeated: true },
{ no: 12, name: "inboundVideoTracks", kind: "message", T: Samples_ClientSample_InboundVideoTrack, repeated: true },
{ no: 13, name: "localSDPs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 14, name: "mediaConstraints", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 15, name: "mediaDevices", kind: "message", T: Samples_ClientSample_MediaDevice, repeated: true },
{ no: 16, name: "mediaSources", kind: "message", T: Samples_ClientSample_MediaSourceStat, repeated: true },
{ no: 17, name: "outboundAudioTracks", kind: "message", T: Samples_ClientSample_OutboundAudioTrack, repeated: true },
{ no: 18, name: "outboundVideoTracks", kind: "message", T: Samples_ClientSample_OutboundVideoTrack, repeated: true },
{ no: 19, name: "pcTransports", kind: "message", T: Samples_ClientSample_PeerConnectionTransport, repeated: true },
{ no: 20, name: "userMediaErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 21, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 22, name: "timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 23, name: "browser", kind: "message", T: Samples_ClientSample_Browser, opt: true },
{ no: 24, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 25, name: "engine", kind: "message", T: Samples_ClientSample_Engine, opt: true },
{ no: 26, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 27, name: "os", kind: "message", T: Samples_ClientSample_OperationSystem, opt: true },
{ no: 28, name: "platform", kind: "message", T: Samples_ClientSample_Platform, opt: true },
{ no: 29, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 30, name: "sampleSeq", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 31, name: "timeZoneOffsetInHours", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 32, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.Engine
*/
class Samples_ClientSample_Engine extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_Engine().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_Engine().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_Engine().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_Engine, a, b);
}
}
exports.Samples_ClientSample_Engine = Samples_ClientSample_Engine;
Samples_ClientSample_Engine.runtime = protobuf_1.proto2;
Samples_ClientSample_Engine.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.Engine";
Samples_ClientSample_Engine.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.Platform
*/
class Samples_ClientSample_Platform extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_Platform().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_Platform().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_Platform().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_Platform, a, b);
}
}
exports.Samples_ClientSample_Platform = Samples_ClientSample_Platform;
Samples_ClientSample_Platform.runtime = protobuf_1.proto2;
Samples_ClientSample_Platform.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.Platform";
Samples_ClientSample_Platform.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.Browser
*/
class Samples_ClientSample_Browser extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_Browser().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_Browser().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_Browser().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_Browser, a, b);
}
}
exports.Samples_ClientSample_Browser = Samples_ClientSample_Browser;
Samples_ClientSample_Browser.runtime = protobuf_1.proto2;
Samples_ClientSample_Browser.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.Browser";
Samples_ClientSample_Browser.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.OperationSystem
*/
class Samples_ClientSample_OperationSystem extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_OperationSystem().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_OperationSystem().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_OperationSystem().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_OperationSystem, a, b);
}
}
exports.Samples_ClientSample_OperationSystem = Samples_ClientSample_OperationSystem;
Samples_ClientSample_OperationSystem.runtime = protobuf_1.proto2;
Samples_ClientSample_OperationSystem.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.OperationSystem";
Samples_ClientSample_OperationSystem.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "versionName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.MediaDevice
*/
class Samples_ClientSample_MediaDevice extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_MediaDevice().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_MediaDevice().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_MediaDevice().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_MediaDevice, a, b);
}
}
exports.Samples_ClientSample_MediaDevice = Samples_ClientSample_MediaDevice;
Samples_ClientSample_MediaDevice.runtime = protobuf_1.proto2;
Samples_ClientSample_MediaDevice.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.MediaDevice";
Samples_ClientSample_MediaDevice.fields = protobuf_1.proto2.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: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.ExtensionStat
*/
class Samples_ClientSample_ExtensionStat extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_ExtensionStat().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_ExtensionStat().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_ExtensionStat().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_ExtensionStat, a, b);
}
}
exports.Samples_ClientSample_ExtensionStat = Samples_ClientSample_ExtensionStat;
Samples_ClientSample_ExtensionStat.runtime = protobuf_1.proto2;
Samples_ClientSample_ExtensionStat.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.ExtensionStat";
Samples_ClientSample_ExtensionStat.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.CustomCallEvent
*/
class Samples_ClientSample_CustomCallEvent extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_CustomCallEvent().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_CustomCallEvent().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_CustomCallEvent().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_CustomCallEvent, a, b);
}
}
exports.Samples_ClientSample_CustomCallEvent = Samples_ClientSample_CustomCallEvent;
Samples_ClientSample_CustomCallEvent.runtime = protobuf_1.proto2;
Samples_ClientSample_CustomCallEvent.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.CustomCallEvent";
Samples_ClientSample_CustomCallEvent.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "mediaTrackId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 7, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.CustomObserverEvent
*/
class Samples_ClientSample_CustomObserverEvent extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_CustomObserverEvent().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_CustomObserverEvent().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_CustomObserverEvent().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_CustomObserverEvent, a, b);
}
}
exports.Samples_ClientSample_CustomObserverEvent = Samples_ClientSample_CustomObserverEvent;
Samples_ClientSample_CustomObserverEvent.runtime = protobuf_1.proto2;
Samples_ClientSample_CustomObserverEvent.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.CustomObserverEvent";
Samples_ClientSample_CustomObserverEvent.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "attachments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "mediaTrackId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.DataChannel
*/
class Samples_ClientSample_DataChannel extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_DataChannel().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_DataChannel().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_DataChannel().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_DataChannel, a, b);
}
}
exports.Samples_ClientSample_DataChannel = Samples_ClientSample_DataChannel;
Samples_ClientSample_DataChannel.runtime = protobuf_1.proto2;
Samples_ClientSample_DataChannel.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.DataChannel";
Samples_ClientSample_DataChannel.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "bytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 3, name: "bytesSent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 4, name: "dataChannelIdentifier", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 5, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "messageReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 7, name: "messageSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 8, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 9, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.PeerConnectionTransport
*/
class Samples_ClientSample_PeerConnectionTransport extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_PeerConnectionTransport().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_PeerConnectionTransport().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_PeerConnectionTransport().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_PeerConnectionTransport, a, b);
}
}
exports.Samples_ClientSample_PeerConnectionTransport = Samples_ClientSample_PeerConnectionTransport;
Samples_ClientSample_PeerConnectionTransport.runtime = protobuf_1.proto2;
Samples_ClientSample_PeerConnectionTransport.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.PeerConnectionTransport";
Samples_ClientSample_PeerConnectionTransport.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "bytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 4, name: "bytesSent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 5, name: "dtlsCipher", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "dtlsRole", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 7, name: "dtlsState", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 8, name: "iceLocalUsernameFragment", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 9, name: "iceRole", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 10, name: "iceState", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 11, name: "label", 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: "tlsGroup", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 20, name: "tlsVersion", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.IceCandidatePair
*/
class Samples_ClientSample_IceCandidatePair extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_IceCandidatePair().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_IceCandidatePair().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_IceCandidatePair().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_IceCandidatePair, a, b);
}
}
exports.Samples_ClientSample_IceCandidatePair = Samples_ClientSample_IceCandidatePair;
Samples_ClientSample_IceCandidatePair.runtime = protobuf_1.proto2;
Samples_ClientSample_IceCandidatePair.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.IceCandidatePair";
Samples_ClientSample_IceCandidatePair.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "candidatePairId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "availableIncomingBitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 4, name: "availableOutgoingBitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 5, name: "bytesDiscardedOnSend", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 6, name: "bytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 7, name: "bytesSent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 8, name: "consentRequestsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 9, name: "currentRoundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 10, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 11, name: "lastPacketReceivedTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 12, name: "lastPacketSentTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 13, name: "localCandidateId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 14, name: "nominated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
{ no: 15, name: "packetsDiscardedOnSend", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 16, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 17, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 18, name: "remoteCandidateId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 19, name: "requestsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 20, name: "requestsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 21, name: "responsesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 22, name: "responsesSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 23, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 24, name: "totalRoundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 25, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.MediaSourceStat
*/
class Samples_ClientSample_MediaSourceStat extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_MediaSourceStat().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_MediaSourceStat().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_MediaSourceStat().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_MediaSourceStat, a, b);
}
}
exports.Samples_ClientSample_MediaSourceStat = Samples_ClientSample_MediaSourceStat;
Samples_ClientSample_MediaSourceStat.runtime = protobuf_1.proto2;
Samples_ClientSample_MediaSourceStat.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.MediaSourceStat";
Samples_ClientSample_MediaSourceStat.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "audioLevel", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 2, name: "droppedSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 3, name: "droppedSamplesEvents", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 4, name: "echoReturnLoss", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 5, name: "echoReturnLossEnhancement", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 6, name: "frames", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 7, name: "framesPerSecond", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 8, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 9, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 10, name: "relayedSource", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
{ no: 11, name: "totalAudioEnergy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 12, name: "totalCaptureDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 13, name: "totalSamplesCaptured", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 14, name: "totalSamplesDuration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 15, name: "trackIdentifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 16, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.MediaCodecStats
*/
class Samples_ClientSample_MediaCodecStats extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_MediaCodecStats().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_MediaCodecStats().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_MediaCodecStats().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_MediaCodecStats, a, b);
}
}
exports.Samples_ClientSample_MediaCodecStats = Samples_ClientSample_MediaCodecStats;
Samples_ClientSample_MediaCodecStats.runtime = protobuf_1.proto2;
Samples_ClientSample_MediaCodecStats.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.MediaCodecStats";
Samples_ClientSample_MediaCodecStats.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "channels", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 2, name: "clockRate", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 3, name: "codecType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 4, name: "mimeType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "payloadType", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 6, name: "sdpFmtpLine", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.Certificate
*/
class Samples_ClientSample_Certificate extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_Certificate().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_Certificate().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_Certificate().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_Certificate, a, b);
}
}
exports.Samples_ClientSample_Certificate = Samples_ClientSample_Certificate;
Samples_ClientSample_Certificate.runtime = protobuf_1.proto2;
Samples_ClientSample_Certificate.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.Certificate";
Samples_ClientSample_Certificate.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "base64Certificate", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 2, name: "fingerprint", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 3, name: "fingerprintAlgorithm", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 4, name: "issuerCertificateId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.InboundAudioTrack
*/
class Samples_ClientSample_InboundAudioTrack extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_InboundAudioTrack().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_InboundAudioTrack().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_InboundAudioTrack().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_InboundAudioTrack, a, b);
}
}
exports.Samples_ClientSample_InboundAudioTrack = Samples_ClientSample_InboundAudioTrack;
Samples_ClientSample_InboundAudioTrack.runtime = protobuf_1.proto2;
Samples_ClientSample_InboundAudioTrack.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.InboundAudioTrack";
Samples_ClientSample_InboundAudioTrack.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 2, name: "audioLevel", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 3, name: "bytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 4, name: "bytesSent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 5, name: "concealedSamples", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 6, name: "concealmentEvents", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 7, name: "decoderImplementation", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 8, name: "estimatedPlayoutTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 9, name: "fecPacketsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 10, name: "fecPacketsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 11, name: "headerBytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 12, name: "insertedSamplesForDeceleration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 13, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 14, name: "jitterBufferDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 15, name: "jitterBufferEmittedCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 16, name: "jitterBufferMinimumDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 17, name: "jitterBufferTargetDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 18, name: "lastPacketReceivedTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 19, name: "nackCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 20, name: "packetsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 21, name: "packetsLost", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 22, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 23, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 24, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 25, name: "remoteClientId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 26, name: "remoteTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 27, name: "removedSamplesForAcceleration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 28, name: "reportsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 29, name: "roundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 30, name: "roundTripTimeMeasurements", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 31, name: "sfuSinkId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 32, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 33, name: "silentConcealedSamples", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 34, name: "synthesizedSamplesDuration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 35, name: "synthesizedSamplesEvents", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 36, name: "totalAudioEnergy", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 37, name: "totalPlayoutDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 38, name: "totalProcessingDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 39, name: "totalRoundTripTime", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 40, name: "totalSamplesCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 41, name: "totalSamplesDuration", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 42, name: "totalSamplesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 43, name: "trackId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);
/**
* @generated from message org.observertc.schemas.protobuf.Samples.ClientSample.InboundVideoTrack
*/
class Samples_ClientSample_InboundVideoTrack extends protobuf_1.Message {
constructor(data) {
super();
protobuf_1.proto2.util.initPartial(data, this);
}
static fromBinary(bytes, options) {
return new Samples_ClientSample_InboundVideoTrack().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Samples_ClientSample_InboundVideoTrack().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Samples_ClientSample_InboundVideoTrack().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto2.util.equals(Samples_ClientSample_InboundVideoTrack, a, b);
}
}
exports.Samples_ClientSample_InboundVideoTrack = Samples_ClientSample_InboundVideoTrack;
Samples_ClientSample_InboundVideoTrack.runtime = protobuf_1.proto2;
Samples_ClientSample_InboundVideoTrack.typeName = "org.observertc.schemas.protobuf.Samples.ClientSample.InboundVideoTrack";
Samples_ClientSample_InboundVideoTrack.fields = protobuf_1.proto2.util.newFieldList(() => [
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 2, name: "bytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 3, name: "bytesSent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 4, name: "decoderImplementation", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 5, name: "estimatedPlayoutTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 6, name: "fecPacketsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 7, name: "fecPacketsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 8, name: "firCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 9, name: "frameHeight", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 10, name: "frameWidth", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 11, name: "framesDecoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 12, name: "framesDropped", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 13, name: "framesPerSecond", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 14, name: "framesReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 15, name: "headerBytesReceived", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 16, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 17, name: "jitterBufferDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 18, name: "jitterBufferEmittedCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 19, name: "jitterBufferMinimumDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 20, name: "jitterBufferTargetDelay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
{ no: 21, name: "keyFramesDecoded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 22, name: "lastPacketReceivedTimestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
{ no: 23, name: "nackCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 24, name: "packetsDiscarded", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 25, name: "packetsLost", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 26, name: "packetsReceived", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 27, name: "packetsSent", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 28, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
{ no: 29, name: "pliCount", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
{ no: 30, name: "qpSum", kind: "scalar", T