@urun-sh/core 0.2.1 → 0.2.3
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/README.md +43 -12
- package/dist/{chunk-QTLLNENF.mjs → chunk-DJP5IED4.mjs} +5 -5
- package/dist/{chunk-2TYDFOWI.mjs → chunk-O4WPKVLL.mjs} +5 -5
- package/dist/index.browser.d.mts +43 -4
- package/dist/index.browser.d.ts +43 -4
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +43 -4
- package/dist/index.d.ts +43 -4
- 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 +5 -5
- 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-BQHZia_W.d.mts → stream-data-DFTD9vJY.d.mts} +39 -1
- package/dist/{stream-data-BQHZia_W.d.ts → stream-data-DFTD9vJY.d.ts} +39 -1
- package/package.json +1 -1
package/dist/internal.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as r,c as o,d as t,e as a,g as n,h as p,i as s,j as m,l as c,m as i,n as f,o as x}from"./chunk-
|
|
1
|
+
import{a as e,b as r,c as o,d as t,e as a,g as n,h as p,i as s,j as m,l as c,m as i,n as f,o as x}from"./chunk-O4WPKVLL.mjs";export{e as ChannelMultiplexer,r as DeferredChannelMultiplexer,f as DeferredDocConnector,n as LoopbackStreamData,m as TransportSession,x as createPresence,i as createWebsocketDocConnector,c as deriveYjsServerUrl,a as ensureNodeWebRTC,o as isNodeRuntime,t as nodeMediasoupHandlerName,s as streamDataLabel,p as transportStreamData};
|
|
@@ -330,6 +330,8 @@ interface Session {
|
|
|
330
330
|
|
|
331
331
|
readonly recordings: RecordingsAccessor;
|
|
332
332
|
|
|
333
|
+
readonly artifacts: RuntimeArtifactsAccessor;
|
|
334
|
+
|
|
333
335
|
disconnect(): void;
|
|
334
336
|
}
|
|
335
337
|
|
|
@@ -392,6 +394,27 @@ interface RecordingsAccessor {
|
|
|
392
394
|
|
|
393
395
|
delete(id: string): Promise<Recording>;
|
|
394
396
|
}
|
|
397
|
+
interface RuntimeArtifact {
|
|
398
|
+
artifactId: string;
|
|
399
|
+
kind: string;
|
|
400
|
+
filename: string;
|
|
401
|
+
contentType: string;
|
|
402
|
+
sizeBytes: number;
|
|
403
|
+
sha256: string;
|
|
404
|
+
status: string;
|
|
405
|
+
createdAt?: string;
|
|
406
|
+
expiresAt?: string;
|
|
407
|
+
}
|
|
408
|
+
interface RuntimeArtifactDownload {
|
|
409
|
+
artifact: RuntimeArtifact;
|
|
410
|
+
downloadUrl: string;
|
|
411
|
+
}
|
|
412
|
+
interface RuntimeArtifactsAccessor {
|
|
413
|
+
|
|
414
|
+
list(sessionId?: string): Promise<RuntimeArtifact[]>;
|
|
415
|
+
|
|
416
|
+
getDownloadUrl(artifactId: string, sessionId?: string): Promise<RuntimeArtifactDownload>;
|
|
417
|
+
}
|
|
395
418
|
|
|
396
419
|
interface AppOptions {
|
|
397
420
|
|
|
@@ -536,6 +559,10 @@ declare class TransportSession {
|
|
|
536
559
|
private _lastConsumeMsg;
|
|
537
560
|
private _recvConnectWatchdog;
|
|
538
561
|
private _recvTcpFailoverDone;
|
|
562
|
+
private _recvIceRestartAttempts;
|
|
563
|
+
private _recvIceRestartTimer;
|
|
564
|
+
private _sendIceRestartAttempts;
|
|
565
|
+
private _sendIceRestartTimer;
|
|
539
566
|
private _phase;
|
|
540
567
|
private _requestId;
|
|
541
568
|
private _liveReached;
|
|
@@ -632,6 +659,17 @@ declare class TransportSession {
|
|
|
632
659
|
private _clearRecvWatchdog;
|
|
633
660
|
|
|
634
661
|
private _failoverRecvToTcp;
|
|
662
|
+
|
|
663
|
+
private _tryRestartRecvIce;
|
|
664
|
+
private _trySendIceRestart;
|
|
665
|
+
|
|
666
|
+
private _requestIceRestart;
|
|
667
|
+
|
|
668
|
+
private _onIceRestarted;
|
|
669
|
+
private _armRecvIceRestartWatchdog;
|
|
670
|
+
private _armSendIceRestartWatchdog;
|
|
671
|
+
private _clearRecvIceRestart;
|
|
672
|
+
private _clearSendIceRestart;
|
|
635
673
|
private _onCreateSendTransport;
|
|
636
674
|
|
|
637
675
|
private _onConsumeData;
|
|
@@ -694,4 +732,4 @@ interface DataChannelTransport {
|
|
|
694
732
|
|
|
695
733
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
696
734
|
|
|
697
|
-
export { type AccessTokenOptions as A, type
|
|
735
|
+
export { mediaRecorderChunkSource as $, type AccessTokenOptions as A, type SceneGraph as B, type ChannelEndpoint as C, DeferredChannelMultiplexer as D, type Session as E, type SessionDocument as F, type SessionPhase as G, type SessionPhaseName as H, type SessionStartOptions as I, type SessionStream as J, type SessionText as K, type Layer as L, type MediaChunkBinding as M, type Store as N, type StoreOptions as O, type Presence as P, type StreamChunkOptions as Q, type Recording as R, type SceneContext as S, type StreamDataTransport as T, TransportSession as U, type TransportSessionOptions as V, type TransportState as W, createPresence as X, createWebsocketDocConnector as Y, deriveYjsServerUrl as Z, isPendingRecording as _, type App as a, streamDataLabel as a0, transportStreamData as a1, type AppOptions as b, type AttachOptions as c, type ChannelMessage as d, ChannelMultiplexer as e, type ChannelName as f, type ChunkReadable as g, DeferredDocConnector as h, type DocConnection as i, type DocConnector as j, type LayoutConfig as k, type LayoutContext as l, LoopbackStreamData as m, type MediaChunkSource as n, type MediaChunkSourceFactory as o, type MediaRecorderChunkSourceOptions as p, type PresenceState as q, type RecordingBucket as r, type RecordingLifecycle as s, type RecordingStatus as t, type RecordingsAccessor as u, type RequestOptions as v, type RequestStreamOptions as w, type RuntimeArtifact as x, type RuntimeArtifactDownload as y, type RuntimeArtifactsAccessor as z };
|
|
@@ -330,6 +330,8 @@ interface Session {
|
|
|
330
330
|
|
|
331
331
|
readonly recordings: RecordingsAccessor;
|
|
332
332
|
|
|
333
|
+
readonly artifacts: RuntimeArtifactsAccessor;
|
|
334
|
+
|
|
333
335
|
disconnect(): void;
|
|
334
336
|
}
|
|
335
337
|
|
|
@@ -392,6 +394,27 @@ interface RecordingsAccessor {
|
|
|
392
394
|
|
|
393
395
|
delete(id: string): Promise<Recording>;
|
|
394
396
|
}
|
|
397
|
+
interface RuntimeArtifact {
|
|
398
|
+
artifactId: string;
|
|
399
|
+
kind: string;
|
|
400
|
+
filename: string;
|
|
401
|
+
contentType: string;
|
|
402
|
+
sizeBytes: number;
|
|
403
|
+
sha256: string;
|
|
404
|
+
status: string;
|
|
405
|
+
createdAt?: string;
|
|
406
|
+
expiresAt?: string;
|
|
407
|
+
}
|
|
408
|
+
interface RuntimeArtifactDownload {
|
|
409
|
+
artifact: RuntimeArtifact;
|
|
410
|
+
downloadUrl: string;
|
|
411
|
+
}
|
|
412
|
+
interface RuntimeArtifactsAccessor {
|
|
413
|
+
|
|
414
|
+
list(sessionId?: string): Promise<RuntimeArtifact[]>;
|
|
415
|
+
|
|
416
|
+
getDownloadUrl(artifactId: string, sessionId?: string): Promise<RuntimeArtifactDownload>;
|
|
417
|
+
}
|
|
395
418
|
|
|
396
419
|
interface AppOptions {
|
|
397
420
|
|
|
@@ -536,6 +559,10 @@ declare class TransportSession {
|
|
|
536
559
|
private _lastConsumeMsg;
|
|
537
560
|
private _recvConnectWatchdog;
|
|
538
561
|
private _recvTcpFailoverDone;
|
|
562
|
+
private _recvIceRestartAttempts;
|
|
563
|
+
private _recvIceRestartTimer;
|
|
564
|
+
private _sendIceRestartAttempts;
|
|
565
|
+
private _sendIceRestartTimer;
|
|
539
566
|
private _phase;
|
|
540
567
|
private _requestId;
|
|
541
568
|
private _liveReached;
|
|
@@ -632,6 +659,17 @@ declare class TransportSession {
|
|
|
632
659
|
private _clearRecvWatchdog;
|
|
633
660
|
|
|
634
661
|
private _failoverRecvToTcp;
|
|
662
|
+
|
|
663
|
+
private _tryRestartRecvIce;
|
|
664
|
+
private _trySendIceRestart;
|
|
665
|
+
|
|
666
|
+
private _requestIceRestart;
|
|
667
|
+
|
|
668
|
+
private _onIceRestarted;
|
|
669
|
+
private _armRecvIceRestartWatchdog;
|
|
670
|
+
private _armSendIceRestartWatchdog;
|
|
671
|
+
private _clearRecvIceRestart;
|
|
672
|
+
private _clearSendIceRestart;
|
|
635
673
|
private _onCreateSendTransport;
|
|
636
674
|
|
|
637
675
|
private _onConsumeData;
|
|
@@ -694,4 +732,4 @@ interface DataChannelTransport {
|
|
|
694
732
|
|
|
695
733
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
696
734
|
|
|
697
|
-
export { type AccessTokenOptions as A, type
|
|
735
|
+
export { mediaRecorderChunkSource as $, type AccessTokenOptions as A, type SceneGraph as B, type ChannelEndpoint as C, DeferredChannelMultiplexer as D, type Session as E, type SessionDocument as F, type SessionPhase as G, type SessionPhaseName as H, type SessionStartOptions as I, type SessionStream as J, type SessionText as K, type Layer as L, type MediaChunkBinding as M, type Store as N, type StoreOptions as O, type Presence as P, type StreamChunkOptions as Q, type Recording as R, type SceneContext as S, type StreamDataTransport as T, TransportSession as U, type TransportSessionOptions as V, type TransportState as W, createPresence as X, createWebsocketDocConnector as Y, deriveYjsServerUrl as Z, isPendingRecording as _, type App as a, streamDataLabel as a0, transportStreamData as a1, type AppOptions as b, type AttachOptions as c, type ChannelMessage as d, ChannelMultiplexer as e, type ChannelName as f, type ChunkReadable as g, DeferredDocConnector as h, type DocConnection as i, type DocConnector as j, type LayoutConfig as k, type LayoutContext as l, LoopbackStreamData as m, type MediaChunkSource as n, type MediaChunkSourceFactory as o, type MediaRecorderChunkSourceOptions as p, type PresenceState as q, type RecordingBucket as r, type RecordingLifecycle as s, type RecordingStatus as t, type RecordingsAccessor as u, type RequestOptions as v, type RequestStreamOptions as w, type RuntimeArtifact as x, type RuntimeArtifactDownload as y, type RuntimeArtifactsAccessor as z };
|