omnirtc-web 0.1.0-beta.3 → 0.1.0-beta.4
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/es-omnirtc-web.js +3 -3
- package/package.json +1 -1
package/dist/es-omnirtc-web.js
CHANGED
|
@@ -97,7 +97,7 @@ var InvalidTokenError_1 = InvalidTokenError;
|
|
|
97
97
|
lib.InvalidTokenError = InvalidTokenError_1;
|
|
98
98
|
|
|
99
99
|
var StaticConfig = {
|
|
100
|
-
agentVersion: "OmniRTC_Web_V0.1.0-beta.
|
|
100
|
+
agentVersion: "OmniRTC_Web_V0.1.0-beta.4",
|
|
101
101
|
logVersion: 1,
|
|
102
102
|
serviceType: 320,
|
|
103
103
|
logBackendUrl: "https://rtc-logs.magic-school.com/stream.gif"
|
|
@@ -9185,8 +9185,7 @@ function screenVideoEncoderConfigurationMapping(config) {
|
|
|
9185
9185
|
var rawEncoderConfig = config.encoderConfig;
|
|
9186
9186
|
if (config.encoderConfig) {
|
|
9187
9187
|
if (typeof config.encoderConfig === 'string'
|
|
9188
|
-
&& config.encoderConfig in presetScreenVideoEncoderConfig)
|
|
9189
|
-
{
|
|
9188
|
+
&& config.encoderConfig in presetScreenVideoEncoderConfig) {
|
|
9190
9189
|
rawEncoderConfig = presetScreenVideoEncoderConfig[config.encoderConfig];
|
|
9191
9190
|
}
|
|
9192
9191
|
}
|
|
@@ -11362,6 +11361,7 @@ var VolcCoreRTC = /** @class */ (function () {
|
|
|
11362
11361
|
switch (_a.label) {
|
|
11363
11362
|
case 0:
|
|
11364
11363
|
if (!config) return [3 /*break*/, 2];
|
|
11364
|
+
if (!config.encoderConfig) return [3 /*break*/, 2];
|
|
11365
11365
|
screenVideoEncoderConfig = screenVideoEncoderConfigurationMapping(config);
|
|
11366
11366
|
return [4 /*yield*/, this._engine.setScreenEncoderConfig(screenVideoEncoderConfig)];
|
|
11367
11367
|
case 1:
|