@urun-sh/core 0.2.51 → 0.2.53
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-USB2YC4V.mjs → chunk-4IG3DT7P.mjs} +2 -2
- package/dist/{chunk-2MG7ASFV.mjs → chunk-DN7HQ3WI.mjs} +5 -5
- 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-DLrBWs2N.d.mts → stream-data-CcujVuq3.d.mts} +16 -1
- package/dist/{stream-data-DLrBWs2N.d.ts → stream-data-CcujVuq3.d.ts} +16 -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-DN7HQ3WI.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,13 @@ interface TransportSessionOptions {
|
|
|
260
260
|
iceServers?: RTCIceServer[];
|
|
261
261
|
|
|
262
262
|
mediaLiveness?: MediaLivenessOptions;
|
|
263
|
+
|
|
264
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
interface AudioPlayoutOptions {
|
|
268
|
+
|
|
269
|
+
jitterBufferTargetMs?: number;
|
|
263
270
|
}
|
|
264
271
|
|
|
265
272
|
interface MediaLivenessOptions {
|
|
@@ -376,9 +383,11 @@ interface RequestStreamOptions {
|
|
|
376
383
|
type SessionEndResult = {
|
|
377
384
|
status: 'ended';
|
|
378
385
|
requestId: string;
|
|
386
|
+
platformStatus?: string;
|
|
379
387
|
} | {
|
|
380
388
|
status: 'canceled';
|
|
381
389
|
requestId: string;
|
|
390
|
+
platformStatus?: string;
|
|
382
391
|
};
|
|
383
392
|
|
|
384
393
|
interface Session {
|
|
@@ -535,6 +544,8 @@ interface AppOptions {
|
|
|
535
544
|
sessionKey?: string;
|
|
536
545
|
|
|
537
546
|
priority?: 'preempt';
|
|
547
|
+
|
|
548
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
538
549
|
}
|
|
539
550
|
interface AccessTokenOptions$1 {
|
|
540
551
|
forceRefresh?: boolean;
|
|
@@ -945,6 +956,10 @@ declare class TransportSession {
|
|
|
945
956
|
private _onConsumeData;
|
|
946
957
|
private _onConsume;
|
|
947
958
|
|
|
959
|
+
private _audioJitterBufferTargetMs;
|
|
960
|
+
|
|
961
|
+
private _capAudioJitterBuffer;
|
|
962
|
+
|
|
948
963
|
private _closeConsumer;
|
|
949
964
|
|
|
950
965
|
private _closeConsumersByProducer;
|
|
@@ -1082,4 +1097,4 @@ interface DataChannelTransport {
|
|
|
1082
1097
|
|
|
1083
1098
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1084
1099
|
|
|
1085
|
-
export { type
|
|
1100
|
+
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,13 @@ interface TransportSessionOptions {
|
|
|
260
260
|
iceServers?: RTCIceServer[];
|
|
261
261
|
|
|
262
262
|
mediaLiveness?: MediaLivenessOptions;
|
|
263
|
+
|
|
264
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
interface AudioPlayoutOptions {
|
|
268
|
+
|
|
269
|
+
jitterBufferTargetMs?: number;
|
|
263
270
|
}
|
|
264
271
|
|
|
265
272
|
interface MediaLivenessOptions {
|
|
@@ -376,9 +383,11 @@ interface RequestStreamOptions {
|
|
|
376
383
|
type SessionEndResult = {
|
|
377
384
|
status: 'ended';
|
|
378
385
|
requestId: string;
|
|
386
|
+
platformStatus?: string;
|
|
379
387
|
} | {
|
|
380
388
|
status: 'canceled';
|
|
381
389
|
requestId: string;
|
|
390
|
+
platformStatus?: string;
|
|
382
391
|
};
|
|
383
392
|
|
|
384
393
|
interface Session {
|
|
@@ -535,6 +544,8 @@ interface AppOptions {
|
|
|
535
544
|
sessionKey?: string;
|
|
536
545
|
|
|
537
546
|
priority?: 'preempt';
|
|
547
|
+
|
|
548
|
+
audioPlayout?: AudioPlayoutOptions;
|
|
538
549
|
}
|
|
539
550
|
interface AccessTokenOptions$1 {
|
|
540
551
|
forceRefresh?: boolean;
|
|
@@ -945,6 +956,10 @@ declare class TransportSession {
|
|
|
945
956
|
private _onConsumeData;
|
|
946
957
|
private _onConsume;
|
|
947
958
|
|
|
959
|
+
private _audioJitterBufferTargetMs;
|
|
960
|
+
|
|
961
|
+
private _capAudioJitterBuffer;
|
|
962
|
+
|
|
948
963
|
private _closeConsumer;
|
|
949
964
|
|
|
950
965
|
private _closeConsumersByProducer;
|
|
@@ -1082,4 +1097,4 @@ interface DataChannelTransport {
|
|
|
1082
1097
|
|
|
1083
1098
|
declare function transportStreamData(transport: DataChannelTransport): StreamDataTransport;
|
|
1084
1099
|
|
|
1085
|
-
export { type
|
|
1100
|
+
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 };
|