@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.
- package/dist/cjs/index.js +15 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +15 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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 {
|
|
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<
|
|
171
|
+
getStats(): Promise<RTCStatsReport>;
|
|
170
172
|
getTransceiverStats(): Promise<TransceiverStats>;
|
|
171
173
|
private preProcessStats;
|
|
172
174
|
private attachMetricsObserver;
|
package/package.json
CHANGED