@urun-sh/core 0.3.6 → 0.3.7
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/index.browser.d.mts +16 -3
- package/dist/index.browser.d.ts +16 -3
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +16 -3
- package/dist/index.d.ts +16 -3
- 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.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/{stream-data-DSwDgcFU.d.mts → stream-data-W9S0z8Wv.d.mts} +22 -1
- package/dist/{stream-data-DSwDgcFU.d.ts → stream-data-W9S0z8Wv.d.ts} +22 -1
- package/package.json +1 -1
|
@@ -900,6 +900,19 @@ interface WtIncomingUniStreams {
|
|
|
900
900
|
|
|
901
901
|
declare function consumeWtDataStreams(incoming: WtIncomingUniStreams, sink: WtDataLaneSink): Promise<void>;
|
|
902
902
|
|
|
903
|
+
interface PathLiveness {
|
|
904
|
+
|
|
905
|
+
alive: boolean;
|
|
906
|
+
|
|
907
|
+
evidence: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
interface PathHealthReporting {
|
|
911
|
+
|
|
912
|
+
pathLiveness(): PathLiveness;
|
|
913
|
+
|
|
914
|
+
fail(reason: string): void;
|
|
915
|
+
}
|
|
903
916
|
interface MediaSession {
|
|
904
917
|
readonly kind: 'webtransport' | 'webrtc';
|
|
905
918
|
start(): Promise<void>;
|
|
@@ -1137,8 +1150,12 @@ declare class TransportNegotiator {
|
|
|
1137
1150
|
private quicDataLane;
|
|
1138
1151
|
|
|
1139
1152
|
private wtOnlyLeg;
|
|
1153
|
+
|
|
1154
|
+
private webRtcDialProceeded;
|
|
1140
1155
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1141
1156
|
get activeTransport(): MediaSession['kind'] | null;
|
|
1157
|
+
|
|
1158
|
+
get isWtOnlyLeg(): boolean;
|
|
1142
1159
|
connect(): Promise<MediaSession>;
|
|
1143
1160
|
disconnect(): Promise<void>;
|
|
1144
1161
|
|
|
@@ -1152,6 +1169,10 @@ declare class TransportNegotiator {
|
|
|
1152
1169
|
private startWebRtcOn;
|
|
1153
1170
|
private startWebRtc;
|
|
1154
1171
|
|
|
1172
|
+
private skipWebRtcDial;
|
|
1173
|
+
|
|
1174
|
+
private proceedWebRtcDial;
|
|
1175
|
+
|
|
1155
1176
|
private armFailover;
|
|
1156
1177
|
private notifyEstablished;
|
|
1157
1178
|
}
|
|
@@ -1603,4 +1624,4 @@ interface DataChannelTransport {
|
|
|
1603
1624
|
|
|
1604
1625
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1605
1626
|
|
|
1606
|
-
export { type
|
|
1627
|
+
export { type RequestOptions as $, type AccessTokenOptions$1 as A, type MediaChunkSource as B, type ChannelEndpoint as C, DERIVED_LEG_SEP as D, type MediaChunkSourceFactory as E, type MediaRecorderChunkSourceOptions as F, GENERATION_TICK_EMIT_INTERVAL_MS as G, type MediaSession as H, type InboundStatsSample as I, type NegotiatorOptions as J, type PathLiveness as K, LoopbackStreamData as L, type MediaChunkBinding as M, type NegotiatorDataLaneSeam as N, type Presence as O, type PathHealthReporting as P, type PresenceState as Q, type PrewakeOptions as R, type PrewakeResult as S, type PrewakeStatus as T, type QuicStreamDataTransport as U, type Recording as V, type RecordingBucket as W, type RecordingLifecycle as X, type RecordingStatus as Y, type RecordingsAccessor as Z, type ReleaseSessionBeaconOptions as _, type AccessTokenOptions as a, mediaRecorderChunkSource as a$, type RequestStreamOptions as a0, type RuntimeArtifact as a1, type RuntimeArtifactDownload as a2, type RuntimeArtifactsAccessor as a3, type RuntimeAvailability as a4, type RuntimeWakeDetail as a5, type RuntimeWakeGolden as a6, type RuntimeWakeReasonCode as a7, SIGNALING_PROTOCOL_VERSION as a8, STREAM_END as a9, type TransportSessionOptions as aA, TransportSessionSignaling as aB, type TransportState as aC, type VideoPlayoutOptions as aD, WT_CONTROL_FRAME_MAX as aE, WT_DATA_STREAM_VERSION as aF, type WatchGenerationTickOptions as aG, type WtAudioLaneSeam as aH, type WtAudioUplinkSeam as aI, WtControlDecoder as aJ, type WtControlMessage as aK, type WtDataEnvelope as aL, type WtDataLaneSink as aM, WtDataStreamParser as aN, WtDataUplinkSender as aO, type WtVideoUplinkSeam as aP, allocateSession as aQ, consumeWtDataStreams as aR, createPresence as aS, createWebsocketDocConnector as aT, decodeStreamEnvelope as aU, deriveYjsServerUrl as aV, derivedLegName as aW, derivedLegRole as aX, encodeStreamEnvelope as aY, encodeWtControlFrame as aZ, isPendingRecording as a_, type Session as aa, type SessionDiagnostic as ab, type SessionDocument as ac, SessionDocumentImpl as ad, type SessionEndResult as ae, type SessionFailureKind as af, type SessionPhase as ag, type SessionPhaseError as ah, type SessionPhaseName as ai, type SessionStartOptions as aj, type SessionStatsOptions as ak, type SessionStatsSample as al, type SessionStatus as am, type SessionStream as an, type SessionText as ao, type SignalCarrier as ap, type Signaling as aq, type Store as ar, type StoreOptions as as, type StreamChunkOptions as at, type StreamDataTransport as au, type TransportEstablishedNotify as av, TransportNegotiator as aw, type TransportOfferRequest as ax, type TransportOfferResponse as ay, TransportSession as az, type ActivationEvent as b, parseDgramHeader as b0, prewake as b1, releaseSessionBeacon as b2, streamDataLabel as b3, transportStreamData as b4, watchGenerationTick as b5, writeDgramHeader as b6, type ActivationState as c, type AllocateSessionOptions as d, type AllocatedSession as e, type App as f, type AppOptions as g, type AttachOptions as h, type AudioPlayoutOptions as i, type ChannelMessage as j, ChannelMultiplexer as k, type ChannelName as l, type ChunkReadable as m, DGRAM_HEADER_BYTES as n, DOC_SYNC_WIRE_CONTRACT_VERSION as o, DeferredChannelMultiplexer as p, DeferredDocConnector as q, type DerivedLegRole as r, type DgramHeader as s, type DocConnection as t, type DocConnectionState as u, type DocConnector as v, type DocServerUrlResolver as w, type DocTokenSupplier as x, GENERATION_TICK_MAX_EXTRAPOLATION_MS as y, type GenerationTick as z };
|
|
@@ -900,6 +900,19 @@ interface WtIncomingUniStreams {
|
|
|
900
900
|
|
|
901
901
|
declare function consumeWtDataStreams(incoming: WtIncomingUniStreams, sink: WtDataLaneSink): Promise<void>;
|
|
902
902
|
|
|
903
|
+
interface PathLiveness {
|
|
904
|
+
|
|
905
|
+
alive: boolean;
|
|
906
|
+
|
|
907
|
+
evidence: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
interface PathHealthReporting {
|
|
911
|
+
|
|
912
|
+
pathLiveness(): PathLiveness;
|
|
913
|
+
|
|
914
|
+
fail(reason: string): void;
|
|
915
|
+
}
|
|
903
916
|
interface MediaSession {
|
|
904
917
|
readonly kind: 'webtransport' | 'webrtc';
|
|
905
918
|
start(): Promise<void>;
|
|
@@ -1137,8 +1150,12 @@ declare class TransportNegotiator {
|
|
|
1137
1150
|
private quicDataLane;
|
|
1138
1151
|
|
|
1139
1152
|
private wtOnlyLeg;
|
|
1153
|
+
|
|
1154
|
+
private webRtcDialProceeded;
|
|
1140
1155
|
constructor(signaling: Signaling, sessionId: string, opts: NegotiatorOptions);
|
|
1141
1156
|
get activeTransport(): MediaSession['kind'] | null;
|
|
1157
|
+
|
|
1158
|
+
get isWtOnlyLeg(): boolean;
|
|
1142
1159
|
connect(): Promise<MediaSession>;
|
|
1143
1160
|
disconnect(): Promise<void>;
|
|
1144
1161
|
|
|
@@ -1152,6 +1169,10 @@ declare class TransportNegotiator {
|
|
|
1152
1169
|
private startWebRtcOn;
|
|
1153
1170
|
private startWebRtc;
|
|
1154
1171
|
|
|
1172
|
+
private skipWebRtcDial;
|
|
1173
|
+
|
|
1174
|
+
private proceedWebRtcDial;
|
|
1175
|
+
|
|
1155
1176
|
private armFailover;
|
|
1156
1177
|
private notifyEstablished;
|
|
1157
1178
|
}
|
|
@@ -1603,4 +1624,4 @@ interface DataChannelTransport {
|
|
|
1603
1624
|
|
|
1604
1625
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1605
1626
|
|
|
1606
|
-
export { type
|
|
1627
|
+
export { type RequestOptions as $, type AccessTokenOptions$1 as A, type MediaChunkSource as B, type ChannelEndpoint as C, DERIVED_LEG_SEP as D, type MediaChunkSourceFactory as E, type MediaRecorderChunkSourceOptions as F, GENERATION_TICK_EMIT_INTERVAL_MS as G, type MediaSession as H, type InboundStatsSample as I, type NegotiatorOptions as J, type PathLiveness as K, LoopbackStreamData as L, type MediaChunkBinding as M, type NegotiatorDataLaneSeam as N, type Presence as O, type PathHealthReporting as P, type PresenceState as Q, type PrewakeOptions as R, type PrewakeResult as S, type PrewakeStatus as T, type QuicStreamDataTransport as U, type Recording as V, type RecordingBucket as W, type RecordingLifecycle as X, type RecordingStatus as Y, type RecordingsAccessor as Z, type ReleaseSessionBeaconOptions as _, type AccessTokenOptions as a, mediaRecorderChunkSource as a$, type RequestStreamOptions as a0, type RuntimeArtifact as a1, type RuntimeArtifactDownload as a2, type RuntimeArtifactsAccessor as a3, type RuntimeAvailability as a4, type RuntimeWakeDetail as a5, type RuntimeWakeGolden as a6, type RuntimeWakeReasonCode as a7, SIGNALING_PROTOCOL_VERSION as a8, STREAM_END as a9, type TransportSessionOptions as aA, TransportSessionSignaling as aB, type TransportState as aC, type VideoPlayoutOptions as aD, WT_CONTROL_FRAME_MAX as aE, WT_DATA_STREAM_VERSION as aF, type WatchGenerationTickOptions as aG, type WtAudioLaneSeam as aH, type WtAudioUplinkSeam as aI, WtControlDecoder as aJ, type WtControlMessage as aK, type WtDataEnvelope as aL, type WtDataLaneSink as aM, WtDataStreamParser as aN, WtDataUplinkSender as aO, type WtVideoUplinkSeam as aP, allocateSession as aQ, consumeWtDataStreams as aR, createPresence as aS, createWebsocketDocConnector as aT, decodeStreamEnvelope as aU, deriveYjsServerUrl as aV, derivedLegName as aW, derivedLegRole as aX, encodeStreamEnvelope as aY, encodeWtControlFrame as aZ, isPendingRecording as a_, type Session as aa, type SessionDiagnostic as ab, type SessionDocument as ac, SessionDocumentImpl as ad, type SessionEndResult as ae, type SessionFailureKind as af, type SessionPhase as ag, type SessionPhaseError as ah, type SessionPhaseName as ai, type SessionStartOptions as aj, type SessionStatsOptions as ak, type SessionStatsSample as al, type SessionStatus as am, type SessionStream as an, type SessionText as ao, type SignalCarrier as ap, type Signaling as aq, type Store as ar, type StoreOptions as as, type StreamChunkOptions as at, type StreamDataTransport as au, type TransportEstablishedNotify as av, TransportNegotiator as aw, type TransportOfferRequest as ax, type TransportOfferResponse as ay, TransportSession as az, type ActivationEvent as b, parseDgramHeader as b0, prewake as b1, releaseSessionBeacon as b2, streamDataLabel as b3, transportStreamData as b4, watchGenerationTick as b5, writeDgramHeader as b6, type ActivationState as c, type AllocateSessionOptions as d, type AllocatedSession as e, type App as f, type AppOptions as g, type AttachOptions as h, type AudioPlayoutOptions as i, type ChannelMessage as j, ChannelMultiplexer as k, type ChannelName as l, type ChunkReadable as m, DGRAM_HEADER_BYTES as n, DOC_SYNC_WIRE_CONTRACT_VERSION as o, DeferredChannelMultiplexer as p, DeferredDocConnector as q, type DerivedLegRole as r, type DgramHeader as s, type DocConnection as t, type DocConnectionState as u, type DocConnector as v, type DocServerUrlResolver as w, type DocTokenSupplier as x, GENERATION_TICK_MAX_EXTRAPOLATION_MS as y, type GenerationTick as z };
|