livekit-client 2.15.0 → 2.15.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.
@@ -11364,7 +11364,7 @@ function getOSVersion(ua) {
|
|
11364
11364
|
return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
|
11365
11365
|
}
|
11366
11366
|
|
11367
|
-
var version$1 = "2.15.
|
11367
|
+
var version$1 = "2.15.1";
|
11368
11368
|
|
11369
11369
|
const version = version$1;
|
11370
11370
|
const protocolVersion = 16;
|
@@ -14974,9 +14974,6 @@ class PCTransport extends eventsExports.EventEmitter {
|
|
14974
14974
|
var _a;
|
14975
14975
|
const unlock = yield this.offerLock.lock();
|
14976
14976
|
try {
|
14977
|
-
// increase the offer id at the start to ensure the offer is always > 0 so that we can use 0 as a default value for legacy behavior
|
14978
|
-
const offerId = this.latestOfferId + 1;
|
14979
|
-
this.latestOfferId = offerId;
|
14980
14977
|
if (this.onOffer === undefined) {
|
14981
14978
|
return;
|
14982
14979
|
}
|
@@ -15002,6 +14999,9 @@ class PCTransport extends eventsExports.EventEmitter {
|
|
15002
14999
|
}
|
15003
15000
|
// actually negotiate
|
15004
15001
|
this.log.debug('starting to negotiate', this.logContext);
|
15002
|
+
// increase the offer id at the start to ensure the offer is always > 0 so that we can use 0 as a default value for legacy behavior
|
15003
|
+
const offerId = this.latestOfferId + 1;
|
15004
|
+
this.latestOfferId = offerId;
|
15005
15005
|
const offer = yield this.pc.createOffer(options);
|
15006
15006
|
this.log.debug('original offer', Object.assign({
|
15007
15007
|
sdp: offer.sdp
|