@webex/internal-media-core 1.34.0 → 1.34.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
CHANGED
|
@@ -9031,11 +9031,11 @@ function isValidSourceIndicationAckMsg(msg) {
|
|
|
9031
9031
|
var maybeSourceIndicationAckMsg = msg;
|
|
9032
9032
|
return Boolean(maybeSourceIndicationAckMsg.sourceIndicationSeqNum);
|
|
9033
9033
|
}
|
|
9034
|
-
var MediaFamily
|
|
9034
|
+
var MediaFamily;
|
|
9035
9035
|
(function (MediaFamily) {
|
|
9036
9036
|
MediaFamily["Audio"] = "AUDIO";
|
|
9037
9037
|
MediaFamily["Video"] = "VIDEO";
|
|
9038
|
-
})(MediaFamily
|
|
9038
|
+
})(MediaFamily || (MediaFamily = {}));
|
|
9039
9039
|
var MediaContent$1;
|
|
9040
9040
|
(function (MediaContent) {
|
|
9041
9041
|
MediaContent["Main"] = "MAIN";
|
|
@@ -9061,7 +9061,7 @@ function generateSceneId() {
|
|
|
9061
9061
|
}
|
|
9062
9062
|
function generateCsi(mediaFamily, sceneId) {
|
|
9063
9063
|
var av;
|
|
9064
|
-
if (mediaFamily === MediaFamily
|
|
9064
|
+
if (mediaFamily === MediaFamily.Audio) {
|
|
9065
9065
|
av = 0;
|
|
9066
9066
|
} else {
|
|
9067
9067
|
av = 1;
|
|
@@ -9069,19 +9069,19 @@ function generateCsi(mediaFamily, sceneId) {
|
|
|
9069
9069
|
return sceneId << 8 | av;
|
|
9070
9070
|
}
|
|
9071
9071
|
function getMediaType(mediaFamily, mediaContent) {
|
|
9072
|
-
if (mediaFamily === MediaFamily
|
|
9072
|
+
if (mediaFamily === MediaFamily.Video && mediaContent === MediaContent$1.Main) {
|
|
9073
9073
|
return MediaType.VideoMain;
|
|
9074
9074
|
}
|
|
9075
|
-
if (mediaFamily === MediaFamily
|
|
9075
|
+
if (mediaFamily === MediaFamily.Video && mediaContent === MediaContent$1.Slides) {
|
|
9076
9076
|
return MediaType.VideoSlides;
|
|
9077
9077
|
}
|
|
9078
|
-
if (mediaFamily === MediaFamily
|
|
9078
|
+
if (mediaFamily === MediaFamily.Audio && mediaContent === MediaContent$1.Main) {
|
|
9079
9079
|
return MediaType.AudioMain;
|
|
9080
9080
|
}
|
|
9081
9081
|
return MediaType.AudioSlides;
|
|
9082
9082
|
}
|
|
9083
|
-
function getMediaFamily(mediaType) {
|
|
9084
|
-
return [MediaType.VideoMain, MediaType.VideoSlides].includes(mediaType) ? MediaFamily
|
|
9083
|
+
function getMediaFamily$1(mediaType) {
|
|
9084
|
+
return [MediaType.VideoMain, MediaType.VideoSlides].includes(mediaType) ? MediaFamily.Video : MediaFamily.Audio;
|
|
9085
9085
|
}
|
|
9086
9086
|
function getMediaContent(mediaType) {
|
|
9087
9087
|
return [MediaType.VideoMain, MediaType.AudioMain].includes(mediaType) ? MediaContent$1.Main : MediaContent$1.Slides;
|
|
@@ -12026,10 +12026,10 @@ function deepCopy(source) {
|
|
|
12026
12026
|
function getMediaTypeForMline(mLine) {
|
|
12027
12027
|
var _a, _b;
|
|
12028
12028
|
var mediaFamily;
|
|
12029
|
-
if (mLine.type.toLowerCase() === MediaFamily
|
|
12030
|
-
mediaFamily = MediaFamily
|
|
12031
|
-
} else if (mLine.type.toLowerCase() === MediaFamily
|
|
12032
|
-
mediaFamily = MediaFamily
|
|
12029
|
+
if (mLine.type.toLowerCase() === MediaFamily.Audio.toLowerCase()) {
|
|
12030
|
+
mediaFamily = MediaFamily.Audio;
|
|
12031
|
+
} else if (mLine.type.toLowerCase() === MediaFamily.Video.toLowerCase()) {
|
|
12032
|
+
mediaFamily = MediaFamily.Video;
|
|
12033
12033
|
} else {
|
|
12034
12034
|
throw Error("Mline type doesn't match any known MediaFamily: ".concat(mLine.type));
|
|
12035
12035
|
}
|
|
@@ -14120,9 +14120,9 @@ function toMediaStreamTrackKind(mediaType) {
|
|
|
14120
14120
|
}
|
|
14121
14121
|
function toMediaFamily(kind) {
|
|
14122
14122
|
if (kind === MediaStreamTrackKind.Video) {
|
|
14123
|
-
return MediaFamily
|
|
14123
|
+
return MediaFamily.Video;
|
|
14124
14124
|
}
|
|
14125
|
-
return MediaFamily
|
|
14125
|
+
return MediaFamily.Audio;
|
|
14126
14126
|
}
|
|
14127
14127
|
var MultistreamConnectionEventNames;
|
|
14128
14128
|
(function (MultistreamConnectionEventNames) {
|
|
@@ -14217,12 +14217,12 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14217
14217
|
throw e;
|
|
14218
14218
|
}
|
|
14219
14219
|
this.addMid(mediaType);
|
|
14220
|
-
var csi = generateCsi(getMediaFamily(mediaType), sceneId);
|
|
14220
|
+
var csi = generateCsi(getMediaFamily$1(mediaType), sceneId);
|
|
14221
14221
|
this.sendTransceivers.set(mediaType, new SendOnlyTransceiver(rtcTransceiver, csi));
|
|
14222
14222
|
this.createJmpSession(mediaType);
|
|
14223
14223
|
}
|
|
14224
14224
|
createJmpSession(mediaType) {
|
|
14225
|
-
var jmpSession = new JmpSession(getMediaFamily(mediaType), getMediaContent(mediaType));
|
|
14225
|
+
var jmpSession = new JmpSession(getMediaFamily$1(mediaType), getMediaContent(mediaType));
|
|
14226
14226
|
jmpSession.setTxCallback(msg => {
|
|
14227
14227
|
var _a;
|
|
14228
14228
|
if (((_a = this.dataChannel) === null || _a === void 0 ? void 0 : _a.readyState) !== 'open') {
|
|
@@ -14232,7 +14232,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14232
14232
|
logger$4.info("Sending JMP message: ".concat(msg));
|
|
14233
14233
|
this.dataChannel.send(msg);
|
|
14234
14234
|
});
|
|
14235
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14235
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Video) {
|
|
14236
14236
|
var prevNumTotalSources = 0;
|
|
14237
14237
|
var prevNumLiveSources = 0;
|
|
14238
14238
|
jmpSession.on(JmpSessionEvents$1.SourceIndication, data => {
|
|
@@ -14255,7 +14255,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14255
14255
|
this.updateRequestedStreams(mediaType, data.requests);
|
|
14256
14256
|
});
|
|
14257
14257
|
}
|
|
14258
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14258
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Audio) {
|
|
14259
14259
|
var _prevNumTotalSources = 0;
|
|
14260
14260
|
var _prevNumLiveSources = 0;
|
|
14261
14261
|
jmpSession.on(JmpSessionEvents$1.SourceIndication, data => {
|
|
@@ -14281,7 +14281,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14281
14281
|
this.jmpSessions.set(mediaType, jmpSession);
|
|
14282
14282
|
}
|
|
14283
14283
|
sendSourceWarnings(mediaType, requests) {
|
|
14284
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14284
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Video) {
|
|
14285
14285
|
var sendTransceiver = this.getSendTransceiverOrThrow(mediaType);
|
|
14286
14286
|
var signaler = this.streamSignalerManager.getEgressStreamSignalerOrThrow(sendTransceiver.mid);
|
|
14287
14287
|
var sourceWarnings = [];
|
|
@@ -14359,7 +14359,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14359
14359
|
}
|
|
14360
14360
|
});
|
|
14361
14361
|
sendTransceiver.setTrackRequested(requestedIdEncodingParamsMap.size > 0);
|
|
14362
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14362
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Video) {
|
|
14363
14363
|
sendTransceiver.updateSimulcastStreamStates(requestedIdEncodingParamsMap);
|
|
14364
14364
|
}
|
|
14365
14365
|
}
|
|
@@ -14370,7 +14370,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14370
14370
|
this.sendTransceivers.forEach((transceiver, mediaType) => {
|
|
14371
14371
|
var track = transceiver.publishedTrack;
|
|
14372
14372
|
if (track) {
|
|
14373
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14373
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Audio) {
|
|
14374
14374
|
this.sendSourceIndication(mediaType, +!track.muted);
|
|
14375
14375
|
} else {
|
|
14376
14376
|
var signaler = this.streamSignalerManager.getEgressStreamSignalerOrThrow(transceiver.mid);
|
|
@@ -14486,7 +14486,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14486
14486
|
return;
|
|
14487
14487
|
}
|
|
14488
14488
|
if (this.getPublishedTracks().includes(track)) {
|
|
14489
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14489
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Audio) {
|
|
14490
14490
|
this.sendSourceIndication(mediaType, +!event.trackState.muted);
|
|
14491
14491
|
} else {
|
|
14492
14492
|
var state = event.trackState.muted ? 'avatar' : 'live';
|
|
@@ -14511,7 +14511,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14511
14511
|
return;
|
|
14512
14512
|
}
|
|
14513
14513
|
if (!event.trackState.muted) {
|
|
14514
|
-
if (getMediaFamily(mediaType) === MediaFamily
|
|
14514
|
+
if (getMediaFamily$1(mediaType) === MediaFamily.Audio) {
|
|
14515
14515
|
this.sendSourceIndication(mediaType, +event.isPublished);
|
|
14516
14516
|
} else {
|
|
14517
14517
|
var state = event.isPublished ? 'live' : 'no source';
|
|
@@ -14717,9 +14717,9 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14717
14717
|
this.addMid(mediaType);
|
|
14718
14718
|
transceiver.replaceTransceiver(this.pc.addTransceiver(toMediaStreamTrackKind(mediaType), {
|
|
14719
14719
|
direction: 'sendrecv',
|
|
14720
|
-
sendEncodings: getMediaFamily(mediaType) === MediaFamily
|
|
14720
|
+
sendEncodings: getMediaFamily$1(mediaType) === MediaFamily.Video ? this.getVideoEncodingOptions() : undefined
|
|
14721
14721
|
}));
|
|
14722
|
-
transceiver.csi = generateCsi(getMediaFamily(mediaType), mainSceneId);
|
|
14722
|
+
transceiver.csi = generateCsi(getMediaFamily$1(mediaType), mainSceneId);
|
|
14723
14723
|
(_a = this.jmpSessions.get(mediaType)) === null || _a === void 0 ? void 0 : _a.close();
|
|
14724
14724
|
this.createJmpSession(mediaType);
|
|
14725
14725
|
});
|
|
@@ -23726,11 +23726,11 @@ class ReceiverSelectedInfo {
|
|
|
23726
23726
|
return "ReceiverSelectedInfo(csi=".concat(this.csi, ")");
|
|
23727
23727
|
}
|
|
23728
23728
|
}
|
|
23729
|
-
|
|
23729
|
+
exports.MediaFamily = void 0;
|
|
23730
23730
|
(function (MediaFamily) {
|
|
23731
23731
|
MediaFamily["Audio"] = "AUDIO";
|
|
23732
23732
|
MediaFamily["Video"] = "VIDEO";
|
|
23733
|
-
})(MediaFamily || (MediaFamily = {}));
|
|
23733
|
+
})(exports.MediaFamily || (exports.MediaFamily = {}));
|
|
23734
23734
|
var MediaContent;
|
|
23735
23735
|
(function (MediaContent) {
|
|
23736
23736
|
MediaContent["Main"] = "MAIN";
|
|
@@ -23748,6 +23748,9 @@ exports.MediaType = void 0;
|
|
|
23748
23748
|
MediaType["AudioMain"] = "AUDIO-MAIN";
|
|
23749
23749
|
MediaType["AudioSlides"] = "AUDIO-SLIDES";
|
|
23750
23750
|
})(exports.MediaType || (exports.MediaType = {}));
|
|
23751
|
+
function getMediaFamily(mediaType) {
|
|
23752
|
+
return [exports.MediaType.VideoMain, exports.MediaType.VideoSlides].includes(mediaType) ? exports.MediaFamily.Video : exports.MediaFamily.Audio;
|
|
23753
|
+
}
|
|
23751
23754
|
var JmpSessionEvents;
|
|
23752
23755
|
(function (JmpSessionEvents) {
|
|
23753
23756
|
JmpSessionEvents["SourceIndication"] = "source-indication";
|
|
@@ -23988,5 +23991,6 @@ exports.ReceiverSelectedInfo = ReceiverSelectedInfo;
|
|
|
23988
23991
|
exports.RoapMediaConnection = RoapMediaConnection;
|
|
23989
23992
|
exports.getErrorDescription = getErrorDescription;
|
|
23990
23993
|
exports.getLogger = getLogger;
|
|
23994
|
+
exports.getMediaFamily = getMediaFamily;
|
|
23991
23995
|
exports.isBrowserSupported = isBrowserSupported;
|
|
23992
23996
|
exports.setLogger = setLogger;
|
package/dist/esm/index.js
CHANGED
|
@@ -9069,7 +9069,7 @@ function getMediaType(mediaFamily, mediaContent) {
|
|
|
9069
9069
|
}
|
|
9070
9070
|
return MediaType$1.AudioSlides;
|
|
9071
9071
|
}
|
|
9072
|
-
function getMediaFamily(mediaType) {
|
|
9072
|
+
function getMediaFamily$1(mediaType) {
|
|
9073
9073
|
return [MediaType$1.VideoMain, MediaType$1.VideoSlides].includes(mediaType) ? MediaFamily$1.Video : MediaFamily$1.Audio;
|
|
9074
9074
|
}
|
|
9075
9075
|
function getMediaContent(mediaType) {
|
|
@@ -14206,12 +14206,12 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14206
14206
|
throw e;
|
|
14207
14207
|
}
|
|
14208
14208
|
this.addMid(mediaType);
|
|
14209
|
-
var csi = generateCsi(getMediaFamily(mediaType), sceneId);
|
|
14209
|
+
var csi = generateCsi(getMediaFamily$1(mediaType), sceneId);
|
|
14210
14210
|
this.sendTransceivers.set(mediaType, new SendOnlyTransceiver(rtcTransceiver, csi));
|
|
14211
14211
|
this.createJmpSession(mediaType);
|
|
14212
14212
|
}
|
|
14213
14213
|
createJmpSession(mediaType) {
|
|
14214
|
-
var jmpSession = new JmpSession(getMediaFamily(mediaType), getMediaContent(mediaType));
|
|
14214
|
+
var jmpSession = new JmpSession(getMediaFamily$1(mediaType), getMediaContent(mediaType));
|
|
14215
14215
|
jmpSession.setTxCallback(msg => {
|
|
14216
14216
|
var _a;
|
|
14217
14217
|
if (((_a = this.dataChannel) === null || _a === void 0 ? void 0 : _a.readyState) !== 'open') {
|
|
@@ -14221,7 +14221,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14221
14221
|
logger$4.info("Sending JMP message: ".concat(msg));
|
|
14222
14222
|
this.dataChannel.send(msg);
|
|
14223
14223
|
});
|
|
14224
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Video) {
|
|
14224
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Video) {
|
|
14225
14225
|
var prevNumTotalSources = 0;
|
|
14226
14226
|
var prevNumLiveSources = 0;
|
|
14227
14227
|
jmpSession.on(JmpSessionEvents$1.SourceIndication, data => {
|
|
@@ -14244,7 +14244,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14244
14244
|
this.updateRequestedStreams(mediaType, data.requests);
|
|
14245
14245
|
});
|
|
14246
14246
|
}
|
|
14247
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Audio) {
|
|
14247
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Audio) {
|
|
14248
14248
|
var _prevNumTotalSources = 0;
|
|
14249
14249
|
var _prevNumLiveSources = 0;
|
|
14250
14250
|
jmpSession.on(JmpSessionEvents$1.SourceIndication, data => {
|
|
@@ -14270,7 +14270,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14270
14270
|
this.jmpSessions.set(mediaType, jmpSession);
|
|
14271
14271
|
}
|
|
14272
14272
|
sendSourceWarnings(mediaType, requests) {
|
|
14273
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Video) {
|
|
14273
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Video) {
|
|
14274
14274
|
var sendTransceiver = this.getSendTransceiverOrThrow(mediaType);
|
|
14275
14275
|
var signaler = this.streamSignalerManager.getEgressStreamSignalerOrThrow(sendTransceiver.mid);
|
|
14276
14276
|
var sourceWarnings = [];
|
|
@@ -14348,7 +14348,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14348
14348
|
}
|
|
14349
14349
|
});
|
|
14350
14350
|
sendTransceiver.setTrackRequested(requestedIdEncodingParamsMap.size > 0);
|
|
14351
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Video) {
|
|
14351
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Video) {
|
|
14352
14352
|
sendTransceiver.updateSimulcastStreamStates(requestedIdEncodingParamsMap);
|
|
14353
14353
|
}
|
|
14354
14354
|
}
|
|
@@ -14359,7 +14359,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14359
14359
|
this.sendTransceivers.forEach((transceiver, mediaType) => {
|
|
14360
14360
|
var track = transceiver.publishedTrack;
|
|
14361
14361
|
if (track) {
|
|
14362
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Audio) {
|
|
14362
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Audio) {
|
|
14363
14363
|
this.sendSourceIndication(mediaType, +!track.muted);
|
|
14364
14364
|
} else {
|
|
14365
14365
|
var signaler = this.streamSignalerManager.getEgressStreamSignalerOrThrow(transceiver.mid);
|
|
@@ -14475,7 +14475,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14475
14475
|
return;
|
|
14476
14476
|
}
|
|
14477
14477
|
if (this.getPublishedTracks().includes(track)) {
|
|
14478
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Audio) {
|
|
14478
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Audio) {
|
|
14479
14479
|
this.sendSourceIndication(mediaType, +!event.trackState.muted);
|
|
14480
14480
|
} else {
|
|
14481
14481
|
var state = event.trackState.muted ? 'avatar' : 'live';
|
|
@@ -14500,7 +14500,7 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14500
14500
|
return;
|
|
14501
14501
|
}
|
|
14502
14502
|
if (!event.trackState.muted) {
|
|
14503
|
-
if (getMediaFamily(mediaType) === MediaFamily$1.Audio) {
|
|
14503
|
+
if (getMediaFamily$1(mediaType) === MediaFamily$1.Audio) {
|
|
14504
14504
|
this.sendSourceIndication(mediaType, +event.isPublished);
|
|
14505
14505
|
} else {
|
|
14506
14506
|
var state = event.isPublished ? 'live' : 'no source';
|
|
@@ -14706,9 +14706,9 @@ class MultistreamConnection extends EventEmitter {
|
|
|
14706
14706
|
this.addMid(mediaType);
|
|
14707
14707
|
transceiver.replaceTransceiver(this.pc.addTransceiver(toMediaStreamTrackKind(mediaType), {
|
|
14708
14708
|
direction: 'sendrecv',
|
|
14709
|
-
sendEncodings: getMediaFamily(mediaType) === MediaFamily$1.Video ? this.getVideoEncodingOptions() : undefined
|
|
14709
|
+
sendEncodings: getMediaFamily$1(mediaType) === MediaFamily$1.Video ? this.getVideoEncodingOptions() : undefined
|
|
14710
14710
|
}));
|
|
14711
|
-
transceiver.csi = generateCsi(getMediaFamily(mediaType), mainSceneId);
|
|
14711
|
+
transceiver.csi = generateCsi(getMediaFamily$1(mediaType), mainSceneId);
|
|
14712
14712
|
(_a = this.jmpSessions.get(mediaType)) === null || _a === void 0 ? void 0 : _a.close();
|
|
14713
14713
|
this.createJmpSession(mediaType);
|
|
14714
14714
|
});
|
|
@@ -23737,6 +23737,9 @@ var MediaType;
|
|
|
23737
23737
|
MediaType["AudioMain"] = "AUDIO-MAIN";
|
|
23738
23738
|
MediaType["AudioSlides"] = "AUDIO-SLIDES";
|
|
23739
23739
|
})(MediaType || (MediaType = {}));
|
|
23740
|
+
function getMediaFamily(mediaType) {
|
|
23741
|
+
return [MediaType.VideoMain, MediaType.VideoSlides].includes(mediaType) ? MediaFamily.Video : MediaFamily.Audio;
|
|
23742
|
+
}
|
|
23740
23743
|
var JmpSessionEvents;
|
|
23741
23744
|
(function (JmpSessionEvents) {
|
|
23742
23745
|
JmpSessionEvents["SourceIndication"] = "source-indication";
|
|
@@ -23965,4 +23968,4 @@ var Media = {
|
|
|
23965
23968
|
isBrowserSupported
|
|
23966
23969
|
};
|
|
23967
23970
|
|
|
23968
|
-
export { ActiveSpeakerInfo, CodecInfo, ConnectionState, ErrorType, Errors, Event$1 as Event, H264Codec, Media, MediaRequest, MediaType, MultistreamRoapMediaConnection, Policy, ReceiveSlot, ReceiveSlotEvents, ReceiverSelectedInfo, RemoteTrackType, RoapMediaConnection, getErrorDescription, getLogger, isBrowserSupported, setLogger };
|
|
23971
|
+
export { ActiveSpeakerInfo, CodecInfo, ConnectionState, ErrorType, Errors, Event$1 as Event, H264Codec, Media, MediaFamily, MediaRequest, MediaType, MultistreamRoapMediaConnection, Policy, ReceiveSlot, ReceiveSlotEvents, ReceiverSelectedInfo, RemoteTrackType, RoapMediaConnection, getErrorDescription, getLogger, getMediaFamily, isBrowserSupported, setLogger };
|
|
@@ -5,7 +5,7 @@ import { MediaType } from '@webex/json-multistream';
|
|
|
5
5
|
import { ConnectionState, RoapMessage } from './eventTypes';
|
|
6
6
|
import { MultistreamConnectionConfig } from './config';
|
|
7
7
|
export { MediaRequest, ReceiveSlot, ReceiveSlotEvents } from '@webex/web-client-media-engine';
|
|
8
|
-
export { ActiveSpeakerInfo, CodecInfo, H264Codec, MediaType, SourceState, Policy, PolicySpecificInfo, ReceiverSelectedInfo, } from '@webex/json-multistream';
|
|
8
|
+
export { ActiveSpeakerInfo, CodecInfo, getMediaFamily, H264Codec, MediaFamily, MediaType, SourceState, Policy, PolicySpecificInfo, ReceiverSelectedInfo, } from '@webex/json-multistream';
|
|
9
9
|
export declare class MultistreamRoapMediaConnection extends EventEmitter {
|
|
10
10
|
private id?;
|
|
11
11
|
private debugId?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultistreamRoapMediaConnection.d.ts","sourceRoot":"","sources":["../../../src/MediaConnection/MultistreamRoapMediaConnection.ts"],"names":[],"mappings":";AAAA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAElC,OAAO,EAKL,YAAY,EAGZ,WAAW,EACX,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAA6C,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAG9F,OAAO,EAAQ,eAAe,EAAE,WAAW,EAAmB,MAAM,cAAc,CAAC;AAKnF,OAAO,EAAC,2BAA2B,EAAC,MAAM,UAAU,CAAC;AAGrD,OAAO,EAAC,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAE5F,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,MAAM,EACN,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AAGjC,qBAAa,8BAA+B,SAAQ,YAAY;IAC9D,OAAO,CAAC,EAAE,CAAC,CAAS;IAEpB,OAAO,CAAC,OAAO,CAAC,CAAS;IAEzB,OAAO,CAAC,qBAAqB,CAAwB;IAErD,OAAO,CAAC,IAAI,CAAO;IAEnB,OAAO,CAAC,qBAAqB,CAAS;
|
|
1
|
+
{"version":3,"file":"MultistreamRoapMediaConnection.d.ts","sourceRoot":"","sources":["../../../src/MediaConnection/MultistreamRoapMediaConnection.ts"],"names":[],"mappings":";AAAA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAElC,OAAO,EAKL,YAAY,EAGZ,WAAW,EACX,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAA6C,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAG9F,OAAO,EAAQ,eAAe,EAAE,WAAW,EAAmB,MAAM,cAAc,CAAC;AAKnF,OAAO,EAAC,2BAA2B,EAAC,MAAM,UAAU,CAAC;AAGrD,OAAO,EAAC,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAE5F,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,MAAM,EACN,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AAGjC,qBAAa,8BAA+B,SAAQ,YAAY;IAC9D,OAAO,CAAC,EAAE,CAAC,CAAS;IAEpB,OAAO,CAAC,OAAO,CAAC,CAAS;IAEzB,OAAO,CAAC,qBAAqB,CAAwB;IAErD,OAAO,CAAC,IAAI,CAAO;IAEnB,OAAO,CAAC,qBAAqB,CAAS;gBAS1B,qBAAqB,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,MAAM;IAehF,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,GAAG;IAIX,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,2BAA2B;IAyCnC,OAAO,CAAC,UAAU;IA4BX,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAiB9B,KAAK,IAAI,IAAI;IAOpB,OAAO,CAAC,oBAAoB;IAK5B,OAAO,CAAC,eAAe;IAiBhB,SAAS,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,aAAa,UAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B1E,kBAAkB,IAAI,eAAe;IAWrC,QAAQ,IAAI,OAAO,CAAC,cAAc,CAAC;IAOnC,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAShD,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAa7C,YAAY,CACvB,KAAK,EAAE,gBAAgB,EACvB,YAAY,EAAE,MAAM,GAAG,QAAQ,GAC9B,OAAO,CAAC,IAAI,CAAC;IAkCH,cAAc,CACzB,KAAK,EAAE,gBAAgB,EACvB,YAAY,EAAE,MAAM,GAAG,QAAQ,GAC9B,OAAO,CAAC,IAAI,CAAC;IAmCT,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC;IAM7D,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,IAAI;IAM9E,OAAO,CAAC,gBAAgB;IAkBxB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,kBAAkB;CAkB3B"}
|