@urun-sh/core 0.2.52 → 0.2.54
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 +28 -0
- package/README.md +27 -0
- package/dist/{chunk-RWCRN4A6.mjs → chunk-5MCYL2CA.mjs} +2 -2
- package/dist/{chunk-TPHPHD73.mjs → chunk-ROHOB3GT.mjs} +3 -3
- package/dist/index.browser.d.mts +2 -2
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- 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 +3 -3
- package/dist/internal.mjs +1 -1
- package/dist/{stream-data-Rz2dQs98.d.mts → stream-data-Cb0t-gV0.d.mts} +20 -1
- package/dist/{stream-data-Rz2dQs98.d.ts → stream-data-Cb0t-gV0.d.ts} +20 -1
- 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{E as r,H as t,I as n,J as a,K as s,M as p,N as m,O as c,S as i,T as l,U as S,V as f,W as x,X as C,Y as D,a as e,b as o}from"./chunk-
|
|
2
|
+
import{E as r,H as t,I as n,J as a,K as s,M as p,N as m,O as c,S as i,T as l,U as S,V as f,W as x,X as C,Y as D,a as e,b as o}from"./chunk-ROHOB3GT.mjs";export{e as ChannelMultiplexer,l as DOC_SYNC_WIRE_CONTRACT_VERSION,o as DeferredChannelMultiplexer,x as DeferredDocConnector,p as LoopbackStreamData,C as SessionDocumentImpl,i 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,c as streamDataLabel,m as transportStreamData};
|
|
@@ -260,6 +260,15 @@ interface TransportSessionOptions {
|
|
|
260
260
|
iceServers?: RTCIceServer[];
|
|
261
261
|
|
|
262
262
|
mediaLiveness?: MediaLivenessOptions;
|
|
263
|
+
|
|
264
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
265
|
+
|
|
266
|
+
diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface AudioPlayoutOptions {
|
|
270
|
+
|
|
271
|
+
jitterBufferTargetMs?: number;
|
|
263
272
|
}
|
|
264
273
|
|
|
265
274
|
interface MediaLivenessOptions {
|
|
@@ -528,6 +537,8 @@ interface AppOptions {
|
|
|
528
537
|
|
|
529
538
|
authProvider?: string;
|
|
530
539
|
|
|
540
|
+
diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
|
|
541
|
+
|
|
531
542
|
functionsUrl?: string;
|
|
532
543
|
|
|
533
544
|
allowWebTransport?: boolean;
|
|
@@ -537,6 +548,8 @@ interface AppOptions {
|
|
|
537
548
|
sessionKey?: string;
|
|
538
549
|
|
|
539
550
|
priority?: 'preempt';
|
|
551
|
+
|
|
552
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
540
553
|
}
|
|
541
554
|
interface AccessTokenOptions$1 {
|
|
542
555
|
forceRefresh?: boolean;
|
|
@@ -817,6 +830,8 @@ declare class TransportSession {
|
|
|
817
830
|
|
|
818
831
|
private _candidatePairDiagnosticEmitted;
|
|
819
832
|
|
|
833
|
+
private _diagnosticSinkFailed;
|
|
834
|
+
|
|
820
835
|
private _currentEpoch;
|
|
821
836
|
|
|
822
837
|
private _consumerId;
|
|
@@ -947,6 +962,10 @@ declare class TransportSession {
|
|
|
947
962
|
private _onConsumeData;
|
|
948
963
|
private _onConsume;
|
|
949
964
|
|
|
965
|
+
private _audioJitterBufferTargetMs;
|
|
966
|
+
|
|
967
|
+
private _capAudioJitterBuffer;
|
|
968
|
+
|
|
950
969
|
private _closeConsumer;
|
|
951
970
|
|
|
952
971
|
private _closeConsumersByProducer;
|
|
@@ -1084,4 +1103,4 @@ interface DataChannelTransport {
|
|
|
1084
1103
|
|
|
1085
1104
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1086
1105
|
|
|
1087
|
-
export { type
|
|
1106
|
+
export { type SessionEndResult as $, type AccessTokenOptions$1 as A, type PrewakeResult as B, type ChannelEndpoint as C, DERIVED_LEG_SEP as D, type PrewakeStatus as E, type RecordingBucket as F, type RecordingLifecycle as G, type RecordingStatus as H, type RecordingsAccessor as I, type ReleaseSessionBeaconOptions as J, type RequestOptions as K, LoopbackStreamData as L, type MediaChunkBinding as M, type RequestStreamOptions as N, type RuntimeArtifact as O, type Presence as P, type RuntimeArtifactDownload as Q, type Recording as R, type RuntimeArtifactsAccessor as S, type RuntimeAvailability as T, type RuntimeWakeDetail as U, type RuntimeWakeGolden as V, type RuntimeWakeReasonCode as W, type Session as X, type SessionDiagnostic as Y, type SessionDocument as Z, SessionDocumentImpl as _, type AccessTokenOptions as a, type SessionFailureKind as a0, type SessionPhase as a1, type SessionPhaseError as a2, type SessionPhaseName as a3, type SessionStartOptions as a4, type SessionStatus as a5, type SessionStream as a6, type SessionText as a7, type Store as a8, type StoreOptions as a9, type StreamChunkOptions as aa, type StreamDataTransport as ab, TransportSession as ac, type TransportSessionOptions as ad, type TransportState as ae, allocateSession as af, createPresence as ag, createWebsocketDocConnector as ah, deriveYjsServerUrl as ai, derivedLegName as aj, derivedLegRole as ak, isPendingRecording as al, mediaRecorderChunkSource as am, prewake as an, releaseSessionBeacon as ao, streamDataLabel as ap, transportStreamData as aq, type ActivationEvent as b, 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, DOC_SYNC_WIRE_CONTRACT_VERSION as n, DeferredChannelMultiplexer as o, DeferredDocConnector as p, type DerivedLegRole as q, type DocConnection as r, type DocConnectionState as s, type DocConnector as t, type DocTokenSupplier as u, type MediaChunkSource as v, type MediaChunkSourceFactory as w, type MediaRecorderChunkSourceOptions as x, type PresenceState as y, type PrewakeOptions as z };
|
|
@@ -260,6 +260,15 @@ interface TransportSessionOptions {
|
|
|
260
260
|
iceServers?: RTCIceServer[];
|
|
261
261
|
|
|
262
262
|
mediaLiveness?: MediaLivenessOptions;
|
|
263
|
+
|
|
264
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
265
|
+
|
|
266
|
+
diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface AudioPlayoutOptions {
|
|
270
|
+
|
|
271
|
+
jitterBufferTargetMs?: number;
|
|
263
272
|
}
|
|
264
273
|
|
|
265
274
|
interface MediaLivenessOptions {
|
|
@@ -528,6 +537,8 @@ interface AppOptions {
|
|
|
528
537
|
|
|
529
538
|
authProvider?: string;
|
|
530
539
|
|
|
540
|
+
diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
|
|
541
|
+
|
|
531
542
|
functionsUrl?: string;
|
|
532
543
|
|
|
533
544
|
allowWebTransport?: boolean;
|
|
@@ -537,6 +548,8 @@ interface AppOptions {
|
|
|
537
548
|
sessionKey?: string;
|
|
538
549
|
|
|
539
550
|
priority?: 'preempt';
|
|
551
|
+
|
|
552
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
540
553
|
}
|
|
541
554
|
interface AccessTokenOptions$1 {
|
|
542
555
|
forceRefresh?: boolean;
|
|
@@ -817,6 +830,8 @@ declare class TransportSession {
|
|
|
817
830
|
|
|
818
831
|
private _candidatePairDiagnosticEmitted;
|
|
819
832
|
|
|
833
|
+
private _diagnosticSinkFailed;
|
|
834
|
+
|
|
820
835
|
private _currentEpoch;
|
|
821
836
|
|
|
822
837
|
private _consumerId;
|
|
@@ -947,6 +962,10 @@ declare class TransportSession {
|
|
|
947
962
|
private _onConsumeData;
|
|
948
963
|
private _onConsume;
|
|
949
964
|
|
|
965
|
+
private _audioJitterBufferTargetMs;
|
|
966
|
+
|
|
967
|
+
private _capAudioJitterBuffer;
|
|
968
|
+
|
|
950
969
|
private _closeConsumer;
|
|
951
970
|
|
|
952
971
|
private _closeConsumersByProducer;
|
|
@@ -1084,4 +1103,4 @@ interface DataChannelTransport {
|
|
|
1084
1103
|
|
|
1085
1104
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1086
1105
|
|
|
1087
|
-
export { type
|
|
1106
|
+
export { type SessionEndResult as $, type AccessTokenOptions$1 as A, type PrewakeResult as B, type ChannelEndpoint as C, DERIVED_LEG_SEP as D, type PrewakeStatus as E, type RecordingBucket as F, type RecordingLifecycle as G, type RecordingStatus as H, type RecordingsAccessor as I, type ReleaseSessionBeaconOptions as J, type RequestOptions as K, LoopbackStreamData as L, type MediaChunkBinding as M, type RequestStreamOptions as N, type RuntimeArtifact as O, type Presence as P, type RuntimeArtifactDownload as Q, type Recording as R, type RuntimeArtifactsAccessor as S, type RuntimeAvailability as T, type RuntimeWakeDetail as U, type RuntimeWakeGolden as V, type RuntimeWakeReasonCode as W, type Session as X, type SessionDiagnostic as Y, type SessionDocument as Z, SessionDocumentImpl as _, type AccessTokenOptions as a, type SessionFailureKind as a0, type SessionPhase as a1, type SessionPhaseError as a2, type SessionPhaseName as a3, type SessionStartOptions as a4, type SessionStatus as a5, type SessionStream as a6, type SessionText as a7, type Store as a8, type StoreOptions as a9, type StreamChunkOptions as aa, type StreamDataTransport as ab, TransportSession as ac, type TransportSessionOptions as ad, type TransportState as ae, allocateSession as af, createPresence as ag, createWebsocketDocConnector as ah, deriveYjsServerUrl as ai, derivedLegName as aj, derivedLegRole as ak, isPendingRecording as al, mediaRecorderChunkSource as am, prewake as an, releaseSessionBeacon as ao, streamDataLabel as ap, transportStreamData as aq, type ActivationEvent as b, 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, DOC_SYNC_WIRE_CONTRACT_VERSION as n, DeferredChannelMultiplexer as o, DeferredDocConnector as p, type DerivedLegRole as q, type DocConnection as r, type DocConnectionState as s, type DocConnector as t, type DocTokenSupplier as u, type MediaChunkSource as v, type MediaChunkSourceFactory as w, type MediaRecorderChunkSourceOptions as x, type PresenceState as y, type PrewakeOptions as z };
|