@whereby.com/media 1.23.0 → 1.23.2
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/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/dist/legacy-esm.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5244,7 +5244,7 @@ class VegaRtcManager {
|
|
|
5244
5244
|
try {
|
|
5245
5245
|
const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
|
|
5246
5246
|
if (!this._routerRtpCapabilities) {
|
|
5247
|
-
modifyMediaCapabilities(routerRtpCapabilities, this._features);
|
|
5247
|
+
modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
|
|
5248
5248
|
this._routerRtpCapabilities = routerRtpCapabilities;
|
|
5249
5249
|
yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
|
|
5250
5250
|
}
|
|
@@ -5705,7 +5705,7 @@ class VegaRtcManager {
|
|
|
5705
5705
|
this._screenVideoProducerPromise = null;
|
|
5706
5706
|
return;
|
|
5707
5707
|
}
|
|
5708
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video",
|
|
5708
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5709
5709
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5710
5710
|
sourceClientId: this._selfId,
|
|
5711
5711
|
screenShare: true,
|
|
@@ -5779,7 +5779,7 @@ class VegaRtcManager {
|
|
|
5779
5779
|
this._screenAudioProducerPromise = null;
|
|
5780
5780
|
return;
|
|
5781
5781
|
}
|
|
5782
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio",
|
|
5782
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5783
5783
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5784
5784
|
sourceClientId: this._selfId,
|
|
5785
5785
|
screenShare: true,
|
package/dist/index.mjs
CHANGED
|
@@ -5219,7 +5219,7 @@ class VegaRtcManager {
|
|
|
5219
5219
|
try {
|
|
5220
5220
|
const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
|
|
5221
5221
|
if (!this._routerRtpCapabilities) {
|
|
5222
|
-
modifyMediaCapabilities(routerRtpCapabilities, this._features);
|
|
5222
|
+
modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
|
|
5223
5223
|
this._routerRtpCapabilities = routerRtpCapabilities;
|
|
5224
5224
|
yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
|
|
5225
5225
|
}
|
|
@@ -5680,7 +5680,7 @@ class VegaRtcManager {
|
|
|
5680
5680
|
this._screenVideoProducerPromise = null;
|
|
5681
5681
|
return;
|
|
5682
5682
|
}
|
|
5683
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video",
|
|
5683
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5684
5684
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5685
5685
|
sourceClientId: this._selfId,
|
|
5686
5686
|
screenShare: true,
|
|
@@ -5754,7 +5754,7 @@ class VegaRtcManager {
|
|
|
5754
5754
|
this._screenAudioProducerPromise = null;
|
|
5755
5755
|
return;
|
|
5756
5756
|
}
|
|
5757
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio",
|
|
5757
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5758
5758
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5759
5759
|
sourceClientId: this._selfId,
|
|
5760
5760
|
screenShare: true,
|
package/dist/legacy-esm.js
CHANGED
|
@@ -5219,7 +5219,7 @@ class VegaRtcManager {
|
|
|
5219
5219
|
try {
|
|
5220
5220
|
const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
|
|
5221
5221
|
if (!this._routerRtpCapabilities) {
|
|
5222
|
-
modifyMediaCapabilities(routerRtpCapabilities, this._features);
|
|
5222
|
+
modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
|
|
5223
5223
|
this._routerRtpCapabilities = routerRtpCapabilities;
|
|
5224
5224
|
yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
|
|
5225
5225
|
}
|
|
@@ -5680,7 +5680,7 @@ class VegaRtcManager {
|
|
|
5680
5680
|
this._screenVideoProducerPromise = null;
|
|
5681
5681
|
return;
|
|
5682
5682
|
}
|
|
5683
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video",
|
|
5683
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenVideoTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("video", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5684
5684
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5685
5685
|
sourceClientId: this._selfId,
|
|
5686
5686
|
screenShare: true,
|
|
@@ -5754,7 +5754,7 @@ class VegaRtcManager {
|
|
|
5754
5754
|
this._screenAudioProducerPromise = null;
|
|
5755
5755
|
return;
|
|
5756
5756
|
}
|
|
5757
|
-
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio",
|
|
5757
|
+
const producer = yield this._sendTransport.produce(Object.assign(Object.assign({ track: this._screenAudioTrack, disableTrackOnPause: false, stopTracks: false }, getMediaSettings("audio", true, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }))), { appData: {
|
|
5758
5758
|
streamId: OUTBOUND_SCREEN_OUTBOUND_STREAM_ID,
|
|
5759
5759
|
sourceClientId: this._selfId,
|
|
5760
5760
|
screenShare: true,
|