@urun-sh/core 0.2.3 → 0.2.4
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/{chunk-DJP5IED4.mjs → chunk-OOZRRU3F.mjs} +5 -5
- package/dist/{chunk-O4WPKVLL.mjs → chunk-QU4I4XC5.mjs} +5 -5
- package/dist/index.browser.d.mts +23 -3
- package/dist/index.browser.d.ts +23 -3
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +23 -3
- package/dist/index.d.ts +23 -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.browser.js +3 -3
- 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 +3 -3
- package/dist/internal.mjs +1 -1
- package/dist/{stream-data-DFTD9vJY.d.mts → stream-data-Cuuh7KQc.d.mts} +21 -7
- package/dist/{stream-data-DFTD9vJY.d.ts → stream-data-Cuuh7KQc.d.ts} +21 -7
- 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-QU4I4XC5.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};
|
|
@@ -328,6 +328,11 @@ interface Session {
|
|
|
328
328
|
|
|
329
329
|
onPhase(handler: (phase: SessionPhase) => void): () => void;
|
|
330
330
|
|
|
331
|
+
whenLive(options?: {
|
|
332
|
+
timeout?: number;
|
|
333
|
+
signal?: AbortSignal;
|
|
334
|
+
}): Promise<void>;
|
|
335
|
+
|
|
331
336
|
readonly recordings: RecordingsAccessor;
|
|
332
337
|
|
|
333
338
|
readonly artifacts: RuntimeArtifactsAccessor;
|
|
@@ -551,14 +556,12 @@ declare class TransportSession {
|
|
|
551
556
|
private _intentionalDisconnect;
|
|
552
557
|
private _reconnectTimer;
|
|
553
558
|
|
|
559
|
+
private _cancelPendingDial;
|
|
560
|
+
|
|
554
561
|
private _stableResetTimer;
|
|
555
562
|
private _generation;
|
|
556
563
|
private _lastStartOptions;
|
|
557
564
|
private _resolveConnection;
|
|
558
|
-
private _recvTransportMsg;
|
|
559
|
-
private _lastConsumeMsg;
|
|
560
|
-
private _recvConnectWatchdog;
|
|
561
|
-
private _recvTcpFailoverDone;
|
|
562
565
|
private _recvIceRestartAttempts;
|
|
563
566
|
private _recvIceRestartTimer;
|
|
564
567
|
private _sendIceRestartAttempts;
|
|
@@ -577,6 +580,14 @@ declare class TransportSession {
|
|
|
577
580
|
|
|
578
581
|
private _mediaDeathHandled;
|
|
579
582
|
|
|
583
|
+
private _decodeSignalSeen;
|
|
584
|
+
|
|
585
|
+
private _lastFramesDecoded;
|
|
586
|
+
|
|
587
|
+
private _lastDecodeAdvanceAt;
|
|
588
|
+
|
|
589
|
+
private _decodeDeathHandled;
|
|
590
|
+
|
|
580
591
|
private _currentEpoch;
|
|
581
592
|
|
|
582
593
|
private _consumerId;
|
|
@@ -656,9 +667,6 @@ declare class TransportSession {
|
|
|
656
667
|
private _onCreateRecvTransport;
|
|
657
668
|
|
|
658
669
|
private _buildRecvTransport;
|
|
659
|
-
private _clearRecvWatchdog;
|
|
660
|
-
|
|
661
|
-
private _failoverRecvToTcp;
|
|
662
670
|
|
|
663
671
|
private _tryRestartRecvIce;
|
|
664
672
|
private _trySendIceRestart;
|
|
@@ -674,6 +682,10 @@ declare class TransportSession {
|
|
|
674
682
|
|
|
675
683
|
private _onConsumeData;
|
|
676
684
|
private _onConsume;
|
|
685
|
+
|
|
686
|
+
private _closeConsumer;
|
|
687
|
+
|
|
688
|
+
private _closeConsumersByProducer;
|
|
677
689
|
private _mediaPollMs;
|
|
678
690
|
private _mediaStallTimeoutMs;
|
|
679
691
|
|
|
@@ -681,6 +693,8 @@ declare class TransportSession {
|
|
|
681
693
|
private _stopMediaMonitor;
|
|
682
694
|
private _sampleMediaLiveness;
|
|
683
695
|
|
|
696
|
+
private _checkDecodeLiveness;
|
|
697
|
+
|
|
684
698
|
private _renegotiate;
|
|
685
699
|
private _attemptReconnect;
|
|
686
700
|
private _connectUrls;
|
|
@@ -328,6 +328,11 @@ interface Session {
|
|
|
328
328
|
|
|
329
329
|
onPhase(handler: (phase: SessionPhase) => void): () => void;
|
|
330
330
|
|
|
331
|
+
whenLive(options?: {
|
|
332
|
+
timeout?: number;
|
|
333
|
+
signal?: AbortSignal;
|
|
334
|
+
}): Promise<void>;
|
|
335
|
+
|
|
331
336
|
readonly recordings: RecordingsAccessor;
|
|
332
337
|
|
|
333
338
|
readonly artifacts: RuntimeArtifactsAccessor;
|
|
@@ -551,14 +556,12 @@ declare class TransportSession {
|
|
|
551
556
|
private _intentionalDisconnect;
|
|
552
557
|
private _reconnectTimer;
|
|
553
558
|
|
|
559
|
+
private _cancelPendingDial;
|
|
560
|
+
|
|
554
561
|
private _stableResetTimer;
|
|
555
562
|
private _generation;
|
|
556
563
|
private _lastStartOptions;
|
|
557
564
|
private _resolveConnection;
|
|
558
|
-
private _recvTransportMsg;
|
|
559
|
-
private _lastConsumeMsg;
|
|
560
|
-
private _recvConnectWatchdog;
|
|
561
|
-
private _recvTcpFailoverDone;
|
|
562
565
|
private _recvIceRestartAttempts;
|
|
563
566
|
private _recvIceRestartTimer;
|
|
564
567
|
private _sendIceRestartAttempts;
|
|
@@ -577,6 +580,14 @@ declare class TransportSession {
|
|
|
577
580
|
|
|
578
581
|
private _mediaDeathHandled;
|
|
579
582
|
|
|
583
|
+
private _decodeSignalSeen;
|
|
584
|
+
|
|
585
|
+
private _lastFramesDecoded;
|
|
586
|
+
|
|
587
|
+
private _lastDecodeAdvanceAt;
|
|
588
|
+
|
|
589
|
+
private _decodeDeathHandled;
|
|
590
|
+
|
|
580
591
|
private _currentEpoch;
|
|
581
592
|
|
|
582
593
|
private _consumerId;
|
|
@@ -656,9 +667,6 @@ declare class TransportSession {
|
|
|
656
667
|
private _onCreateRecvTransport;
|
|
657
668
|
|
|
658
669
|
private _buildRecvTransport;
|
|
659
|
-
private _clearRecvWatchdog;
|
|
660
|
-
|
|
661
|
-
private _failoverRecvToTcp;
|
|
662
670
|
|
|
663
671
|
private _tryRestartRecvIce;
|
|
664
672
|
private _trySendIceRestart;
|
|
@@ -674,6 +682,10 @@ declare class TransportSession {
|
|
|
674
682
|
|
|
675
683
|
private _onConsumeData;
|
|
676
684
|
private _onConsume;
|
|
685
|
+
|
|
686
|
+
private _closeConsumer;
|
|
687
|
+
|
|
688
|
+
private _closeConsumersByProducer;
|
|
677
689
|
private _mediaPollMs;
|
|
678
690
|
private _mediaStallTimeoutMs;
|
|
679
691
|
|
|
@@ -681,6 +693,8 @@ declare class TransportSession {
|
|
|
681
693
|
private _stopMediaMonitor;
|
|
682
694
|
private _sampleMediaLiveness;
|
|
683
695
|
|
|
696
|
+
private _checkDecodeLiveness;
|
|
697
|
+
|
|
684
698
|
private _renegotiate;
|
|
685
699
|
private _attemptReconnect;
|
|
686
700
|
private _connectUrls;
|