@urun-sh/core 0.6.34 → 0.6.36
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 +20 -0
- package/dist/adapter/index.js +7 -7
- package/dist/adapter/index.mjs +1 -1
- package/dist/{app-OVTFGGDB.mjs → app-U7LBEKWS.mjs} +1 -1
- package/dist/{backoff-DFozWV6R.d.ts → backoff-C36bg4oV.d.mts} +221 -175
- package/dist/{backoff-CxNgrGjM.d.mts → backoff-C36bg4oV.d.ts} +221 -175
- package/dist/{backoff-CxNgrGjM.d.ts → backoff-C60lcU4l.d.mts} +221 -175
- package/dist/{backoff-DFozWV6R.d.mts → backoff-C60lcU4l.d.ts} +221 -175
- package/dist/{chunk-4KTPEC4N.mjs → chunk-N7XWLJO5.mjs} +5 -5
- package/dist/chunk-VHDCUDOI.mjs +30 -0
- package/dist/{chunk-OTDADVMS.mjs → chunk-W52BJWP6.mjs} +2 -2
- package/dist/index.browser.d.mts +4 -2
- package/dist/index.browser.d.ts +4 -2
- package/dist/index.browser.js +3 -3
- package/dist/index.browser.mjs +2 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +56 -2
- package/dist/internal.browser.d.ts +56 -2
- package/dist/internal.browser.js +2 -2
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +56 -2
- package/dist/internal.d.ts +56 -2
- package/dist/internal.js +5 -5
- package/dist/internal.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-5MIDGX6W.mjs +0 -30
|
@@ -50,6 +50,193 @@ interface WatchGenerationTickOptions {
|
|
|
50
50
|
|
|
51
51
|
declare function watchGenerationTick(control: Pick<SessionDocument, 'get' | 'on'>, handler: (tick: GenerationTick) => void, options?: WatchGenerationTickOptions): () => void;
|
|
52
52
|
|
|
53
|
+
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
54
|
+
|
|
55
|
+
| "paused"
|
|
56
|
+
|
|
57
|
+
| "redirect"
|
|
58
|
+
|
|
59
|
+
| "waiting_for_capacity"
|
|
60
|
+
|
|
61
|
+
| (string & {});
|
|
62
|
+
interface SessionGatewayResponse {
|
|
63
|
+
status?: SessionGatewayStatus;
|
|
64
|
+
|
|
65
|
+
location?: string;
|
|
66
|
+
|
|
67
|
+
session_api_base?: string;
|
|
68
|
+
|
|
69
|
+
serving_region?: string | null;
|
|
70
|
+
request_id?: string;
|
|
71
|
+
session_id?: string;
|
|
72
|
+
ws_url?: string;
|
|
73
|
+
|
|
74
|
+
ice_servers?: RTCIceServer[];
|
|
75
|
+
queued?: boolean;
|
|
76
|
+
retry_after_seconds?: number;
|
|
77
|
+
|
|
78
|
+
effective_max_queue_time_s?: number;
|
|
79
|
+
queue_position?: number;
|
|
80
|
+
queue_depth?: number;
|
|
81
|
+
|
|
82
|
+
runtime_state?: string;
|
|
83
|
+
|
|
84
|
+
runtime_reason?: string;
|
|
85
|
+
|
|
86
|
+
runtime_ready?: boolean;
|
|
87
|
+
runtime_status?: string;
|
|
88
|
+
|
|
89
|
+
reason?: string;
|
|
90
|
+
|
|
91
|
+
decision_reason?: string;
|
|
92
|
+
|
|
93
|
+
provisioning_refusal_source?: string;
|
|
94
|
+
|
|
95
|
+
provisioning_refusal_message?: string;
|
|
96
|
+
|
|
97
|
+
runtime_wake?: unknown;
|
|
98
|
+
|
|
99
|
+
ends_at?: string;
|
|
100
|
+
error_code?: string;
|
|
101
|
+
error_message?: string;
|
|
102
|
+
|
|
103
|
+
message?: string;
|
|
104
|
+
error?: string;
|
|
105
|
+
|
|
106
|
+
balance_credits?: number;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
interface AdmissionUpdate {
|
|
110
|
+
|
|
111
|
+
status: string;
|
|
112
|
+
|
|
113
|
+
requestId?: string;
|
|
114
|
+
|
|
115
|
+
sessionId?: string;
|
|
116
|
+
|
|
117
|
+
queue?: {
|
|
118
|
+
position: number;
|
|
119
|
+
depth: number;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
runtime?: RuntimeAvailability;
|
|
123
|
+
|
|
124
|
+
reason?: string;
|
|
125
|
+
|
|
126
|
+
decisionReason?: string;
|
|
127
|
+
|
|
128
|
+
refusalSource?: string;
|
|
129
|
+
|
|
130
|
+
refusalMessage?: string;
|
|
131
|
+
|
|
132
|
+
region?: string | null;
|
|
133
|
+
|
|
134
|
+
runtimeReady?: boolean;
|
|
135
|
+
|
|
136
|
+
runtimeStatus?: 'unbound' | 'starting' | 'ready';
|
|
137
|
+
}
|
|
138
|
+
interface AllocateSessionOptions {
|
|
139
|
+
baseUrl: string;
|
|
140
|
+
fallbackUrls?: readonly string[];
|
|
141
|
+
app: string;
|
|
142
|
+
functionName: string;
|
|
143
|
+
orgId: string;
|
|
144
|
+
jwt?: string;
|
|
145
|
+
getAccessToken?: (options?: AccessTokenOptions$1) => string | null | undefined | Promise<string | null | undefined>;
|
|
146
|
+
authProvider?: string;
|
|
147
|
+
idempotencyKey: string;
|
|
148
|
+
|
|
149
|
+
onAdmission?: (update: AdmissionUpdate) => void;
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
onRequest?: (handle: {
|
|
153
|
+
requestId: string;
|
|
154
|
+
baseUrl: string;
|
|
155
|
+
sessionId?: string;
|
|
156
|
+
}) => void;
|
|
157
|
+
|
|
158
|
+
sessionKey?: string;
|
|
159
|
+
|
|
160
|
+
concurrencyKey?: string;
|
|
161
|
+
|
|
162
|
+
label?: string;
|
|
163
|
+
|
|
164
|
+
priority?: "preempt";
|
|
165
|
+
|
|
166
|
+
sharedApp?: boolean;
|
|
167
|
+
}
|
|
168
|
+
interface AccessTokenOptions$1 {
|
|
169
|
+
forceRefresh?: boolean;
|
|
170
|
+
reason?: "initial" | "unauthorized" | "background";
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
interface SfuAttachCredential {
|
|
174
|
+
|
|
175
|
+
url: string;
|
|
176
|
+
|
|
177
|
+
token: string;
|
|
178
|
+
|
|
179
|
+
gen: number;
|
|
180
|
+
}
|
|
181
|
+
interface AllocatedSession {
|
|
182
|
+
baseUrl: string;
|
|
183
|
+
sessionId: string;
|
|
184
|
+
wsUrl: string;
|
|
185
|
+
|
|
186
|
+
endsAt: Date | null;
|
|
187
|
+
|
|
188
|
+
sfuAttach?: SfuAttachCredential;
|
|
189
|
+
response: SessionGatewayResponse;
|
|
190
|
+
}
|
|
191
|
+
interface ReleaseSessionBeaconOptions {
|
|
192
|
+
baseUrl: string;
|
|
193
|
+
requestId: string;
|
|
194
|
+
|
|
195
|
+
sessionId?: string;
|
|
196
|
+
orgId: string;
|
|
197
|
+
|
|
198
|
+
jwt?: string;
|
|
199
|
+
authProvider?: string;
|
|
200
|
+
|
|
201
|
+
reason?: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare function releaseSessionBeacon(options: ReleaseSessionBeaconOptions): void;
|
|
205
|
+
declare function allocateSession(options: AllocateSessionOptions): Promise<AllocatedSession>;
|
|
206
|
+
|
|
207
|
+
interface SessionDirectoryRequestOptions {
|
|
208
|
+
baseUrl: string;
|
|
209
|
+
fallbackUrls?: readonly string[];
|
|
210
|
+
orgId: string;
|
|
211
|
+
jwt?: string;
|
|
212
|
+
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
213
|
+
authProvider?: string;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
type SessionNameSource = "user" | "auto";
|
|
217
|
+
interface PrewakeOptions {
|
|
218
|
+
baseUrl: string;
|
|
219
|
+
|
|
220
|
+
app: string;
|
|
221
|
+
|
|
222
|
+
functionName: string;
|
|
223
|
+
orgId: string;
|
|
224
|
+
jwt?: string;
|
|
225
|
+
getAccessToken?: (options?: AccessTokenOptions$1) => string | null | undefined | Promise<string | null | undefined>;
|
|
226
|
+
authProvider?: string;
|
|
227
|
+
}
|
|
228
|
+
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
229
|
+
interface PrewakeResult {
|
|
230
|
+
|
|
231
|
+
status: PrewakeStatus;
|
|
232
|
+
|
|
233
|
+
expiresAt?: string;
|
|
234
|
+
|
|
235
|
+
warmCapable?: boolean;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
declare function prewake(options: PrewakeOptions): Promise<PrewakeResult>;
|
|
239
|
+
|
|
53
240
|
declare const DOC_SYNC_WIRE_CONTRACT_VERSION = 1;
|
|
54
241
|
interface DocConnectionState {
|
|
55
242
|
|
|
@@ -97,6 +284,8 @@ interface WebsocketDocConnectorOptions {
|
|
|
97
284
|
|
|
98
285
|
token?: string | DocTokenSupplier;
|
|
99
286
|
|
|
287
|
+
attach?: SfuAttachCredential;
|
|
288
|
+
|
|
100
289
|
WebSocketPolyfill?: typeof WebSocket;
|
|
101
290
|
|
|
102
291
|
maxBackoffTimeMs?: number;
|
|
@@ -141,7 +330,9 @@ declare function createPresence(awareness: Awareness): Presence;
|
|
|
141
330
|
|
|
142
331
|
type TransportState = 'connecting' | 'connected' | 'reconnecting' | 'renegotiating' | 'disconnected' | 'failed';
|
|
143
332
|
|
|
144
|
-
type SessionPhaseName = 'idle' | 'queued' | 'unavailable' | 'provisioning' | 'waiting_for_capacity' | 'connecting' | 'live'
|
|
333
|
+
type SessionPhaseName = 'idle' | 'queued' | 'unavailable' | 'provisioning' | 'waiting_for_capacity' | 'connecting' | 'live'
|
|
334
|
+
|
|
335
|
+
| 'degraded' | 'paused' | 'error' | 'unknown';
|
|
145
336
|
|
|
146
337
|
interface RuntimeAvailability {
|
|
147
338
|
state: 'unavailable' | 'starting' | 'busy';
|
|
@@ -291,6 +482,8 @@ interface TransportSessionOptions {
|
|
|
291
482
|
|
|
292
483
|
iceServers?: RTCIceServer[];
|
|
293
484
|
|
|
485
|
+
sfuAttach?: SfuAttachCredential;
|
|
486
|
+
|
|
294
487
|
mediaLiveness?: MediaLivenessOptions;
|
|
295
488
|
|
|
296
489
|
audioPlayout?: AudioPlayoutOptions;
|
|
@@ -648,7 +841,7 @@ interface AppOptions {
|
|
|
648
841
|
|
|
649
842
|
jwt?: string;
|
|
650
843
|
|
|
651
|
-
getAccessToken?: (options?: AccessTokenOptions
|
|
844
|
+
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
652
845
|
|
|
653
846
|
authProvider?: string;
|
|
654
847
|
|
|
@@ -672,7 +865,7 @@ interface AppOptions {
|
|
|
672
865
|
|
|
673
866
|
sessionStats?: SessionStatsOptions;
|
|
674
867
|
}
|
|
675
|
-
interface AccessTokenOptions
|
|
868
|
+
interface AccessTokenOptions {
|
|
676
869
|
forceRefresh?: boolean;
|
|
677
870
|
reason?: 'initial' | 'unauthorized' | 'background';
|
|
678
871
|
}
|
|
@@ -687,7 +880,7 @@ interface AttachOptions {
|
|
|
687
880
|
|
|
688
881
|
jwt?: string;
|
|
689
882
|
|
|
690
|
-
getAccessToken?: (options?: AccessTokenOptions
|
|
883
|
+
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
691
884
|
|
|
692
885
|
authProvider?: string;
|
|
693
886
|
|
|
@@ -715,175 +908,6 @@ interface App {
|
|
|
715
908
|
[fnName: string]: (args?: Record<string, unknown>, options?: StartSessionOptions) => Session;
|
|
716
909
|
}
|
|
717
910
|
|
|
718
|
-
type SessionGatewayStatus = "allocated" | "pending" | "queued" | "rejected" | "failed" | "canceled"
|
|
719
|
-
|
|
720
|
-
| "paused"
|
|
721
|
-
|
|
722
|
-
| "redirect"
|
|
723
|
-
|
|
724
|
-
| "waiting_for_capacity"
|
|
725
|
-
|
|
726
|
-
| (string & {});
|
|
727
|
-
interface SessionGatewayResponse {
|
|
728
|
-
status?: SessionGatewayStatus;
|
|
729
|
-
|
|
730
|
-
location?: string;
|
|
731
|
-
|
|
732
|
-
session_api_base?: string;
|
|
733
|
-
|
|
734
|
-
serving_region?: string | null;
|
|
735
|
-
request_id?: string;
|
|
736
|
-
session_id?: string;
|
|
737
|
-
ws_url?: string;
|
|
738
|
-
|
|
739
|
-
ice_servers?: RTCIceServer[];
|
|
740
|
-
queued?: boolean;
|
|
741
|
-
retry_after_seconds?: number;
|
|
742
|
-
|
|
743
|
-
effective_max_queue_time_s?: number;
|
|
744
|
-
queue_position?: number;
|
|
745
|
-
queue_depth?: number;
|
|
746
|
-
|
|
747
|
-
runtime_state?: string;
|
|
748
|
-
|
|
749
|
-
runtime_reason?: string;
|
|
750
|
-
|
|
751
|
-
reason?: string;
|
|
752
|
-
|
|
753
|
-
decision_reason?: string;
|
|
754
|
-
|
|
755
|
-
provisioning_refusal_source?: string;
|
|
756
|
-
|
|
757
|
-
provisioning_refusal_message?: string;
|
|
758
|
-
|
|
759
|
-
runtime_wake?: unknown;
|
|
760
|
-
|
|
761
|
-
ends_at?: string;
|
|
762
|
-
error_code?: string;
|
|
763
|
-
error_message?: string;
|
|
764
|
-
|
|
765
|
-
message?: string;
|
|
766
|
-
error?: string;
|
|
767
|
-
|
|
768
|
-
balance_credits?: number;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
interface AdmissionUpdate {
|
|
772
|
-
|
|
773
|
-
status: string;
|
|
774
|
-
|
|
775
|
-
requestId?: string;
|
|
776
|
-
|
|
777
|
-
sessionId?: string;
|
|
778
|
-
|
|
779
|
-
queue?: {
|
|
780
|
-
position: number;
|
|
781
|
-
depth: number;
|
|
782
|
-
};
|
|
783
|
-
|
|
784
|
-
runtime?: RuntimeAvailability;
|
|
785
|
-
|
|
786
|
-
reason?: string;
|
|
787
|
-
|
|
788
|
-
decisionReason?: string;
|
|
789
|
-
|
|
790
|
-
refusalSource?: string;
|
|
791
|
-
|
|
792
|
-
refusalMessage?: string;
|
|
793
|
-
|
|
794
|
-
region?: string | null;
|
|
795
|
-
}
|
|
796
|
-
interface AllocateSessionOptions {
|
|
797
|
-
baseUrl: string;
|
|
798
|
-
fallbackUrls?: readonly string[];
|
|
799
|
-
app: string;
|
|
800
|
-
functionName: string;
|
|
801
|
-
orgId: string;
|
|
802
|
-
jwt?: string;
|
|
803
|
-
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
804
|
-
authProvider?: string;
|
|
805
|
-
idempotencyKey: string;
|
|
806
|
-
|
|
807
|
-
onAdmission?: (update: AdmissionUpdate) => void;
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
onRequest?: (handle: {
|
|
811
|
-
requestId: string;
|
|
812
|
-
baseUrl: string;
|
|
813
|
-
sessionId?: string;
|
|
814
|
-
}) => void;
|
|
815
|
-
|
|
816
|
-
sessionKey?: string;
|
|
817
|
-
|
|
818
|
-
concurrencyKey?: string;
|
|
819
|
-
|
|
820
|
-
label?: string;
|
|
821
|
-
|
|
822
|
-
priority?: "preempt";
|
|
823
|
-
|
|
824
|
-
sharedApp?: boolean;
|
|
825
|
-
}
|
|
826
|
-
interface AccessTokenOptions {
|
|
827
|
-
forceRefresh?: boolean;
|
|
828
|
-
reason?: "initial" | "unauthorized" | "background";
|
|
829
|
-
}
|
|
830
|
-
interface AllocatedSession {
|
|
831
|
-
baseUrl: string;
|
|
832
|
-
sessionId: string;
|
|
833
|
-
wsUrl: string;
|
|
834
|
-
|
|
835
|
-
endsAt: Date | null;
|
|
836
|
-
response: SessionGatewayResponse;
|
|
837
|
-
}
|
|
838
|
-
interface ReleaseSessionBeaconOptions {
|
|
839
|
-
baseUrl: string;
|
|
840
|
-
requestId: string;
|
|
841
|
-
|
|
842
|
-
sessionId?: string;
|
|
843
|
-
orgId: string;
|
|
844
|
-
|
|
845
|
-
jwt?: string;
|
|
846
|
-
authProvider?: string;
|
|
847
|
-
|
|
848
|
-
reason?: string;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
declare function releaseSessionBeacon(options: ReleaseSessionBeaconOptions): void;
|
|
852
|
-
declare function allocateSession(options: AllocateSessionOptions): Promise<AllocatedSession>;
|
|
853
|
-
|
|
854
|
-
interface SessionDirectoryRequestOptions {
|
|
855
|
-
baseUrl: string;
|
|
856
|
-
fallbackUrls?: readonly string[];
|
|
857
|
-
orgId: string;
|
|
858
|
-
jwt?: string;
|
|
859
|
-
getAccessToken?: AllocateSessionOptions["getAccessToken"];
|
|
860
|
-
authProvider?: string;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
type SessionNameSource = "user" | "auto";
|
|
864
|
-
interface PrewakeOptions {
|
|
865
|
-
baseUrl: string;
|
|
866
|
-
|
|
867
|
-
app: string;
|
|
868
|
-
|
|
869
|
-
functionName: string;
|
|
870
|
-
orgId: string;
|
|
871
|
-
jwt?: string;
|
|
872
|
-
getAccessToken?: (options?: AccessTokenOptions) => string | null | undefined | Promise<string | null | undefined>;
|
|
873
|
-
authProvider?: string;
|
|
874
|
-
}
|
|
875
|
-
type PrewakeStatus = "warming" | "prebound" | "unknown-app" | "unavailable";
|
|
876
|
-
interface PrewakeResult {
|
|
877
|
-
|
|
878
|
-
status: PrewakeStatus;
|
|
879
|
-
|
|
880
|
-
expiresAt?: string;
|
|
881
|
-
|
|
882
|
-
warmCapable?: boolean;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
declare function prewake(options: PrewakeOptions): Promise<PrewakeResult>;
|
|
886
|
-
|
|
887
911
|
interface ChannelEndpoint {
|
|
888
912
|
on(channel: string, handler: (data: ChannelMessage) => void): () => void;
|
|
889
913
|
emit(channel: string, data: Record<string, unknown>): void;
|
|
@@ -1224,6 +1248,8 @@ interface AudioBufferSourceLike {
|
|
|
1224
1248
|
buffer: AudioBufferLike | null;
|
|
1225
1249
|
connect(node: unknown): void;
|
|
1226
1250
|
start(when: number): void;
|
|
1251
|
+
stop(when?: number): void;
|
|
1252
|
+
onended?: ((this: never, ev: never) => void) | null;
|
|
1227
1253
|
}
|
|
1228
1254
|
|
|
1229
1255
|
interface WtDataUplinkTransport {
|
|
@@ -1375,6 +1401,8 @@ interface TransportConnection {
|
|
|
1375
1401
|
|
|
1376
1402
|
iceServers?: RTCIceServer[];
|
|
1377
1403
|
|
|
1404
|
+
sfuAttach?: SfuAttachCredential;
|
|
1405
|
+
|
|
1378
1406
|
endsAt?: Date | null;
|
|
1379
1407
|
}
|
|
1380
1408
|
declare function streamDataLabel(name: string): string;
|
|
@@ -1558,7 +1586,7 @@ declare class TransportSession {
|
|
|
1558
1586
|
private _streamNameOf;
|
|
1559
1587
|
setAuth(options: Pick<TransportSessionOptions, 'orgId' | 'jwt' | 'authProvider'>): void;
|
|
1560
1588
|
constructor(options?: TransportSessionOptions);
|
|
1561
|
-
setConnection(options: Pick<TransportSessionOptions, 'url' | 'fallbackUrls' | 'sessionId' | 'iceServers'>): void;
|
|
1589
|
+
setConnection(options: Pick<TransportSessionOptions, 'url' | 'fallbackUrls' | 'sessionId' | 'iceServers' | 'sfuAttach'>): void;
|
|
1562
1590
|
setConnectionResolver(resolveConnection: (() => Promise<TransportConnection>) | null): void;
|
|
1563
1591
|
|
|
1564
1592
|
applyControlDocState(state: Record<string, unknown> | null | undefined): void;
|
|
@@ -1801,12 +1829,30 @@ declare class SessionTextImpl implements SessionText {
|
|
|
1801
1829
|
dispose(): void;
|
|
1802
1830
|
}
|
|
1803
1831
|
|
|
1832
|
+
declare const ENVELOPE_KIND: {
|
|
1833
|
+
readonly BINARY: 0;
|
|
1834
|
+
readonly TEXT: 1;
|
|
1835
|
+
readonly JSON: 2;
|
|
1836
|
+
readonly END: 3;
|
|
1837
|
+
|
|
1838
|
+
readonly CHUNK: 4;
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1804
1841
|
declare const STREAM_END: unique symbol;
|
|
1805
1842
|
|
|
1806
1843
|
declare function encodeStreamEnvelope(payload: unknown): Uint8Array;
|
|
1807
1844
|
|
|
1845
|
+
declare function encodeStreamFragments(payload: unknown): Uint8Array[];
|
|
1846
|
+
|
|
1808
1847
|
declare function decodeStreamEnvelope(frame: Uint8Array | ArrayBuffer): unknown;
|
|
1809
1848
|
|
|
1849
|
+
declare class StreamFragmentReassembler {
|
|
1850
|
+
private _chunks;
|
|
1851
|
+
private _bufferedLength;
|
|
1852
|
+
|
|
1853
|
+
feed(frame: Uint8Array | ArrayBuffer): unknown;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1810
1856
|
interface StreamDataTransport {
|
|
1811
1857
|
|
|
1812
1858
|
readonly consumerId: string;
|
|
@@ -1848,4 +1894,4 @@ declare function computeBackoffDelay(attempt: number, random?: () => number): nu
|
|
|
1848
1894
|
|
|
1849
1895
|
declare function isRetryableSessionError(error: unknown): boolean;
|
|
1850
1896
|
|
|
1851
|
-
export { type
|
|
1897
|
+
export { type RecordingBucket as $, type AccessTokenOptions$1 as A, BACKOFF_BASE_MS as B, type ChannelEndpoint as C, DERIVED_LEG_SEP as D, type DocTokenSupplier as E, ENVELOPE_KIND as F, GENERATION_TICK_EMIT_INTERVAL_MS as G, GENERATION_TICK_MAX_EXTRAPOLATION_MS as H, type GenerationTick as I, type InboundStatsSample as J, type MediaChunkSource as K, LoopbackStreamData as L, type MediaChunkBinding as M, type MediaChunkSourceFactory as N, type MediaRecorderChunkSourceOptions as O, type MediaSession as P, type NegotiatorDataLaneSeam as Q, type NegotiatorOptions as R, type PathHealthReporting as S, type PathLiveness as T, type Presence as U, type PresenceState as V, type PrewakeOptions as W, type PrewakeResult as X, type PrewakeStatus as Y, type QuicStreamDataTransport as Z, type Recording as _, type AccessTokenOptions as a, computeBackoffDelay as a$, type RecordingLifecycle as a0, type RecordingStatus as a1, type RecordingsAccessor as a2, type ReleaseSessionBeaconOptions as a3, type RequestOptions as a4, type RequestStreamOptions as a5, type RuntimeArtifact as a6, type RuntimeArtifactDownload as a7, type RuntimeArtifactsAccessor as a8, type RuntimeAvailability as a9, type Store as aA, type StoreOptions as aB, type StreamChunkOptions as aC, type StreamDataTransport as aD, StreamFragmentReassembler as aE, type TransportEstablishedNotify as aF, TransportNegotiator as aG, type TransportOfferRequest as aH, type TransportOfferResponse as aI, TransportSession as aJ, type TransportSessionOptions as aK, TransportSessionSignaling as aL, type TransportState as aM, type VideoPlayoutOptions as aN, WT_CONTROL_FRAME_MAX as aO, WT_DATA_STREAM_VERSION as aP, type WatchGenerationTickOptions as aQ, type WtAudioLaneSeam as aR, type WtAudioUplinkSeam as aS, WtControlDecoder as aT, type WtControlMessage as aU, type WtDataEnvelope as aV, type WtDataLaneSink as aW, WtDataStreamParser as aX, WtDataUplinkSender as aY, type WtVideoUplinkSeam as aZ, allocateSession as a_, type RuntimeWakeDetail as aa, type RuntimeWakeGolden as ab, type RuntimeWakeReasonCode as ac, SIGNALING_PROTOCOL_VERSION as ad, STREAM_END as ae, type Session as af, type SessionDiagnostic as ag, type SessionDirectoryRequestOptions as ah, type SessionDocument as ai, SessionDocumentImpl as aj, type SessionEndResult as ak, type SessionFailureKind as al, type SessionNameSource as am, type SessionPhase as an, type SessionPhaseError as ao, type SessionPhaseName as ap, type SessionStartOptions as aq, type SessionStatsOptions as ar, type SessionStatsSample as as, type SessionStatus as at, type SessionStream as au, type SessionText as av, type SfuAttachCredential as aw, type SignalCarrier as ax, type Signaling as ay, type StartSessionOptions as az, type ActivationEvent as b, consumeWtDataStreams as b0, createPresence as b1, createWebsocketDocConnector as b2, decodeStreamEnvelope as b3, deriveYjsServerUrl as b4, derivedLegName as b5, derivedLegRole as b6, encodeStreamEnvelope as b7, encodeStreamFragments as b8, encodeWtControlFrame as b9, isPendingRecording as ba, isRetryableSessionError as bb, mediaRecorderChunkSource as bc, parseDgramHeader as bd, prewake as be, releaseSessionBeacon as bf, streamDataLabel as bg, transportStreamData as bh, watchGenerationTick as bi, writeDgramHeader as bj, type ActivationState as c, type ActivitySignalMode as d, type AllocateSessionOptions as e, type AllocatedSession as f, type App as g, type AppOptions as h, type AttachOptions as i, type AudioPlayoutOptions as j, BACKOFF_MAX_ATTEMPTS as k, BACKOFF_MAX_MS as l, type ChannelMessage as m, ChannelMultiplexer as n, type ChannelName as o, type ChunkReadable as p, DGRAM_HEADER_BYTES as q, DOC_SYNC_WIRE_CONTRACT_VERSION as r, DeferredChannelMultiplexer as s, DeferredDocConnector as t, type DerivedLegRole as u, type DgramHeader as v, type DocConnection as w, type DocConnectionState as x, type DocConnector as y, type DocServerUrlResolver as z };
|