livekit-client 2.11.1 → 2.11.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.
@@ -11186,7 +11186,7 @@ function getOSVersion(ua) {
|
|
11186
11186
|
return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
|
11187
11187
|
}
|
11188
11188
|
|
11189
|
-
var version$1 = "2.11.
|
11189
|
+
var version$1 = "2.11.2";
|
11190
11190
|
|
11191
11191
|
const version = version$1;
|
11192
11192
|
const protocolVersion = 15;
|
@@ -19556,7 +19556,7 @@ function createLocalVideoTrack(options) {
|
|
19556
19556
|
return __awaiter(this, void 0, void 0, function* () {
|
19557
19557
|
const tracks = yield createLocalTracks({
|
19558
19558
|
audio: false,
|
19559
|
-
video: options
|
19559
|
+
video: options !== null && options !== void 0 ? options : true
|
19560
19560
|
});
|
19561
19561
|
return tracks[0];
|
19562
19562
|
});
|
@@ -19564,7 +19564,7 @@ function createLocalVideoTrack(options) {
|
|
19564
19564
|
function createLocalAudioTrack(options) {
|
19565
19565
|
return __awaiter(this, void 0, void 0, function* () {
|
19566
19566
|
const tracks = yield createLocalTracks({
|
19567
|
-
audio: options,
|
19567
|
+
audio: options !== null && options !== void 0 ? options : true,
|
19568
19568
|
video: false
|
19569
19569
|
});
|
19570
19570
|
return tracks[0];
|