@urun-sh/core 0.6.24 → 0.6.26
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/adapter/index.js +7 -7
- package/dist/adapter/index.mjs +1 -1
- package/dist/{app-ZTID6JRW.mjs → app-QSLXWKOB.mjs} +1 -1
- package/dist/{backoff-B-7BpoP1.d.mts → backoff-BrpMTlSA.d.mts} +18 -12
- package/dist/{backoff-B-7BpoP1.d.ts → backoff-BrpMTlSA.d.ts} +18 -12
- package/dist/{backoff-cCrN-3Sd.d.ts → backoff-DEYxhkd9.d.mts} +18 -12
- package/dist/{backoff-cCrN-3Sd.d.mts → backoff-DEYxhkd9.d.ts} +18 -12
- package/dist/chunk-AXM65QSW.mjs +8 -0
- package/dist/chunk-R6567UGD.mjs +30 -0
- package/dist/chunk-ZYA7DYJO.mjs +3 -0
- package/dist/index.browser.d.mts +2 -2
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.mjs +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +1 -1
- package/dist/internal.browser.d.ts +1 -1
- package/dist/internal.browser.js +2 -2
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +5 -5
- package/dist/internal.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3OLWOC5Y.mjs +0 -30
- package/dist/chunk-NK7JCY66.mjs +0 -8
- package/dist/chunk-PM5RRWY3.mjs +0 -3
package/dist/adapter/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __urunCreateRequire } from 'node:module'; const require = globalThis.require ?? __urunCreateRequire(import.meta.url);
|
|
2
|
-
import"../chunk-NLAOQUYQ.mjs";var p="serve";function d(n,o){let e=`[urun/${o.adapter}]`,r=n.baseUrl!==void 0||n.orgId!==void 0||n.app!==void 0||n.functionName!==void 0;if(n.session&&r)throw new Error(`${e} pass EITHER a \`session\` (BYO) OR connection settings (\`baseUrl\`/\`orgId\`/\`app\`) \u2014 not both.`);let u,c=()=>{if(n.session){let s=n.session;return Promise.resolve(typeof s=="function"?s():s)}let{baseUrl:i,orgId:t,app:a}=n;if(!i||!t||!a)throw new Error(`${e} missing connection settings: \`baseUrl\`, \`orgId\` and \`app\` are required (or pass a \`session\`).`);return l({...n,baseUrl:i,orgId:t,app:a})};return()=>u??=c()}async function l(n){let{App:o}=await import("../app-
|
|
2
|
+
import"../chunk-NLAOQUYQ.mjs";var p="serve";function d(n,o){let e=`[urun/${o.adapter}]`,r=n.baseUrl!==void 0||n.orgId!==void 0||n.app!==void 0||n.functionName!==void 0;if(n.session&&r)throw new Error(`${e} pass EITHER a \`session\` (BYO) OR connection settings (\`baseUrl\`/\`orgId\`/\`app\`) \u2014 not both.`);let u,c=()=>{if(n.session){let s=n.session;return Promise.resolve(typeof s=="function"?s():s)}let{baseUrl:i,orgId:t,app:a}=n;if(!i||!t||!a)throw new Error(`${e} missing connection settings: \`baseUrl\`, \`orgId\` and \`app\` are required (or pass a \`session\`).`);return l({...n,baseUrl:i,orgId:t,app:a})};return()=>u??=c()}async function l(n){let{App:o}=await import("../app-QSLXWKOB.mjs"),e=o(n.app,{baseUrl:n.baseUrl,orgId:n.orgId,jwt:n.jwt,getAccessToken:n.getAccessToken,authProvider:n.authProvider}),r=n.functionName??p;return e[r]()}export{d as createSessionResolver};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __urunCreateRequire } from 'node:module'; const require = globalThis.require ?? __urunCreateRequire(import.meta.url);
|
|
2
|
-
import{ea as a,fa as b}from"./chunk-
|
|
2
|
+
import{ea as a,fa as b}from"./chunk-R6567UGD.mjs";import"./chunk-AXM65QSW.mjs";import"./chunk-NLAOQUYQ.mjs";export{b as App,a as sessionDirectory};
|
|
@@ -712,13 +712,13 @@ interface App {
|
|
|
712
712
|
[fnName: string]: (args?: Record<string, unknown>, options?: StartSessionOptions) => Session;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
type SessionGatewayStatus =
|
|
715
|
+
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
716
716
|
|
|
717
|
-
|
|
|
717
|
+
| "paused"
|
|
718
718
|
|
|
719
|
-
|
|
|
719
|
+
| "redirect"
|
|
720
720
|
|
|
721
|
-
|
|
|
721
|
+
| "waiting_for_capacity"
|
|
722
722
|
|
|
723
723
|
| (string & {});
|
|
724
724
|
interface SessionGatewayResponse {
|
|
@@ -816,13 +816,13 @@ interface AllocateSessionOptions {
|
|
|
816
816
|
|
|
817
817
|
label?: string;
|
|
818
818
|
|
|
819
|
-
priority?:
|
|
819
|
+
priority?: "preempt";
|
|
820
820
|
|
|
821
821
|
sharedApp?: boolean;
|
|
822
822
|
}
|
|
823
823
|
interface AccessTokenOptions {
|
|
824
824
|
forceRefresh?: boolean;
|
|
825
|
-
reason?:
|
|
825
|
+
reason?: "initial" | "unauthorized" | "background";
|
|
826
826
|
}
|
|
827
827
|
interface AllocatedSession {
|
|
828
828
|
baseUrl: string;
|
|
@@ -853,11 +853,11 @@ interface SessionDirectoryRequestOptions {
|
|
|
853
853
|
fallbackUrls?: readonly string[];
|
|
854
854
|
orgId: string;
|
|
855
855
|
jwt?: string;
|
|
856
|
-
getAccessToken?: AllocateSessionOptions[
|
|
856
|
+
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
857
857
|
authProvider?: string;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
type SessionNameSource =
|
|
860
|
+
type SessionNameSource = "user" | "auto";
|
|
861
861
|
interface PrewakeOptions {
|
|
862
862
|
baseUrl: string;
|
|
863
863
|
|
|
@@ -869,7 +869,7 @@ interface PrewakeOptions {
|
|
|
869
869
|
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
870
870
|
authProvider?: string;
|
|
871
871
|
}
|
|
872
|
-
type PrewakeStatus =
|
|
872
|
+
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
873
873
|
interface PrewakeResult {
|
|
874
874
|
|
|
875
875
|
status: PrewakeStatus;
|
|
@@ -1265,12 +1265,12 @@ interface NegotiatorOptions {
|
|
|
1265
1265
|
quicDeadlineMs?: number;
|
|
1266
1266
|
|
|
1267
1267
|
allowWebTransport?: boolean;
|
|
1268
|
-
onTransportChange?: (kind: MediaSession[
|
|
1268
|
+
onTransportChange?: (kind: MediaSession["kind"], reason?: string) => void;
|
|
1269
1269
|
|
|
1270
1270
|
canvas?: HTMLCanvasElement;
|
|
1271
1271
|
|
|
1272
1272
|
createWebRtcSession: () => MediaSession;
|
|
1273
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse[
|
|
1273
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse["webtransport"]>,
|
|
1274
1274
|
|
|
1275
1275
|
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1276
1276
|
|
|
@@ -1316,6 +1316,10 @@ declare class TransportNegotiator {
|
|
|
1316
1316
|
private wtRedialFailures;
|
|
1317
1317
|
private wtRedialTimer;
|
|
1318
1318
|
|
|
1319
|
+
private wtDialedHost;
|
|
1320
|
+
|
|
1321
|
+
private wtHostMismatchCount;
|
|
1322
|
+
|
|
1319
1323
|
private disconnected;
|
|
1320
1324
|
|
|
1321
1325
|
private downlinkStallWatch;
|
|
@@ -1327,12 +1331,14 @@ declare class TransportNegotiator {
|
|
|
1327
1331
|
|
|
1328
1332
|
failCurrentWtLeg(reason: string): void;
|
|
1329
1333
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1330
|
-
get activeTransport(): MediaSession[
|
|
1334
|
+
get activeTransport(): MediaSession["kind"] | null;
|
|
1331
1335
|
|
|
1332
1336
|
get isWtOnlyLeg(): boolean;
|
|
1333
1337
|
connect(): Promise<MediaSession>;
|
|
1334
1338
|
disconnect(): Promise<void>;
|
|
1335
1339
|
|
|
1340
|
+
private noteOfferedWtHost;
|
|
1341
|
+
|
|
1336
1342
|
retryWebTransport(): Promise<MediaSession | null>;
|
|
1337
1343
|
|
|
1338
1344
|
private engageQuicDataLane;
|
|
@@ -712,13 +712,13 @@ interface App {
|
|
|
712
712
|
[fnName: string]: (args?: Record<string, unknown>, options?: StartSessionOptions) => Session;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
type SessionGatewayStatus =
|
|
715
|
+
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
716
716
|
|
|
717
|
-
|
|
|
717
|
+
| "paused"
|
|
718
718
|
|
|
719
|
-
|
|
|
719
|
+
| "redirect"
|
|
720
720
|
|
|
721
|
-
|
|
|
721
|
+
| "waiting_for_capacity"
|
|
722
722
|
|
|
723
723
|
| (string & {});
|
|
724
724
|
interface SessionGatewayResponse {
|
|
@@ -816,13 +816,13 @@ interface AllocateSessionOptions {
|
|
|
816
816
|
|
|
817
817
|
label?: string;
|
|
818
818
|
|
|
819
|
-
priority?:
|
|
819
|
+
priority?: "preempt";
|
|
820
820
|
|
|
821
821
|
sharedApp?: boolean;
|
|
822
822
|
}
|
|
823
823
|
interface AccessTokenOptions {
|
|
824
824
|
forceRefresh?: boolean;
|
|
825
|
-
reason?:
|
|
825
|
+
reason?: "initial" | "unauthorized" | "background";
|
|
826
826
|
}
|
|
827
827
|
interface AllocatedSession {
|
|
828
828
|
baseUrl: string;
|
|
@@ -853,11 +853,11 @@ interface SessionDirectoryRequestOptions {
|
|
|
853
853
|
fallbackUrls?: readonly string[];
|
|
854
854
|
orgId: string;
|
|
855
855
|
jwt?: string;
|
|
856
|
-
getAccessToken?: AllocateSessionOptions[
|
|
856
|
+
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
857
857
|
authProvider?: string;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
type SessionNameSource =
|
|
860
|
+
type SessionNameSource = "user" | "auto";
|
|
861
861
|
interface PrewakeOptions {
|
|
862
862
|
baseUrl: string;
|
|
863
863
|
|
|
@@ -869,7 +869,7 @@ interface PrewakeOptions {
|
|
|
869
869
|
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
870
870
|
authProvider?: string;
|
|
871
871
|
}
|
|
872
|
-
type PrewakeStatus =
|
|
872
|
+
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
873
873
|
interface PrewakeResult {
|
|
874
874
|
|
|
875
875
|
status: PrewakeStatus;
|
|
@@ -1265,12 +1265,12 @@ interface NegotiatorOptions {
|
|
|
1265
1265
|
quicDeadlineMs?: number;
|
|
1266
1266
|
|
|
1267
1267
|
allowWebTransport?: boolean;
|
|
1268
|
-
onTransportChange?: (kind: MediaSession[
|
|
1268
|
+
onTransportChange?: (kind: MediaSession["kind"], reason?: string) => void;
|
|
1269
1269
|
|
|
1270
1270
|
canvas?: HTMLCanvasElement;
|
|
1271
1271
|
|
|
1272
1272
|
createWebRtcSession: () => MediaSession;
|
|
1273
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse[
|
|
1273
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse["webtransport"]>,
|
|
1274
1274
|
|
|
1275
1275
|
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1276
1276
|
|
|
@@ -1316,6 +1316,10 @@ declare class TransportNegotiator {
|
|
|
1316
1316
|
private wtRedialFailures;
|
|
1317
1317
|
private wtRedialTimer;
|
|
1318
1318
|
|
|
1319
|
+
private wtDialedHost;
|
|
1320
|
+
|
|
1321
|
+
private wtHostMismatchCount;
|
|
1322
|
+
|
|
1319
1323
|
private disconnected;
|
|
1320
1324
|
|
|
1321
1325
|
private downlinkStallWatch;
|
|
@@ -1327,12 +1331,14 @@ declare class TransportNegotiator {
|
|
|
1327
1331
|
|
|
1328
1332
|
failCurrentWtLeg(reason: string): void;
|
|
1329
1333
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1330
|
-
get activeTransport(): MediaSession[
|
|
1334
|
+
get activeTransport(): MediaSession["kind"] | null;
|
|
1331
1335
|
|
|
1332
1336
|
get isWtOnlyLeg(): boolean;
|
|
1333
1337
|
connect(): Promise<MediaSession>;
|
|
1334
1338
|
disconnect(): Promise<void>;
|
|
1335
1339
|
|
|
1340
|
+
private noteOfferedWtHost;
|
|
1341
|
+
|
|
1336
1342
|
retryWebTransport(): Promise<MediaSession | null>;
|
|
1337
1343
|
|
|
1338
1344
|
private engageQuicDataLane;
|
|
@@ -712,13 +712,13 @@ interface App {
|
|
|
712
712
|
[fnName: string]: (args?: Record<string, unknown>, options?: StartSessionOptions) => Session;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
type SessionGatewayStatus =
|
|
715
|
+
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
716
716
|
|
|
717
|
-
|
|
|
717
|
+
| "paused"
|
|
718
718
|
|
|
719
|
-
|
|
|
719
|
+
| "redirect"
|
|
720
720
|
|
|
721
|
-
|
|
|
721
|
+
| "waiting_for_capacity"
|
|
722
722
|
|
|
723
723
|
| (string & {});
|
|
724
724
|
interface SessionGatewayResponse {
|
|
@@ -816,13 +816,13 @@ interface AllocateSessionOptions {
|
|
|
816
816
|
|
|
817
817
|
label?: string;
|
|
818
818
|
|
|
819
|
-
priority?:
|
|
819
|
+
priority?: "preempt";
|
|
820
820
|
|
|
821
821
|
sharedApp?: boolean;
|
|
822
822
|
}
|
|
823
823
|
interface AccessTokenOptions {
|
|
824
824
|
forceRefresh?: boolean;
|
|
825
|
-
reason?:
|
|
825
|
+
reason?: "initial" | "unauthorized" | "background";
|
|
826
826
|
}
|
|
827
827
|
interface AllocatedSession {
|
|
828
828
|
baseUrl: string;
|
|
@@ -853,11 +853,11 @@ interface SessionDirectoryRequestOptions {
|
|
|
853
853
|
fallbackUrls?: readonly string[];
|
|
854
854
|
orgId: string;
|
|
855
855
|
jwt?: string;
|
|
856
|
-
getAccessToken?: AllocateSessionOptions[
|
|
856
|
+
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
857
857
|
authProvider?: string;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
type SessionNameSource =
|
|
860
|
+
type SessionNameSource = "user" | "auto";
|
|
861
861
|
interface PrewakeOptions {
|
|
862
862
|
baseUrl: string;
|
|
863
863
|
|
|
@@ -869,7 +869,7 @@ interface PrewakeOptions {
|
|
|
869
869
|
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
870
870
|
authProvider?: string;
|
|
871
871
|
}
|
|
872
|
-
type PrewakeStatus =
|
|
872
|
+
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
873
873
|
interface PrewakeResult {
|
|
874
874
|
|
|
875
875
|
status: PrewakeStatus;
|
|
@@ -1265,12 +1265,12 @@ interface NegotiatorOptions {
|
|
|
1265
1265
|
quicDeadlineMs?: number;
|
|
1266
1266
|
|
|
1267
1267
|
allowWebTransport?: boolean;
|
|
1268
|
-
onTransportChange?: (kind: MediaSession[
|
|
1268
|
+
onTransportChange?: (kind: MediaSession["kind"], reason?: string) => void;
|
|
1269
1269
|
|
|
1270
1270
|
canvas?: HTMLCanvasElement;
|
|
1271
1271
|
|
|
1272
1272
|
createWebRtcSession: () => MediaSession;
|
|
1273
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse[
|
|
1273
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse["webtransport"]>,
|
|
1274
1274
|
|
|
1275
1275
|
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1276
1276
|
|
|
@@ -1316,6 +1316,10 @@ declare class TransportNegotiator {
|
|
|
1316
1316
|
private wtRedialFailures;
|
|
1317
1317
|
private wtRedialTimer;
|
|
1318
1318
|
|
|
1319
|
+
private wtDialedHost;
|
|
1320
|
+
|
|
1321
|
+
private wtHostMismatchCount;
|
|
1322
|
+
|
|
1319
1323
|
private disconnected;
|
|
1320
1324
|
|
|
1321
1325
|
private downlinkStallWatch;
|
|
@@ -1327,12 +1331,14 @@ declare class TransportNegotiator {
|
|
|
1327
1331
|
|
|
1328
1332
|
failCurrentWtLeg(reason: string): void;
|
|
1329
1333
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1330
|
-
get activeTransport(): MediaSession[
|
|
1334
|
+
get activeTransport(): MediaSession["kind"] | null;
|
|
1331
1335
|
|
|
1332
1336
|
get isWtOnlyLeg(): boolean;
|
|
1333
1337
|
connect(): Promise<MediaSession>;
|
|
1334
1338
|
disconnect(): Promise<void>;
|
|
1335
1339
|
|
|
1340
|
+
private noteOfferedWtHost;
|
|
1341
|
+
|
|
1336
1342
|
retryWebTransport(): Promise<MediaSession | null>;
|
|
1337
1343
|
|
|
1338
1344
|
private engageQuicDataLane;
|
|
@@ -712,13 +712,13 @@ interface App {
|
|
|
712
712
|
[fnName: string]: (args?: Record<string, unknown>, options?: StartSessionOptions) => Session;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
type SessionGatewayStatus =
|
|
715
|
+
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
716
716
|
|
|
717
|
-
|
|
|
717
|
+
| "paused"
|
|
718
718
|
|
|
719
|
-
|
|
|
719
|
+
| "redirect"
|
|
720
720
|
|
|
721
|
-
|
|
|
721
|
+
| "waiting_for_capacity"
|
|
722
722
|
|
|
723
723
|
| (string & {});
|
|
724
724
|
interface SessionGatewayResponse {
|
|
@@ -816,13 +816,13 @@ interface AllocateSessionOptions {
|
|
|
816
816
|
|
|
817
817
|
label?: string;
|
|
818
818
|
|
|
819
|
-
priority?:
|
|
819
|
+
priority?: "preempt";
|
|
820
820
|
|
|
821
821
|
sharedApp?: boolean;
|
|
822
822
|
}
|
|
823
823
|
interface AccessTokenOptions {
|
|
824
824
|
forceRefresh?: boolean;
|
|
825
|
-
reason?:
|
|
825
|
+
reason?: "initial" | "unauthorized" | "background";
|
|
826
826
|
}
|
|
827
827
|
interface AllocatedSession {
|
|
828
828
|
baseUrl: string;
|
|
@@ -853,11 +853,11 @@ interface SessionDirectoryRequestOptions {
|
|
|
853
853
|
fallbackUrls?: readonly string[];
|
|
854
854
|
orgId: string;
|
|
855
855
|
jwt?: string;
|
|
856
|
-
getAccessToken?: AllocateSessionOptions[
|
|
856
|
+
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
857
857
|
authProvider?: string;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
type SessionNameSource =
|
|
860
|
+
type SessionNameSource = "user" | "auto";
|
|
861
861
|
interface PrewakeOptions {
|
|
862
862
|
baseUrl: string;
|
|
863
863
|
|
|
@@ -869,7 +869,7 @@ interface PrewakeOptions {
|
|
|
869
869
|
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
870
870
|
authProvider?: string;
|
|
871
871
|
}
|
|
872
|
-
type PrewakeStatus =
|
|
872
|
+
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
873
873
|
interface PrewakeResult {
|
|
874
874
|
|
|
875
875
|
status: PrewakeStatus;
|
|
@@ -1265,12 +1265,12 @@ interface NegotiatorOptions {
|
|
|
1265
1265
|
quicDeadlineMs?: number;
|
|
1266
1266
|
|
|
1267
1267
|
allowWebTransport?: boolean;
|
|
1268
|
-
onTransportChange?: (kind: MediaSession[
|
|
1268
|
+
onTransportChange?: (kind: MediaSession["kind"], reason?: string) => void;
|
|
1269
1269
|
|
|
1270
1270
|
canvas?: HTMLCanvasElement;
|
|
1271
1271
|
|
|
1272
1272
|
createWebRtcSession: () => MediaSession;
|
|
1273
|
-
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse[
|
|
1273
|
+
createWebTransportSession?: (offer: NonNullable<TransportOfferResponse["webtransport"]>,
|
|
1274
1274
|
|
|
1275
1275
|
audioLane?: WtAudioLaneSeam) => MediaSession;
|
|
1276
1276
|
|
|
@@ -1316,6 +1316,10 @@ declare class TransportNegotiator {
|
|
|
1316
1316
|
private wtRedialFailures;
|
|
1317
1317
|
private wtRedialTimer;
|
|
1318
1318
|
|
|
1319
|
+
private wtDialedHost;
|
|
1320
|
+
|
|
1321
|
+
private wtHostMismatchCount;
|
|
1322
|
+
|
|
1319
1323
|
private disconnected;
|
|
1320
1324
|
|
|
1321
1325
|
private downlinkStallWatch;
|
|
@@ -1327,12 +1331,14 @@ declare class TransportNegotiator {
|
|
|
1327
1331
|
|
|
1328
1332
|
failCurrentWtLeg(reason: string): void;
|
|
1329
1333
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1330
|
-
get activeTransport(): MediaSession[
|
|
1334
|
+
get activeTransport(): MediaSession["kind"] | null;
|
|
1331
1335
|
|
|
1332
1336
|
get isWtOnlyLeg(): boolean;
|
|
1333
1337
|
connect(): Promise<MediaSession>;
|
|
1334
1338
|
disconnect(): Promise<void>;
|
|
1335
1339
|
|
|
1340
|
+
private noteOfferedWtHost;
|
|
1341
|
+
|
|
1336
1342
|
retryWebTransport(): Promise<MediaSession | null>;
|
|
1337
1343
|
|
|
1338
1344
|
private engageQuicDataLane;
|