@urun-sh/core 0.3.4 → 0.3.6
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/CHANGELOG.md +53 -0
- package/dist/{chunk-U2EHGQ45.mjs → chunk-6N23OXJS.mjs} +2 -2
- package/dist/{chunk-NLL342VG.mjs → chunk-FSUNC7FS.mjs} +3 -3
- package/dist/index.browser.d.mts +20 -5
- package/dist/index.browser.d.ts +20 -5
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +20 -5
- package/dist/index.d.ts +20 -5
- package/dist/index.js +5 -5
- 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/dist/{stream-data-Bl4UHVAa.d.mts → stream-data-DSwDgcFU.d.mts} +14 -0
- package/dist/{stream-data-Bl4UHVAa.d.ts → stream-data-DSwDgcFU.d.ts} +14 -0
- package/package.json +1 -1
package/dist/internal.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{$ as f,G as r,J as t,K as n,L as a,M as s,R as p,S as c,T as l,Y as m,Z as i,_ as S,a as e,aa as x,b as o,ba as C,ca as D}from"./chunk-
|
|
2
|
+
import{$ as f,G as r,J as t,K as n,L as a,M as s,R as p,S as c,T as l,Y as m,Z as i,_ as S,a as e,aa as x,b as o,ba as C,ca as D}from"./chunk-FSUNC7FS.mjs";export{e as ChannelMultiplexer,i as DOC_SYNC_WIRE_CONTRACT_VERSION,o as DeferredChannelMultiplexer,x as DeferredDocConnector,p as LoopbackStreamData,C as SessionDocumentImpl,m as TransportSession,r as allocateSession,D as createPresence,f as createWebsocketDocConnector,S as deriveYjsServerUrl,s as ensureNodeWebRTC,t as isNodeRuntime,n as nodeMediasoupHandlerName,a as nodeWebRTCUnavailableReason,l as streamDataLabel,c as transportStreamData};
|
|
@@ -823,6 +823,8 @@ type WtMicSource = MediaStreamTrack | AudioNode;
|
|
|
823
823
|
|
|
824
824
|
interface WtMicUplinkHandle {
|
|
825
825
|
setSource(source: WtMicSource | null): void;
|
|
826
|
+
|
|
827
|
+
deliveredDatagrams(): number;
|
|
826
828
|
}
|
|
827
829
|
|
|
828
830
|
interface WtAudioUplinkSeam {
|
|
@@ -834,6 +836,8 @@ interface WtCamUplinkHandle {
|
|
|
834
836
|
setSource(track: MediaStreamTrack | null): void;
|
|
835
837
|
|
|
836
838
|
requestKeyframe(): void;
|
|
839
|
+
|
|
840
|
+
deliveredDatagrams(): number;
|
|
837
841
|
}
|
|
838
842
|
|
|
839
843
|
interface WtVideoUplinkSeam {
|
|
@@ -1118,6 +1122,10 @@ interface NegotiatorOptions {
|
|
|
1118
1122
|
allowWebRtcFallback?: boolean;
|
|
1119
1123
|
|
|
1120
1124
|
onWtRequiredOutage?: (reason: string) => void;
|
|
1125
|
+
|
|
1126
|
+
webRtcFailoverDeadlineMs?: number;
|
|
1127
|
+
|
|
1128
|
+
onMediaTransportLost?: (reason: string) => void;
|
|
1121
1129
|
}
|
|
1122
1130
|
declare class TransportNegotiator {
|
|
1123
1131
|
private signaling;
|
|
@@ -1138,6 +1146,10 @@ declare class TransportNegotiator {
|
|
|
1138
1146
|
|
|
1139
1147
|
private engageQuicDataLane;
|
|
1140
1148
|
private createWebTransportSession;
|
|
1149
|
+
|
|
1150
|
+
private createWebRtc;
|
|
1151
|
+
|
|
1152
|
+
private startWebRtcOn;
|
|
1141
1153
|
private startWebRtc;
|
|
1142
1154
|
|
|
1143
1155
|
private armFailover;
|
|
@@ -1273,6 +1285,8 @@ declare class TransportSession {
|
|
|
1273
1285
|
|
|
1274
1286
|
private _currentEpoch;
|
|
1275
1287
|
|
|
1288
|
+
private _selfEpochAdoptUntil;
|
|
1289
|
+
|
|
1276
1290
|
private _consumerId;
|
|
1277
1291
|
|
|
1278
1292
|
private _streamDataHandlers;
|
|
@@ -823,6 +823,8 @@ type WtMicSource = MediaStreamTrack | AudioNode;
|
|
|
823
823
|
|
|
824
824
|
interface WtMicUplinkHandle {
|
|
825
825
|
setSource(source: WtMicSource | null): void;
|
|
826
|
+
|
|
827
|
+
deliveredDatagrams(): number;
|
|
826
828
|
}
|
|
827
829
|
|
|
828
830
|
interface WtAudioUplinkSeam {
|
|
@@ -834,6 +836,8 @@ interface WtCamUplinkHandle {
|
|
|
834
836
|
setSource(track: MediaStreamTrack | null): void;
|
|
835
837
|
|
|
836
838
|
requestKeyframe(): void;
|
|
839
|
+
|
|
840
|
+
deliveredDatagrams(): number;
|
|
837
841
|
}
|
|
838
842
|
|
|
839
843
|
interface WtVideoUplinkSeam {
|
|
@@ -1118,6 +1122,10 @@ interface NegotiatorOptions {
|
|
|
1118
1122
|
allowWebRtcFallback?: boolean;
|
|
1119
1123
|
|
|
1120
1124
|
onWtRequiredOutage?: (reason: string) => void;
|
|
1125
|
+
|
|
1126
|
+
webRtcFailoverDeadlineMs?: number;
|
|
1127
|
+
|
|
1128
|
+
onMediaTransportLost?: (reason: string) => void;
|
|
1121
1129
|
}
|
|
1122
1130
|
declare class TransportNegotiator {
|
|
1123
1131
|
private signaling;
|
|
@@ -1138,6 +1146,10 @@ declare class TransportNegotiator {
|
|
|
1138
1146
|
|
|
1139
1147
|
private engageQuicDataLane;
|
|
1140
1148
|
private createWebTransportSession;
|
|
1149
|
+
|
|
1150
|
+
private createWebRtc;
|
|
1151
|
+
|
|
1152
|
+
private startWebRtcOn;
|
|
1141
1153
|
private startWebRtc;
|
|
1142
1154
|
|
|
1143
1155
|
private armFailover;
|
|
@@ -1273,6 +1285,8 @@ declare class TransportSession {
|
|
|
1273
1285
|
|
|
1274
1286
|
private _currentEpoch;
|
|
1275
1287
|
|
|
1288
|
+
private _selfEpochAdoptUntil;
|
|
1289
|
+
|
|
1276
1290
|
private _consumerId;
|
|
1277
1291
|
|
|
1278
1292
|
private _streamDataHandlers;
|