@webex/web-client-media-engine 1.36.1 → 1.36.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ export { AudioDeviceConstraints, ConnectionState, LocalCameraTrack, LocalDisplay
3
3
  import { StreamId, SourceState, Policy, PolicySpecificInfo, CodecInfo, JmpScrRequest, ActiveSpeakerNotificationMsg, MediaType, Source } from '@webex/json-multistream';
4
4
  export { SourceState } from '@webex/json-multistream';
5
5
  import TypedEmitter, { EventMap } from 'typed-emitter';
6
- import { StatsReport, LogData } from '@webex/rtcstats';
6
+ import { LogData } from '@webex/rtcstats';
7
7
  import * as js_logger from 'js-logger';
8
8
  import { ILogLevel } from 'js-logger';
9
9
  export { default as Logger } from 'js-logger';
@@ -84,6 +84,8 @@ declare type BundlePolicy = 'max' | 'compat';
84
84
  interface TransceiverStatItem {
85
85
  report: RTCStatsReport;
86
86
  currentDirection: RTCRtpTransceiverDirection;
87
+ csi?: number;
88
+ mid?: string | null;
87
89
  localTrackLabel?: string;
88
90
  }
89
91
  interface TransceiverStats {
@@ -166,7 +168,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
166
168
  requestMedia(mediaType: MediaType, mediaRequests: MediaRequest[]): void;
167
169
  renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions>): void;
168
170
  private getReceiveSlotById;
169
- getStats(): Promise<StatsReport>;
171
+ getStats(): Promise<RTCStatsReport>;
170
172
  getTransceiverStats(): Promise<TransceiverStats>;
171
173
  private preProcessStats;
172
174
  private attachMetricsObserver;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "1.36.1",
3
+ "version": "1.36.3",
4
4
  "description": "Web Client Media Engine is common web code for interacting with the multistream media server.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/cjs/index.js",