@webex/web-client-media-engine 3.16.0 → 3.17.1
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 +86 -67
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +86 -67
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +7 -5
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -110,6 +110,8 @@ declare class EgressSdpMunger {
|
|
|
110
110
|
deleteCodecParameters(parameters: string[]): void;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
declare type StatsMap = Map<string, any>;
|
|
114
|
+
|
|
113
115
|
declare abstract class Transceiver {
|
|
114
116
|
protected _rtcRtpTransceiver: RTCRtpTransceiver;
|
|
115
117
|
mid: string;
|
|
@@ -153,10 +155,10 @@ declare class SendOnlyTransceiver extends Transceiver {
|
|
|
153
155
|
unpublishStream(): Promise<void>;
|
|
154
156
|
get active(): boolean;
|
|
155
157
|
set active(enabled: boolean);
|
|
156
|
-
getStats(): Promise<
|
|
158
|
+
getStats(): Promise<StatsMap>;
|
|
157
159
|
updateSendParameters(requestedIdEncodingParamsMap: Map<number, EncodingParams>): Promise<void>;
|
|
158
|
-
getRequestedBitrate
|
|
159
|
-
getRequestedFrameSize
|
|
160
|
+
private getRequestedBitrate;
|
|
161
|
+
private getRequestedFrameSize;
|
|
160
162
|
private isSimulcastEnabled;
|
|
161
163
|
mungeLocalDescription(mediaDescription: AvMediaDescription): void;
|
|
162
164
|
mungeLocalDescriptionForRemoteServer(mediaDescription: AvMediaDescription): void;
|
|
@@ -197,7 +199,7 @@ declare class StreamRequest {
|
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
interface TransceiverStatItem {
|
|
200
|
-
report:
|
|
202
|
+
report: StatsMap;
|
|
201
203
|
currentDirection: RTCRtpTransceiverDirection;
|
|
202
204
|
csi?: number;
|
|
203
205
|
mid?: string | null;
|
|
@@ -306,7 +308,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
|
|
|
306
308
|
requestMedia(mediaType: MediaType, streamRequests: StreamRequest[]): void;
|
|
307
309
|
renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions>): void;
|
|
308
310
|
private getReceiveSlotById;
|
|
309
|
-
getStats(): Promise<
|
|
311
|
+
getStats(): Promise<StatsMap>;
|
|
310
312
|
getTransceiverStats(): Promise<TransceiverStats>;
|
|
311
313
|
private preProcessStats;
|
|
312
314
|
private attachMetricsObserver;
|
package/package.json
CHANGED