moqtail 0.15.0 → 0.16.0
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 +153 -473
- package/dist/{client-BviQ20Lc.cjs → client-DQ5aGbLR.cjs} +1089 -1074
- package/dist/client-DUzLw_Y8.d.cts +1932 -0
- package/dist/{client-zi0lmuIL.mjs → client-DVi4Nh1J.mjs} +930 -921
- package/dist/client-epHqMdHm.d.mts +1932 -0
- package/dist/client.cjs +121 -4
- package/dist/client.d.cts +23 -1944
- package/dist/client.d.mts +23 -1944
- package/dist/client.mjs +117 -2
- package/dist/emitter-UbeRcbuf.mjs +109 -0
- package/dist/{logger-c2NoQqtx.cjs → emitter-qNJYD3yQ.cjs} +61 -2
- package/dist/index-B-BMK-b6.d.mts +2090 -0
- package/dist/index-BtemTtwe.d.cts +2090 -0
- package/dist/{index-BY6e1obL.d.cts → index-CNn9BgO6.d.mts} +119 -324
- package/dist/index.cjs +38 -34
- package/dist/index.d.cts +20 -4
- package/dist/index.d.mts +20 -4
- package/dist/index.mjs +5 -4
- package/dist/logger-B8IYkljn.d.cts +64 -0
- package/dist/logger-B8IYkljn.d.mts +64 -0
- package/dist/model.cjs +122 -340
- package/dist/model.d.cts +2896 -2
- package/dist/model.d.mts +17 -2
- package/dist/model.mjs +122 -340
- package/dist/player/component.cjs +317 -0
- package/dist/player/component.d.cts +50 -0
- package/dist/player/component.d.mts +50 -0
- package/dist/player/component.mjs +315 -0
- package/dist/player-CJayEzwt.cjs +6750 -0
- package/dist/player-DcctWhyM.mjs +6599 -0
- package/dist/player.cjs +27 -0
- package/dist/player.d.cts +17 -0
- package/dist/player.d.mts +17 -0
- package/dist/player.mjs +1 -0
- package/dist/rolldown-runtime-CmQyd0Gu.cjs +27 -0
- package/dist/util.cjs +9 -10
- package/dist/util.d.cts +20 -13
- package/dist/util.d.mts +20 -13
- package/dist/util.mjs +4 -6
- package/package.json +45 -5
- package/dist/index-BY6e1obL.d.mts +0 -3087
- package/dist/logger-ByDB8lYF.mjs +0 -56
- package/dist/logger-dEoueCj7.d.cts +0 -35
- package/dist/logger-dEoueCj7.d.mts +0 -35
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/model/common/pair.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* @public
|
|
4
3
|
* Represents a key-value pair for MOQT protocol parameters.
|
|
@@ -147,8 +146,6 @@ declare function isVarInt(pair: KeyValuePair): pair is KeyValuePair & {
|
|
|
147
146
|
declare function isBytes(pair: KeyValuePair): pair is KeyValuePair & {
|
|
148
147
|
value: Uint8Array;
|
|
149
148
|
};
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region src/model/common/location.d.ts
|
|
152
149
|
/**
|
|
153
150
|
* @public
|
|
154
151
|
* Represents a position in a MOQT track, consisting of a group and object index.
|
|
@@ -199,8 +196,6 @@ declare class Location {
|
|
|
199
196
|
*/
|
|
200
197
|
compare(other: Location): number;
|
|
201
198
|
}
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region src/model/common/tuple.d.ts
|
|
204
199
|
/**
|
|
205
200
|
* @public
|
|
206
201
|
* Represents a single field in a Tuple, storing a value as a UTF-8 encoded byte array.
|
|
@@ -301,8 +296,6 @@ declare class Tuple {
|
|
|
301
296
|
*/
|
|
302
297
|
equals(other: Tuple): boolean;
|
|
303
298
|
}
|
|
304
|
-
//#endregion
|
|
305
|
-
//#region src/model/common/reason_phrase.d.ts
|
|
306
299
|
/**
|
|
307
300
|
* The maximum allowed length (in bytes) for a ReasonPhrase.
|
|
308
301
|
* @public
|
|
@@ -352,8 +345,6 @@ declare class ReasonPhrase {
|
|
|
352
345
|
*/
|
|
353
346
|
static deserialize(buf: BaseByteBuffer): ReasonPhrase;
|
|
354
347
|
}
|
|
355
|
-
//#endregion
|
|
356
|
-
//#region src/model/data/constant.d.ts
|
|
357
348
|
/**
|
|
358
349
|
* Copyright 2025 The MOQtail Authors
|
|
359
350
|
*
|
|
@@ -656,8 +647,6 @@ declare namespace ObjectStatus {
|
|
|
656
647
|
*/
|
|
657
648
|
function tryFrom(value: number | bigint): ObjectStatus;
|
|
658
649
|
}
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/model/data/datagram.d.ts
|
|
661
650
|
/**
|
|
662
651
|
* Represents a unified OBJECT_DATAGRAM message.
|
|
663
652
|
*
|
|
@@ -693,8 +682,6 @@ declare class Datagram {
|
|
|
693
682
|
serialize(): FrozenByteBuffer;
|
|
694
683
|
static deserialize(buf: BaseByteBuffer): Datagram;
|
|
695
684
|
}
|
|
696
|
-
//#endregion
|
|
697
|
-
//#region src/model/data/fetch_header.d.ts
|
|
698
685
|
declare class FetchHeader {
|
|
699
686
|
readonly type: FetchHeaderType;
|
|
700
687
|
readonly requestId: bigint;
|
|
@@ -702,8 +689,6 @@ declare class FetchHeader {
|
|
|
702
689
|
serialize(): FrozenByteBuffer;
|
|
703
690
|
static deserialize(buf: BaseByteBuffer): FetchHeader;
|
|
704
691
|
}
|
|
705
|
-
//#endregion
|
|
706
|
-
//#region src/model/control/constant.d.ts
|
|
707
692
|
/**
|
|
708
693
|
* Copyright 2025 The MOQtail Authors
|
|
709
694
|
*
|
|
@@ -728,52 +713,29 @@ declare const SUPPORTED_VERSIONS: string[];
|
|
|
728
713
|
* Control message types.
|
|
729
714
|
*/
|
|
730
715
|
declare enum ControlMessageType {
|
|
731
|
-
ReservedSetupV00 = 1,
|
|
732
|
-
// RESERVED; rejected by tryFrom
|
|
733
|
-
|
|
734
|
-
// RESERVED; rejected by tryFrom
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
//
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
// Request, First
|
|
747
|
-
|
|
748
|
-
// Request
|
|
749
|
-
|
|
750
|
-
// Request
|
|
751
|
-
|
|
752
|
-
// Request
|
|
753
|
-
|
|
754
|
-
// Request
|
|
755
|
-
Fetch = 22,
|
|
756
|
-
// Request, First
|
|
757
|
-
FetchOk = 24,
|
|
758
|
-
// Request
|
|
759
|
-
TrackStatus = 13,
|
|
760
|
-
// Request, First
|
|
761
|
-
PublishNamespace = 6,
|
|
762
|
-
// Request, First
|
|
763
|
-
RequestOk = 7,
|
|
764
|
-
// Request
|
|
765
|
-
Namespace = 8,
|
|
766
|
-
// Request
|
|
767
|
-
NamespaceDone = 14,
|
|
768
|
-
// Request
|
|
769
|
-
SubscribeNamespace = 80,
|
|
770
|
-
// Request, First
|
|
771
|
-
SubscribeTracks = 81,
|
|
772
|
-
// Request, First
|
|
773
|
-
Publish = 29,
|
|
774
|
-
// Request, First
|
|
775
|
-
PublishOk = 30,
|
|
776
|
-
// Request; an alias of RequestOk (§10.5), not its own body
|
|
716
|
+
ReservedSetupV00 = 1, // RESERVED; rejected by tryFrom
|
|
717
|
+
ReservedClientSetupV10 = 64, // RESERVED; rejected by tryFrom
|
|
718
|
+
ReservedServerSetupV10 = 65, // RESERVED; rejected by tryFrom
|
|
719
|
+
ReservedClientSetupV16 = 32, // RESERVED; rejected by tryFrom
|
|
720
|
+
ReservedServerSetupV16 = 33, // RESERVED; rejected by tryFrom
|
|
721
|
+
Setup = 12032, // Control
|
|
722
|
+
GoAway = 16, // Control, Request
|
|
723
|
+
Subscribe = 3, // Request, First
|
|
724
|
+
SubscribeOk = 4, // Request
|
|
725
|
+
RequestError = 5, // Request
|
|
726
|
+
RequestUpdate = 2, // Request
|
|
727
|
+
PublishDone = 11, // Request
|
|
728
|
+
Fetch = 22, // Request, First
|
|
729
|
+
FetchOk = 24, // Request
|
|
730
|
+
TrackStatus = 13, // Request, First
|
|
731
|
+
PublishNamespace = 6, // Request, First
|
|
732
|
+
RequestOk = 7, // Request
|
|
733
|
+
Namespace = 8, // Request
|
|
734
|
+
NamespaceDone = 14, // Request
|
|
735
|
+
SubscribeNamespace = 80, // Request, First
|
|
736
|
+
SubscribeTracks = 81, // Request, First
|
|
737
|
+
Publish = 29, // Request, First
|
|
738
|
+
PublishOk = 30, // Request; an alias of RequestOk (§10.5), not its own body
|
|
777
739
|
PublishSkipped = 15
|
|
778
740
|
}
|
|
779
741
|
/**
|
|
@@ -943,8 +905,6 @@ declare namespace RequestErrorCode {
|
|
|
943
905
|
*/
|
|
944
906
|
function fromWire(v: bigint): RequestErrorCode;
|
|
945
907
|
}
|
|
946
|
-
//#endregion
|
|
947
|
-
//#region src/model/data/fetch_object.d.ts
|
|
948
908
|
/**
|
|
949
909
|
* The prior Object a Fetch Object is encoded against: each one is written as
|
|
950
910
|
* differences from it.
|
|
@@ -1009,8 +969,6 @@ declare class FetchObject {
|
|
|
1009
969
|
serialize(prev?: FetchObjectContext, groupOrder?: GroupOrder): FrozenByteBuffer;
|
|
1010
970
|
static deserialize(buf: BaseByteBuffer, prev?: FetchObjectContext, groupOrder?: GroupOrder): FetchObject;
|
|
1011
971
|
}
|
|
1012
|
-
//#endregion
|
|
1013
|
-
//#region src/model/data/full_track_name.d.ts
|
|
1014
972
|
declare const MAX_NAMESPACE_TUPLE_COUNT = 32;
|
|
1015
973
|
declare const MAX_FULL_TRACK_NAME_LENGTH = 4096;
|
|
1016
974
|
/**
|
|
@@ -1074,8 +1032,6 @@ declare class FullTrackName {
|
|
|
1074
1032
|
*/
|
|
1075
1033
|
static deserialize(buf: BaseByteBuffer): FullTrackName;
|
|
1076
1034
|
}
|
|
1077
|
-
//#endregion
|
|
1078
|
-
//#region src/model/data/subgroup_object.d.ts
|
|
1079
1035
|
declare class SubgroupObject {
|
|
1080
1036
|
readonly properties: KeyValuePair[] | null;
|
|
1081
1037
|
readonly objectStatus: ObjectStatus | null;
|
|
@@ -1087,8 +1043,6 @@ declare class SubgroupObject {
|
|
|
1087
1043
|
serialize(previousObjectId: bigint | undefined): FrozenByteBuffer;
|
|
1088
1044
|
static deserialize(buf: BaseByteBuffer, hasProperties: boolean, previousObjectId: bigint | undefined): SubgroupObject;
|
|
1089
1045
|
}
|
|
1090
|
-
//#endregion
|
|
1091
|
-
//#region src/model/data/object.d.ts
|
|
1092
1046
|
declare class MoqtObject {
|
|
1093
1047
|
readonly fullTrackName: FullTrackName;
|
|
1094
1048
|
readonly publisherPriority: number;
|
|
@@ -1136,8 +1090,6 @@ declare class MoqtObject {
|
|
|
1136
1090
|
tryIntoFetchObject(): FetchObject;
|
|
1137
1091
|
tryIntoSubgroupObject(): SubgroupObject;
|
|
1138
1092
|
}
|
|
1139
|
-
//#endregion
|
|
1140
|
-
//#region src/model/data/subgroup_header.d.ts
|
|
1141
1093
|
declare class SubgroupHeader {
|
|
1142
1094
|
readonly type: SubgroupHeaderType;
|
|
1143
1095
|
readonly publisherPriority: number | undefined;
|
|
@@ -1160,8 +1112,6 @@ declare class SubgroupHeader {
|
|
|
1160
1112
|
*/
|
|
1161
1113
|
resolveSubgroupId(firstObjectId: bigint): void;
|
|
1162
1114
|
}
|
|
1163
|
-
//#endregion
|
|
1164
|
-
//#region src/model/data/request_id.d.ts
|
|
1165
1115
|
/**
|
|
1166
1116
|
* A bidirectional map between requestId (bigint) and full track names.
|
|
1167
1117
|
* Used to efficiently look up either by requestId or by name, enforcing uniqueness.
|
|
@@ -1231,8 +1181,6 @@ declare class RequestIdMap {
|
|
|
1231
1181
|
*/
|
|
1232
1182
|
containsName(name: FullTrackName): boolean;
|
|
1233
1183
|
}
|
|
1234
|
-
//#endregion
|
|
1235
|
-
//#region src/model/data/header.d.ts
|
|
1236
1184
|
type Header = FetchHeader | SubgroupHeader;
|
|
1237
1185
|
declare namespace Header {
|
|
1238
1186
|
function newFetch(...args: ConstructorParameters<typeof FetchHeader>): Header;
|
|
@@ -1242,8 +1190,6 @@ declare namespace Header {
|
|
|
1242
1190
|
function serialize(header: Header): FrozenByteBuffer;
|
|
1243
1191
|
function deserialize(buf: BaseByteBuffer): Header;
|
|
1244
1192
|
}
|
|
1245
|
-
//#endregion
|
|
1246
|
-
//#region src/model/common/byte_buffer.d.ts
|
|
1247
1193
|
declare abstract class BaseByteBuffer {
|
|
1248
1194
|
protected buf: Uint8Array;
|
|
1249
1195
|
protected view: DataView;
|
|
@@ -1293,9 +1239,9 @@ declare class ByteBuffer extends BaseByteBuffer {
|
|
|
1293
1239
|
putU8(v: number): void;
|
|
1294
1240
|
putU16(v: number): void;
|
|
1295
1241
|
/**
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1242
|
+
/**
|
|
1243
|
+
* Encode a MOQT varint using the minimal length.
|
|
1244
|
+
*/
|
|
1299
1245
|
putVI(v: bigint | number): void;
|
|
1300
1246
|
putBytes(src: Uint8Array): void;
|
|
1301
1247
|
putLengthPrefixedBytes(src: Uint8Array): void;
|
|
@@ -1311,8 +1257,6 @@ declare class FrozenByteBuffer extends BaseByteBuffer {
|
|
|
1311
1257
|
constructor(buf: Uint8Array);
|
|
1312
1258
|
get length(): number;
|
|
1313
1259
|
}
|
|
1314
|
-
//#endregion
|
|
1315
|
-
//#region src/model/control/publish_skipped.d.ts
|
|
1316
1260
|
/**
|
|
1317
1261
|
* @public
|
|
1318
1262
|
* PUBLISH_SKIPPED (0xF): a publisher tells the peer it cannot send the PUBLISH that
|
|
@@ -1329,8 +1273,6 @@ declare class PublishSkipped {
|
|
|
1329
1273
|
serialize(): FrozenByteBuffer;
|
|
1330
1274
|
static parsePayload(buf: BaseByteBuffer): PublishSkipped;
|
|
1331
1275
|
}
|
|
1332
|
-
//#endregion
|
|
1333
|
-
//#region src/model/parameter/constant.d.ts
|
|
1334
1276
|
/**
|
|
1335
1277
|
* Copyright 2026 The MOQtail Authors
|
|
1336
1278
|
*
|
|
@@ -1405,13 +1347,9 @@ declare enum TokenAliasType {
|
|
|
1405
1347
|
UseValue = 3
|
|
1406
1348
|
}
|
|
1407
1349
|
declare function tokenAliasTypeFromNumber(value: number): TokenAliasType;
|
|
1408
|
-
//#endregion
|
|
1409
|
-
//#region src/model/parameter/parameter.d.ts
|
|
1410
1350
|
interface Parameter {
|
|
1411
1351
|
toKeyValuePair(): KeyValuePair;
|
|
1412
1352
|
}
|
|
1413
|
-
//#endregion
|
|
1414
|
-
//#region src/model/parameter/common/authorization_token.d.ts
|
|
1415
1353
|
type AuthTokenVariant = {
|
|
1416
1354
|
aliasType: TokenAliasType.Delete;
|
|
1417
1355
|
tokenAlias: bigint;
|
|
@@ -1439,8 +1377,6 @@ declare class AuthorizationToken implements Parameter {
|
|
|
1439
1377
|
toKeyValuePair(): KeyValuePair;
|
|
1440
1378
|
static fromKeyValuePair(pair: KeyValuePair): AuthorizationToken | undefined;
|
|
1441
1379
|
}
|
|
1442
|
-
//#endregion
|
|
1443
|
-
//#region src/model/parameter/message/fill_timeout.d.ts
|
|
1444
1380
|
/**
|
|
1445
1381
|
* Duration in milliseconds a relay SHOULD wait for objects it does not yet hold before
|
|
1446
1382
|
* ending the FETCH. FETCH only (§10.2.5).
|
|
@@ -1452,8 +1388,6 @@ declare class FillTimeout implements Parameter {
|
|
|
1452
1388
|
toKeyValuePair(): KeyValuePair;
|
|
1453
1389
|
static fromKeyValuePair(pair: KeyValuePair): FillTimeout | undefined;
|
|
1454
1390
|
}
|
|
1455
|
-
//#endregion
|
|
1456
|
-
//#region src/model/parameter/message/object_delivery_timeout.d.ts
|
|
1457
1391
|
/**
|
|
1458
1392
|
* Duration in milliseconds the relay SHOULD continue to attempt forwarding an Object.
|
|
1459
1393
|
* A value of 0 means no timeout is set (§8).
|
|
@@ -1467,8 +1401,6 @@ declare class ObjectDeliveryTimeout implements Parameter {
|
|
|
1467
1401
|
toKeyValuePair(): KeyValuePair;
|
|
1468
1402
|
static fromKeyValuePair(pair: KeyValuePair): ObjectDeliveryTimeout | undefined;
|
|
1469
1403
|
}
|
|
1470
|
-
//#endregion
|
|
1471
|
-
//#region src/model/parameter/message/rendezvous_timeout.d.ts
|
|
1472
1404
|
/**
|
|
1473
1405
|
* Duration in milliseconds a relay SHOULD wait for a publisher of a track that has none
|
|
1474
1406
|
* before answering the SUBSCRIBE. SUBSCRIBE only (§10.2.6).
|
|
@@ -1480,8 +1412,6 @@ declare class RendezvousTimeout implements Parameter {
|
|
|
1480
1412
|
toKeyValuePair(): KeyValuePair;
|
|
1481
1413
|
static fromKeyValuePair(pair: KeyValuePair): RendezvousTimeout | undefined;
|
|
1482
1414
|
}
|
|
1483
|
-
//#endregion
|
|
1484
|
-
//#region src/model/parameter/message/subgroup_delivery_timeout.d.ts
|
|
1485
1415
|
/**
|
|
1486
1416
|
* Duration in milliseconds the relay SHOULD continue to attempt forwarding a Subgroup.
|
|
1487
1417
|
* A value of 0 means no timeout is set (§8).
|
|
@@ -1493,8 +1423,6 @@ declare class SubgroupDeliveryTimeout implements Parameter {
|
|
|
1493
1423
|
toKeyValuePair(): KeyValuePair;
|
|
1494
1424
|
static fromKeyValuePair(pair: KeyValuePair): SubgroupDeliveryTimeout | undefined;
|
|
1495
1425
|
}
|
|
1496
|
-
//#endregion
|
|
1497
|
-
//#region src/model/parameter/message/expires.d.ts
|
|
1498
1426
|
/**
|
|
1499
1427
|
* Time in milliseconds after which the sender will terminate the subscription.
|
|
1500
1428
|
* A value of 0 means the subscription does not expire or expires at an unknown time.
|
|
@@ -1507,8 +1435,6 @@ declare class Expires implements Parameter {
|
|
|
1507
1435
|
toKeyValuePair(): KeyValuePair;
|
|
1508
1436
|
static fromKeyValuePair(pair: KeyValuePair): Expires | undefined;
|
|
1509
1437
|
}
|
|
1510
|
-
//#endregion
|
|
1511
|
-
//#region src/model/parameter/message/forward.d.ts
|
|
1512
1438
|
/**
|
|
1513
1439
|
* Forwarding state for affected subscriptions.
|
|
1514
1440
|
* Allowed wire values: 0 (don't forward) or 1 (forward).
|
|
@@ -1522,8 +1448,6 @@ declare class Forward implements Parameter {
|
|
|
1522
1448
|
toKeyValuePair(): KeyValuePair;
|
|
1523
1449
|
static fromKeyValuePair(pair: KeyValuePair): Forward | undefined;
|
|
1524
1450
|
}
|
|
1525
|
-
//#endregion
|
|
1526
|
-
//#region src/model/parameter/message/include_properties.d.ts
|
|
1527
1451
|
/**
|
|
1528
1452
|
* Whether the response carries Track Properties: the OK answering a SUBSCRIBE,
|
|
1529
1453
|
* TRACK_STATUS or FETCH, or each PUBLISH a SUBSCRIBE_TRACKS brings. With 0 the
|
|
@@ -1538,8 +1462,6 @@ declare class IncludeProperties implements Parameter {
|
|
|
1538
1462
|
toKeyValuePair(): KeyValuePair;
|
|
1539
1463
|
static fromKeyValuePair(pair: KeyValuePair): IncludeProperties | undefined;
|
|
1540
1464
|
}
|
|
1541
|
-
//#endregion
|
|
1542
|
-
//#region src/model/parameter/message/group_order_param.d.ts
|
|
1543
1465
|
/**
|
|
1544
1466
|
* How to prioritize Objects from different groups (Ascending=0x1 or Descending=0x2).
|
|
1545
1467
|
* Values outside this range are a PROTOCOL_VIOLATION (Original/0x0 is not a valid wire value).
|
|
@@ -1553,8 +1475,6 @@ declare class GroupOrderParam implements Parameter {
|
|
|
1553
1475
|
toKeyValuePair(): KeyValuePair;
|
|
1554
1476
|
static fromKeyValuePair(pair: KeyValuePair): GroupOrderParam | undefined;
|
|
1555
1477
|
}
|
|
1556
|
-
//#endregion
|
|
1557
|
-
//#region src/model/common/grease.d.ts
|
|
1558
1478
|
/**
|
|
1559
1479
|
* Copyright 2026 The MOQtail Authors
|
|
1560
1480
|
*
|
|
@@ -1592,8 +1512,6 @@ declare function isGrease(value: bigint | number): boolean;
|
|
|
1592
1512
|
* varint can carry (the pattern is capped at `0x3fffffffffffffde`).
|
|
1593
1513
|
*/
|
|
1594
1514
|
declare function greaseValue(n: bigint | number): bigint | undefined;
|
|
1595
|
-
//#endregion
|
|
1596
|
-
//#region src/model/common/moqt_url.d.ts
|
|
1597
1515
|
/**
|
|
1598
1516
|
* Copyright 2026 The MOQtail Authors
|
|
1599
1517
|
*
|
|
@@ -1656,8 +1574,6 @@ declare function resolveTransportUrl(url: string | URL): {
|
|
|
1656
1574
|
transportUrl: string;
|
|
1657
1575
|
moqtUrl: MoqtUrl | undefined;
|
|
1658
1576
|
};
|
|
1659
|
-
//#endregion
|
|
1660
|
-
//#region src/model/common/redirect.d.ts
|
|
1661
1577
|
/**
|
|
1662
1578
|
* @public
|
|
1663
1579
|
* Directs the peer to retry a request at a different URI and/or for a different Full
|
|
@@ -1670,18 +1586,16 @@ declare class Redirect {
|
|
|
1670
1586
|
readonly trackName: Uint8Array;
|
|
1671
1587
|
/** Undefined means reuse the current session's URI. */
|
|
1672
1588
|
readonly connectUri: string | undefined;
|
|
1673
|
-
constructor(connectUri: string | undefined,
|
|
1674
|
-
|
|
1675
|
-
trackNamespace: Tuple,
|
|
1676
|
-
|
|
1589
|
+
constructor(connectUri: string | undefined,
|
|
1590
|
+
/** Empty, together with an empty {@link Redirect.trackName}, means reuse the original request's track. */
|
|
1591
|
+
trackNamespace: Tuple,
|
|
1592
|
+
/** Empty for namespace-scoped requests, which have no track name to redirect. */
|
|
1677
1593
|
trackName: Uint8Array);
|
|
1678
1594
|
/** True when the redirect names no track of its own, so the original request's track carries over. */
|
|
1679
1595
|
get keepsOriginalTrack(): boolean;
|
|
1680
1596
|
serialize(): FrozenByteBuffer;
|
|
1681
1597
|
static deserialize(buf: BaseByteBuffer): Redirect;
|
|
1682
1598
|
}
|
|
1683
|
-
//#endregion
|
|
1684
|
-
//#region src/model/parameter/message/largest_object.d.ts
|
|
1685
1599
|
/**
|
|
1686
1600
|
* The largest Location in the Track observed by the sending endpoint.
|
|
1687
1601
|
* If omitted from a message, the sending endpoint has not published or
|
|
@@ -1694,8 +1608,6 @@ declare class LargestObject implements Parameter {
|
|
|
1694
1608
|
toKeyValuePair(): KeyValuePair;
|
|
1695
1609
|
static fromKeyValuePair(pair: KeyValuePair): LargestObject | undefined;
|
|
1696
1610
|
}
|
|
1697
|
-
//#endregion
|
|
1698
|
-
//#region src/model/parameter/message/new_group_request.d.ts
|
|
1699
1611
|
/**
|
|
1700
1612
|
* The largest Group ID in the Track known by the subscriber, plus 1.
|
|
1701
1613
|
* A value of 0 indicates the subscriber has no Group information for the Track.
|
|
@@ -1708,8 +1620,6 @@ declare class NewGroupRequest implements Parameter {
|
|
|
1708
1620
|
toKeyValuePair(): KeyValuePair;
|
|
1709
1621
|
static fromKeyValuePair(pair: KeyValuePair): NewGroupRequest | undefined;
|
|
1710
1622
|
}
|
|
1711
|
-
//#endregion
|
|
1712
|
-
//#region src/model/parameter/message/switching_set_assignment.d.ts
|
|
1713
1623
|
/**
|
|
1714
1624
|
* Assigns a subscription to an SSTS (sender-side track switching) switching
|
|
1715
1625
|
* set. Carried on SUBSCRIBE and on the PUBLISH_OK of a pushed track.
|
|
@@ -1731,18 +1641,16 @@ declare class SwitchingSetAssignment implements Parameter {
|
|
|
1731
1641
|
/** Degradation priority; lower values are protected first. Default 0. */
|
|
1732
1642
|
readonly setRank: number;
|
|
1733
1643
|
static readonly TYPE = MessageParameterType.SwitchingSetAssignment;
|
|
1734
|
-
constructor(switchingSetId: bigint, algorithmId: bigint, throughputThresholdKbps: bigint,
|
|
1735
|
-
|
|
1736
|
-
setThroughputWeight: bigint,
|
|
1737
|
-
|
|
1738
|
-
activateSwitching: bigint,
|
|
1739
|
-
|
|
1644
|
+
constructor(switchingSetId: bigint, algorithmId: bigint, throughputThresholdKbps: bigint,
|
|
1645
|
+
/** Relative bandwidth weight among same-rank sets, 1 through 10. */
|
|
1646
|
+
setThroughputWeight: bigint,
|
|
1647
|
+
/** 0 pauses SSTS for the set; switching activates once the number of assigned tracks reaches this value. */
|
|
1648
|
+
activateSwitching: bigint,
|
|
1649
|
+
/** Degradation priority; lower values are protected first. Default 0. */
|
|
1740
1650
|
setRank?: number);
|
|
1741
1651
|
toKeyValuePair(): KeyValuePair;
|
|
1742
1652
|
static fromKeyValuePair(pair: KeyValuePair): SwitchingSetAssignment | undefined;
|
|
1743
1653
|
}
|
|
1744
|
-
//#endregion
|
|
1745
|
-
//#region src/model/parameter/message/subscriber_priority.d.ts
|
|
1746
1654
|
/**
|
|
1747
1655
|
* Priority of a subscription relative to others in the same session.
|
|
1748
1656
|
* Lower numbers have higher priority. Range: 0-255.
|
|
@@ -1756,8 +1664,6 @@ declare class SubscriberPriority implements Parameter {
|
|
|
1756
1664
|
toKeyValuePair(): KeyValuePair;
|
|
1757
1665
|
static fromKeyValuePair(pair: KeyValuePair): SubscriberPriority | undefined;
|
|
1758
1666
|
}
|
|
1759
|
-
//#endregion
|
|
1760
|
-
//#region src/model/parameter/message/location_filter.d.ts
|
|
1761
1667
|
/**
|
|
1762
1668
|
* The range of Locations a subscription or fetch selects. The Location Filter
|
|
1763
1669
|
* Type decides which fields are set, and the value is not length-prefixed.
|
|
@@ -1821,8 +1727,6 @@ declare class LocationFilter implements Parameter {
|
|
|
1821
1727
|
toKeyValuePair(): KeyValuePair;
|
|
1822
1728
|
static fromKeyValuePair(pair: KeyValuePair): LocationFilter | undefined;
|
|
1823
1729
|
}
|
|
1824
|
-
//#endregion
|
|
1825
|
-
//#region src/model/parameter/message/switch_from.d.ts
|
|
1826
1730
|
/**
|
|
1827
1731
|
* Identifies the subscription being replaced by a switch request.
|
|
1828
1732
|
* The value is two varints followed by a flags byte: bit 7 (MSB) is Publish Done;
|
|
@@ -1837,8 +1741,6 @@ declare class SwitchFrom implements Parameter {
|
|
|
1837
1741
|
toKeyValuePair(): KeyValuePair;
|
|
1838
1742
|
static fromKeyValuePair(pair: KeyValuePair): SwitchFrom | undefined;
|
|
1839
1743
|
}
|
|
1840
|
-
//#endregion
|
|
1841
|
-
//#region src/model/parameter/message/fill_parameters.d.ts
|
|
1842
1744
|
/**
|
|
1843
1745
|
* Requests a fill fetch stream, and overrides for it. An omitted parameter keeps
|
|
1844
1746
|
* the value it has for the live subscription; an omitted LOCATION_FILTER fills
|
|
@@ -1851,8 +1753,6 @@ declare class FillParameters implements Parameter {
|
|
|
1851
1753
|
toKeyValuePair(): KeyValuePair;
|
|
1852
1754
|
static fromKeyValuePair(pair: KeyValuePair): FillParameters | undefined;
|
|
1853
1755
|
}
|
|
1854
|
-
//#endregion
|
|
1855
|
-
//#region src/model/error/error.d.ts
|
|
1856
1756
|
/**
|
|
1857
1757
|
* Copyright 2025 The MOQtail Authors
|
|
1858
1758
|
*
|
|
@@ -1988,8 +1888,6 @@ declare class TerminationError extends MOQtailError {
|
|
|
1988
1888
|
terminationCode: number;
|
|
1989
1889
|
constructor(context: string, terminationCode: number);
|
|
1990
1890
|
}
|
|
1991
|
-
//#endregion
|
|
1992
|
-
//#region src/model/parameter/message/range_filter.d.ts
|
|
1993
1891
|
/**
|
|
1994
1892
|
* What a Range Filter selects on. Each kind is its own parameter type, and the two
|
|
1995
1893
|
* property kinds also name the Property they read.
|
|
@@ -2078,8 +1976,6 @@ declare class RangeFilter implements Parameter {
|
|
|
2078
1976
|
*/
|
|
2079
1977
|
static fromKeyValuePair(pair: KeyValuePair): RangeFilter | undefined;
|
|
2080
1978
|
}
|
|
2081
|
-
//#endregion
|
|
2082
|
-
//#region src/model/parameter/message_parameter.d.ts
|
|
2083
1979
|
type MessageParameter = ObjectDeliveryTimeout | SubgroupDeliveryTimeout | RendezvousTimeout | FillTimeout | AuthorizationToken | Expires | LargestObject | Forward | SubscriberPriority | GroupOrderParam | LocationFilter | NewGroupRequest | SwitchFrom | FillParameters | RangeFilter | IncludeProperties | SwitchingSetAssignment;
|
|
2084
1980
|
declare namespace MessageParameter {
|
|
2085
1981
|
/**
|
|
@@ -2177,8 +2073,6 @@ declare function deserializeMessageParameterKvps(buf: BaseByteBuffer, count: num
|
|
|
2177
2073
|
* Filter replaces its kind with nothing.
|
|
2178
2074
|
*/
|
|
2179
2075
|
declare function applyMessageParameterUpdate(current: MessageParameter[], updates: MessageParameter[]): void;
|
|
2180
|
-
//#endregion
|
|
2181
|
-
//#region src/model/control/publish_namespace.d.ts
|
|
2182
2076
|
/**
|
|
2183
2077
|
* Represents a protocol PublishNamespace message, used to announce a track and its parameters.
|
|
2184
2078
|
*
|
|
@@ -2222,8 +2116,6 @@ declare class PublishNamespace {
|
|
|
2222
2116
|
*/
|
|
2223
2117
|
static parsePayload(buf: BaseByteBuffer): PublishNamespace;
|
|
2224
2118
|
}
|
|
2225
|
-
//#endregion
|
|
2226
|
-
//#region src/model/control/namespace.d.ts
|
|
2227
2119
|
/**
|
|
2228
2120
|
* @public
|
|
2229
2121
|
* Represents a NAMESPACE message sent on a SUBSCRIBE_NAMESPACE bi-stream.
|
|
@@ -2236,8 +2128,6 @@ declare class Namespace {
|
|
|
2236
2128
|
serialize(): FrozenByteBuffer;
|
|
2237
2129
|
static parsePayload(buf: BaseByteBuffer): Namespace;
|
|
2238
2130
|
}
|
|
2239
|
-
//#endregion
|
|
2240
|
-
//#region src/model/control/namespace_done.d.ts
|
|
2241
2131
|
/**
|
|
2242
2132
|
* @public
|
|
2243
2133
|
* Represents a NAMESPACE_DONE message sent on a SUBSCRIBE_NAMESPACE bi-stream.
|
|
@@ -2250,8 +2140,6 @@ declare class NamespaceDone {
|
|
|
2250
2140
|
serialize(): FrozenByteBuffer;
|
|
2251
2141
|
static parsePayload(buf: BaseByteBuffer): NamespaceDone;
|
|
2252
2142
|
}
|
|
2253
|
-
//#endregion
|
|
2254
|
-
//#region src/model/control/setup.d.ts
|
|
2255
2143
|
/**
|
|
2256
2144
|
* The first message each endpoint sends on its control stream.
|
|
2257
2145
|
*
|
|
@@ -2270,8 +2158,6 @@ declare class Setup {
|
|
|
2270
2158
|
serialize(): FrozenByteBuffer;
|
|
2271
2159
|
static parsePayload(buf: BaseByteBuffer): Setup;
|
|
2272
2160
|
}
|
|
2273
|
-
//#endregion
|
|
2274
|
-
//#region src/model/control/fetch.d.ts
|
|
2275
2161
|
declare class Fetch {
|
|
2276
2162
|
readonly requestId: bigint;
|
|
2277
2163
|
readonly fullTrackName: FullTrackName;
|
|
@@ -2286,8 +2172,6 @@ declare class Fetch {
|
|
|
2286
2172
|
serialize(): FrozenByteBuffer;
|
|
2287
2173
|
static parsePayload(buf: BaseByteBuffer): Fetch;
|
|
2288
2174
|
}
|
|
2289
|
-
//#endregion
|
|
2290
|
-
//#region src/model/property/constant.d.ts
|
|
2291
2175
|
/**
|
|
2292
2176
|
* Copyright 2025 The MOQtail Authors
|
|
2293
2177
|
*
|
|
@@ -2338,26 +2222,32 @@ interface PropertyRange {
|
|
|
2338
2222
|
*
|
|
2339
2223
|
*/
|
|
2340
2224
|
declare const PropertyRanges: {
|
|
2341
|
-
/** Standards Action or IESG Approval (1-byte encoding). */
|
|
2225
|
+
/** Standards Action or IESG Approval (1-byte encoding). */
|
|
2226
|
+
readonly StandardsAction: {
|
|
2342
2227
|
readonly from: 0n;
|
|
2343
2228
|
readonly to: 119n;
|
|
2344
|
-
};
|
|
2229
|
+
};
|
|
2230
|
+
/** Application-specific use, no registration permitted (1-byte encoding). */
|
|
2345
2231
|
readonly AppSpecific1Byte: {
|
|
2346
2232
|
readonly from: 120n;
|
|
2347
2233
|
readonly to: 127n;
|
|
2348
|
-
};
|
|
2234
|
+
};
|
|
2235
|
+
/** Specification Required (2-byte encoding). */
|
|
2349
2236
|
readonly SpecRequired: {
|
|
2350
2237
|
readonly from: 128n;
|
|
2351
2238
|
readonly to: 14335n;
|
|
2352
|
-
};
|
|
2239
|
+
};
|
|
2240
|
+
/** Application-specific use, no registration permitted (2-byte encoding). */
|
|
2353
2241
|
readonly AppSpecific2Byte: {
|
|
2354
2242
|
readonly from: 14336n;
|
|
2355
2243
|
readonly to: 16383n;
|
|
2356
|
-
};
|
|
2244
|
+
};
|
|
2245
|
+
/** Mandatory Track Properties; Track scope only. */
|
|
2357
2246
|
readonly MandatoryTrack: {
|
|
2358
2247
|
readonly from: 16384n;
|
|
2359
2248
|
readonly to: 32767n;
|
|
2360
|
-
};
|
|
2249
|
+
};
|
|
2250
|
+
/** First Come First Served begins here (open-ended). */
|
|
2361
2251
|
readonly Fcfs: {
|
|
2362
2252
|
readonly from: 32768n;
|
|
2363
2253
|
};
|
|
@@ -2368,8 +2258,6 @@ declare const PropertyRanges: {
|
|
|
2368
2258
|
* range), for which no IANA registration is permitted.
|
|
2369
2259
|
*/
|
|
2370
2260
|
declare function isApplicationSpecificProperty(typeValue: bigint | number): boolean;
|
|
2371
|
-
//#endregion
|
|
2372
|
-
//#region src/model/property/track_property.d.ts
|
|
2373
2261
|
/** A timeout of 0 means no timeout is set (§8), on this side as on the parameter side. */
|
|
2374
2262
|
declare class ObjectDeliveryTimeoutProperty {
|
|
2375
2263
|
readonly timeoutMs: bigint;
|
|
@@ -2440,8 +2328,6 @@ declare namespace TrackProperty {
|
|
|
2440
2328
|
function isDynamicGroups(ext: TrackProperty): ext is DynamicGroupsProperty;
|
|
2441
2329
|
function isUnknown(ext: TrackProperty): ext is UnknownTrackProperty;
|
|
2442
2330
|
}
|
|
2443
|
-
//#endregion
|
|
2444
|
-
//#region src/model/control/fetch_ok.d.ts
|
|
2445
2331
|
/**
|
|
2446
2332
|
* FETCH_OK (0x18) keeps a body of its own rather than folding into REQUEST_OK, but like
|
|
2447
2333
|
* every other response it carries no Request ID: the request stream it arrives on
|
|
@@ -2453,15 +2339,13 @@ declare class FetchOk {
|
|
|
2453
2339
|
readonly endLocation: Location;
|
|
2454
2340
|
readonly parameters: MessageParameter[];
|
|
2455
2341
|
readonly trackProperties: TrackProperty[];
|
|
2456
|
-
constructor(endOfTrack: boolean,
|
|
2457
|
-
|
|
2342
|
+
constructor(endOfTrack: boolean,
|
|
2343
|
+
/** The last Location the response covers, inclusive. Object 2^64-1 is all of that group. */
|
|
2458
2344
|
endLocation: Location, parameters: MessageParameter[], trackProperties?: TrackProperty[]);
|
|
2459
2345
|
getType(): ControlMessageType;
|
|
2460
2346
|
serialize(): FrozenByteBuffer;
|
|
2461
2347
|
static parsePayload(buf: BaseByteBuffer): FetchOk;
|
|
2462
2348
|
}
|
|
2463
|
-
//#endregion
|
|
2464
|
-
//#region src/model/control/goaway.d.ts
|
|
2465
2349
|
/** §10.4: a longer New Session URI is a protocol violation. */
|
|
2466
2350
|
declare const MAX_NEW_SESSION_URI_LENGTH = 8192;
|
|
2467
2351
|
/**
|
|
@@ -2481,8 +2365,6 @@ declare class GoAway {
|
|
|
2481
2365
|
serialize(): FrozenByteBuffer;
|
|
2482
2366
|
static parsePayload(buf: BaseByteBuffer): GoAway;
|
|
2483
2367
|
}
|
|
2484
|
-
//#endregion
|
|
2485
|
-
//#region src/model/control/subscribe.d.ts
|
|
2486
2368
|
declare class Subscribe {
|
|
2487
2369
|
requestId: bigint;
|
|
2488
2370
|
fullTrackName: FullTrackName;
|
|
@@ -2492,8 +2374,6 @@ declare class Subscribe {
|
|
|
2492
2374
|
serialize(): FrozenByteBuffer;
|
|
2493
2375
|
static parsePayload(buf: BaseByteBuffer): Subscribe;
|
|
2494
2376
|
}
|
|
2495
|
-
//#endregion
|
|
2496
|
-
//#region src/model/control/publish_done.d.ts
|
|
2497
2377
|
declare class PublishDone {
|
|
2498
2378
|
readonly statusCode: PublishDoneStatusCode;
|
|
2499
2379
|
readonly streamCount: bigint;
|
|
@@ -2509,8 +2389,6 @@ declare class PublishDone {
|
|
|
2509
2389
|
serialize(): FrozenByteBuffer;
|
|
2510
2390
|
static parsePayload(buf: BaseByteBuffer): PublishDone;
|
|
2511
2391
|
}
|
|
2512
|
-
//#endregion
|
|
2513
|
-
//#region src/model/control/publish.d.ts
|
|
2514
2392
|
declare class Publish {
|
|
2515
2393
|
readonly requestId: bigint;
|
|
2516
2394
|
readonly fullTrackName: FullTrackName;
|
|
@@ -2522,8 +2400,6 @@ declare class Publish {
|
|
|
2522
2400
|
serialize(): FrozenByteBuffer;
|
|
2523
2401
|
static parsePayload(buf: BaseByteBuffer): Publish;
|
|
2524
2402
|
}
|
|
2525
|
-
//#endregion
|
|
2526
|
-
//#region src/model/control/subscribe_ok.d.ts
|
|
2527
2403
|
/**
|
|
2528
2404
|
* SUBSCRIBE_OK (0x4) keeps a body of its own rather than folding into REQUEST_OK, but
|
|
2529
2405
|
* like every other response it carries no Request ID: the request stream it arrives on
|
|
@@ -2539,8 +2415,6 @@ declare class SubscribeOk {
|
|
|
2539
2415
|
serialize(): FrozenByteBuffer;
|
|
2540
2416
|
static parsePayload(buf: BaseByteBuffer): SubscribeOk;
|
|
2541
2417
|
}
|
|
2542
|
-
//#endregion
|
|
2543
|
-
//#region src/model/control/request_update.d.ts
|
|
2544
2418
|
declare class RequestUpdate {
|
|
2545
2419
|
requestId: bigint;
|
|
2546
2420
|
parameters: MessageParameter[];
|
|
@@ -2550,8 +2424,6 @@ declare class RequestUpdate {
|
|
|
2550
2424
|
static parsePayload(buf: BaseByteBuffer): RequestUpdate;
|
|
2551
2425
|
equals(other: RequestUpdate): boolean;
|
|
2552
2426
|
}
|
|
2553
|
-
//#endregion
|
|
2554
|
-
//#region src/model/control/track_status.d.ts
|
|
2555
2427
|
declare class TrackStatus {
|
|
2556
2428
|
requestId: bigint;
|
|
2557
2429
|
trackAlias: bigint;
|
|
@@ -2566,8 +2438,6 @@ declare class TrackStatus {
|
|
|
2566
2438
|
serialize(): FrozenByteBuffer;
|
|
2567
2439
|
static parsePayload(buf: BaseByteBuffer): TrackStatus;
|
|
2568
2440
|
}
|
|
2569
|
-
//#endregion
|
|
2570
|
-
//#region src/model/control/subscribe_namespace.d.ts
|
|
2571
2441
|
declare class SubscribeNamespace {
|
|
2572
2442
|
readonly requestId: bigint;
|
|
2573
2443
|
readonly trackNamespacePrefix: Tuple;
|
|
@@ -2577,8 +2447,6 @@ declare class SubscribeNamespace {
|
|
|
2577
2447
|
serialize(): FrozenByteBuffer;
|
|
2578
2448
|
static parsePayload(buf: BaseByteBuffer): SubscribeNamespace;
|
|
2579
2449
|
}
|
|
2580
|
-
//#endregion
|
|
2581
|
-
//#region src/model/control/subscribe_tracks.d.ts
|
|
2582
2450
|
/**
|
|
2583
2451
|
* SUBSCRIBE_TRACKS (0x51) asks for a PUBLISH for every track under a matching
|
|
2584
2452
|
* namespace prefix, present and future (§10.19).
|
|
@@ -2595,8 +2463,6 @@ declare class SubscribeTracks {
|
|
|
2595
2463
|
serialize(): FrozenByteBuffer;
|
|
2596
2464
|
static parsePayload(buf: BaseByteBuffer): SubscribeTracks;
|
|
2597
2465
|
}
|
|
2598
|
-
//#endregion
|
|
2599
|
-
//#region src/model/control/request_ok.d.ts
|
|
2600
2466
|
/**
|
|
2601
2467
|
* @public
|
|
2602
2468
|
* REQUEST_OK (0x7) answers PUBLISH, REQUEST_UPDATE, TRACK_STATUS, SUBSCRIBE_NAMESPACE,
|
|
@@ -2634,8 +2500,6 @@ declare class RequestOk {
|
|
|
2634
2500
|
*/
|
|
2635
2501
|
static parsePayload(buf: BaseByteBuffer): RequestOk;
|
|
2636
2502
|
}
|
|
2637
|
-
//#endregion
|
|
2638
|
-
//#region src/model/control/request_error.d.ts
|
|
2639
2503
|
/**
|
|
2640
2504
|
* REQUEST_ERROR (0x5) refuses any request type. It carries no Request ID: the request
|
|
2641
2505
|
* stream it arrives on identifies the request (§10.1).
|
|
@@ -2653,112 +2517,11 @@ declare class RequestError {
|
|
|
2653
2517
|
serialize(): FrozenByteBuffer;
|
|
2654
2518
|
static parsePayload(buf: BaseByteBuffer): RequestError;
|
|
2655
2519
|
}
|
|
2656
|
-
//#endregion
|
|
2657
|
-
//#region src/model/control/control_message.d.ts
|
|
2658
2520
|
type ControlMessage = Publish | PublishSkipped | PublishDone | PublishNamespace | Namespace | NamespaceDone | Setup | Fetch | FetchOk | GoAway | Subscribe | RequestError | SubscribeOk | RequestUpdate | TrackStatus | SubscribeNamespace | SubscribeTracks | RequestOk;
|
|
2659
2521
|
declare namespace ControlMessage {
|
|
2660
2522
|
function deserialize(buf: FrozenByteBuffer): ControlMessage;
|
|
2661
2523
|
function serialize(msg: ControlMessage): FrozenByteBuffer;
|
|
2662
2524
|
}
|
|
2663
|
-
//#endregion
|
|
2664
|
-
//#region src/model/error/stream_reset.d.ts
|
|
2665
|
-
/**
|
|
2666
|
-
* Copyright 2026 The MOQtail Authors
|
|
2667
|
-
*
|
|
2668
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2669
|
-
* you may not use this file except in compliance with the License.
|
|
2670
|
-
* You may obtain a copy of the License at
|
|
2671
|
-
*
|
|
2672
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2673
|
-
*
|
|
2674
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
2675
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2676
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2677
|
-
* See the License for the specific language governing permissions and
|
|
2678
|
-
* limitations under the License.
|
|
2679
|
-
*/
|
|
2680
|
-
/**
|
|
2681
|
-
* @public
|
|
2682
|
-
* Codes carried when resetting a request stream or sending STOP_SENDING on one.
|
|
2683
|
-
*
|
|
2684
|
-
* A separate registry from {@link (RequestErrorCode:enum)}, which disagrees with it on
|
|
2685
|
-
* the same names: `GOING_AWAY` is `0x4` here but `0x6` there.
|
|
2686
|
-
*/
|
|
2687
|
-
declare enum StreamResetCode {
|
|
2688
|
-
InternalError = 0,
|
|
2689
|
-
Cancelled = 1,
|
|
2690
|
-
DeliveryTimeout = 2,
|
|
2691
|
-
SessionClosed = 3,
|
|
2692
|
-
GoingAway = 4,
|
|
2693
|
-
TooFarBehind = 5,
|
|
2694
|
-
UnknownObjectStatus = 6,
|
|
2695
|
-
ExpiredAuthToken = 7,
|
|
2696
|
-
ExcessiveLoad = 9,
|
|
2697
|
-
MalformedTrack = 18
|
|
2698
|
-
}
|
|
2699
|
-
declare namespace StreamResetCode {
|
|
2700
|
-
/**
|
|
2701
|
-
* Converts a numeric application error code to a StreamResetCode. The code is a
|
|
2702
|
-
* `number` because that is what the transport reports it as
|
|
2703
|
-
* (`WebTransportError.streamErrorCode`, an `unsigned long`).
|
|
2704
|
-
*
|
|
2705
|
-
* @throws :{@link InvalidEnumValue} if the code is not a defined stream reset code.
|
|
2706
|
-
*/
|
|
2707
|
-
function tryFrom(code: number): StreamResetCode;
|
|
2708
|
-
}
|
|
2709
|
-
//#endregion
|
|
2710
|
-
//#region src/model/catalog/cmsf.d.ts
|
|
2711
|
-
/**
|
|
2712
|
-
* Copyright 2026 The MOQtail Authors
|
|
2713
|
-
*
|
|
2714
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2715
|
-
* you may not use this file except in compliance with the License.
|
|
2716
|
-
* You may obtain a copy of the License at
|
|
2717
|
-
*
|
|
2718
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2719
|
-
*
|
|
2720
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
2721
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2722
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2723
|
-
* See the License for the specific language governing permissions and
|
|
2724
|
-
* limitations under the License.
|
|
2725
|
-
*/
|
|
2726
|
-
interface CMSFTrack {
|
|
2727
|
-
name: string;
|
|
2728
|
-
packaging: 'cmaf' | 'chunk-per-object' | 'timeline';
|
|
2729
|
-
codec?: string;
|
|
2730
|
-
role: 'video' | 'audio' | 'timeline';
|
|
2731
|
-
depends?: string[];
|
|
2732
|
-
mimeType?: string;
|
|
2733
|
-
width?: number;
|
|
2734
|
-
height?: number;
|
|
2735
|
-
timescale?: number;
|
|
2736
|
-
bitrate?: number;
|
|
2737
|
-
initData?: string;
|
|
2738
|
-
}
|
|
2739
|
-
interface CMSF {
|
|
2740
|
-
version: string;
|
|
2741
|
-
tracks: CMSFTrack[];
|
|
2742
|
-
}
|
|
2743
|
-
declare class CMSFCatalog {
|
|
2744
|
-
#private;
|
|
2745
|
-
private constructor();
|
|
2746
|
-
static from(payload: ArrayBufferLike): CMSFCatalog;
|
|
2747
|
-
getByTrackName(trackName: string): CMSFTrack | undefined;
|
|
2748
|
-
getTracks(role?: CMSF['tracks'][number]['role']): CMSFTrack[];
|
|
2749
|
-
getVideo(index?: number): CMSFTrack | undefined;
|
|
2750
|
-
getAudio(index?: number): CMSFTrack | undefined;
|
|
2751
|
-
getTimeline(index?: number): CMSFTrack | undefined;
|
|
2752
|
-
getCodecString(trackName: string): string | undefined;
|
|
2753
|
-
getRole(trackName: string): "video" | "audio" | "timeline" | undefined;
|
|
2754
|
-
getPackaging(trackName: string): "timeline" | "cmaf" | "chunk-per-object" | undefined;
|
|
2755
|
-
isCMAF(trackName: string): boolean;
|
|
2756
|
-
getTimescale(trackName: string): number | undefined;
|
|
2757
|
-
getInitData(trackName: string): Uint8Array<ArrayBuffer> | undefined;
|
|
2758
|
-
private extractTrackName;
|
|
2759
|
-
}
|
|
2760
|
-
//#endregion
|
|
2761
|
-
//#region src/model/error/constant.d.ts
|
|
2762
2525
|
/**
|
|
2763
2526
|
* Copyright 2025 The MOQtail Authors
|
|
2764
2527
|
*
|
|
@@ -2805,8 +2568,50 @@ declare namespace TerminationCode {
|
|
|
2805
2568
|
*/
|
|
2806
2569
|
function tryFrom(code: number): TerminationCode;
|
|
2807
2570
|
}
|
|
2808
|
-
|
|
2809
|
-
|
|
2571
|
+
/**
|
|
2572
|
+
* Copyright 2026 The MOQtail Authors
|
|
2573
|
+
*
|
|
2574
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2575
|
+
* you may not use this file except in compliance with the License.
|
|
2576
|
+
* You may obtain a copy of the License at
|
|
2577
|
+
*
|
|
2578
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2579
|
+
*
|
|
2580
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2581
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2582
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2583
|
+
* See the License for the specific language governing permissions and
|
|
2584
|
+
* limitations under the License.
|
|
2585
|
+
*/
|
|
2586
|
+
/**
|
|
2587
|
+
* @public
|
|
2588
|
+
* Codes carried when resetting a request stream or sending STOP_SENDING on one.
|
|
2589
|
+
*
|
|
2590
|
+
* A separate registry from {@link (RequestErrorCode:enum)}, which disagrees with it on
|
|
2591
|
+
* the same names: `GOING_AWAY` is `0x4` here but `0x6` there.
|
|
2592
|
+
*/
|
|
2593
|
+
declare enum StreamResetCode {
|
|
2594
|
+
InternalError = 0,
|
|
2595
|
+
Cancelled = 1,
|
|
2596
|
+
DeliveryTimeout = 2,
|
|
2597
|
+
SessionClosed = 3,
|
|
2598
|
+
GoingAway = 4,
|
|
2599
|
+
TooFarBehind = 5,
|
|
2600
|
+
UnknownObjectStatus = 6,
|
|
2601
|
+
ExpiredAuthToken = 7,
|
|
2602
|
+
ExcessiveLoad = 9,
|
|
2603
|
+
MalformedTrack = 18
|
|
2604
|
+
}
|
|
2605
|
+
declare namespace StreamResetCode {
|
|
2606
|
+
/**
|
|
2607
|
+
* Converts a numeric application error code to a StreamResetCode. The code is a
|
|
2608
|
+
* `number` because that is what the transport reports it as
|
|
2609
|
+
* (`WebTransportError.streamErrorCode`, an `unsigned long`).
|
|
2610
|
+
*
|
|
2611
|
+
* @throws :{@link InvalidEnumValue} if the code is not a defined stream reset code.
|
|
2612
|
+
*/
|
|
2613
|
+
function tryFrom(code: number): StreamResetCode;
|
|
2614
|
+
}
|
|
2810
2615
|
declare class Timestamp {
|
|
2811
2616
|
readonly timestamp: bigint;
|
|
2812
2617
|
static readonly TYPE = LOCPropertyId.Timestamp;
|
|
@@ -2814,8 +2619,6 @@ declare class Timestamp {
|
|
|
2814
2619
|
toKeyValuePair(): KeyValuePair;
|
|
2815
2620
|
static fromKeyValuePair(pair: KeyValuePair): Timestamp | undefined;
|
|
2816
2621
|
}
|
|
2817
|
-
//#endregion
|
|
2818
|
-
//#region src/model/property/timescale.d.ts
|
|
2819
2622
|
declare class Timescale {
|
|
2820
2623
|
readonly timescale: bigint;
|
|
2821
2624
|
static readonly TYPE = LOCPropertyId.Timescale;
|
|
@@ -2823,8 +2626,6 @@ declare class Timescale {
|
|
|
2823
2626
|
toKeyValuePair(): KeyValuePair;
|
|
2824
2627
|
static fromKeyValuePair(pair: KeyValuePair): Timescale | undefined;
|
|
2825
2628
|
}
|
|
2826
|
-
//#endregion
|
|
2827
|
-
//#region src/model/property/video_frame_marking.d.ts
|
|
2828
2629
|
declare class VideoFrameMarking {
|
|
2829
2630
|
readonly value: Uint8Array;
|
|
2830
2631
|
static readonly TYPE = LOCPropertyId.VideoFrameMarking;
|
|
@@ -2835,8 +2636,6 @@ declare class VideoFrameMarking {
|
|
|
2835
2636
|
toKeyValuePair(): KeyValuePair;
|
|
2836
2637
|
static fromKeyValuePair(pair: KeyValuePair): VideoFrameMarking | undefined;
|
|
2837
2638
|
}
|
|
2838
|
-
//#endregion
|
|
2839
|
-
//#region src/model/property/audio_level.d.ts
|
|
2840
2639
|
declare class AudioLevel {
|
|
2841
2640
|
readonly audioLevel: bigint;
|
|
2842
2641
|
static readonly TYPE = LOCPropertyId.AudioLevel;
|
|
@@ -2844,8 +2643,6 @@ declare class AudioLevel {
|
|
|
2844
2643
|
toKeyValuePair(): KeyValuePair;
|
|
2845
2644
|
static fromKeyValuePair(pair: KeyValuePair): AudioLevel | undefined;
|
|
2846
2645
|
}
|
|
2847
|
-
//#endregion
|
|
2848
|
-
//#region src/model/property/video_config.d.ts
|
|
2849
2646
|
declare class VideoConfig {
|
|
2850
2647
|
readonly config: Uint8Array;
|
|
2851
2648
|
static readonly TYPE = LOCPropertyId.VideoConfig;
|
|
@@ -2853,8 +2650,6 @@ declare class VideoConfig {
|
|
|
2853
2650
|
toKeyValuePair(): KeyValuePair;
|
|
2854
2651
|
static fromKeyValuePair(pair: KeyValuePair): VideoConfig | undefined;
|
|
2855
2652
|
}
|
|
2856
|
-
//#endregion
|
|
2857
|
-
//#region src/model/property/audio_config.d.ts
|
|
2858
2653
|
declare class AudioConfig {
|
|
2859
2654
|
readonly config: Uint8Array;
|
|
2860
2655
|
static readonly TYPE = LOCPropertyId.AudioConfig;
|
|
@@ -2862,8 +2657,6 @@ declare class AudioConfig {
|
|
|
2862
2657
|
toKeyValuePair(): KeyValuePair;
|
|
2863
2658
|
static fromKeyValuePair(pair: KeyValuePair): AudioConfig | undefined;
|
|
2864
2659
|
}
|
|
2865
|
-
//#endregion
|
|
2866
|
-
//#region src/model/property/loc.d.ts
|
|
2867
2660
|
type LOCProperty = Timestamp | Timescale | VideoFrameMarking | AudioLevel | VideoConfig | AudioConfig;
|
|
2868
2661
|
declare namespace LOCProperty {
|
|
2869
2662
|
function fromKeyValuePair(pair: KeyValuePair): LOCProperty | undefined;
|
|
@@ -2888,8 +2681,6 @@ declare class LOCProperties {
|
|
|
2888
2681
|
build(): KeyValuePair[];
|
|
2889
2682
|
static fromKeyValuePairs(kvps: KeyValuePair[]): LOCProperty[];
|
|
2890
2683
|
}
|
|
2891
|
-
//#endregion
|
|
2892
|
-
//#region src/model/property/object_property.d.ts
|
|
2893
2684
|
declare class ImmutablePropertiesObjectProperty {
|
|
2894
2685
|
readonly properties: KeyValuePair[];
|
|
2895
2686
|
static readonly TYPE = TrackPropertyType.ImmutableProperties;
|
|
@@ -2927,8 +2718,29 @@ declare namespace ObjectProperty {
|
|
|
2927
2718
|
function isPriorObjectIdGap(ext: ObjectProperty): ext is PriorObjectIdGapProperty;
|
|
2928
2719
|
function isUnknown(ext: ObjectProperty): ext is UnknownObjectProperty;
|
|
2929
2720
|
}
|
|
2930
|
-
|
|
2931
|
-
|
|
2721
|
+
/**
|
|
2722
|
+
* @public
|
|
2723
|
+
* A property class read by {@link findProperty}: its `TYPE` and `fromKeyValuePair`.
|
|
2724
|
+
* Every property class in the model already is one.
|
|
2725
|
+
*/
|
|
2726
|
+
interface PropertyReader<T> {
|
|
2727
|
+
readonly TYPE: number | bigint;
|
|
2728
|
+
fromKeyValuePair(pair: KeyValuePair): T | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* @public
|
|
2732
|
+
* Finds the first property of `reader`'s type in a track or object property list and
|
|
2733
|
+
* returns it typed, or `undefined`. Unknown properties keep their raw key-value pair, so
|
|
2734
|
+
* a type the model doesn't know is still found.
|
|
2735
|
+
*
|
|
2736
|
+
* @example
|
|
2737
|
+
* ```ts
|
|
2738
|
+
* const timeout = findProperty(subscribeOk.trackProperties, ObjectDeliveryTimeoutProperty)
|
|
2739
|
+
* ```
|
|
2740
|
+
*/
|
|
2741
|
+
declare function findProperty<T>(properties: readonly (KeyValuePair | {
|
|
2742
|
+
toKeyValuePair(): KeyValuePair;
|
|
2743
|
+
})[] | null | undefined, reader: PropertyReader<T>): T | undefined;
|
|
2932
2744
|
declare class Path implements Parameter {
|
|
2933
2745
|
readonly moqtPath: string;
|
|
2934
2746
|
static readonly TYPE = SetupOptionType.Path;
|
|
@@ -2936,8 +2748,6 @@ declare class Path implements Parameter {
|
|
|
2936
2748
|
toKeyValuePair(): KeyValuePair;
|
|
2937
2749
|
static fromKeyValuePair(pair: KeyValuePair): Path | undefined;
|
|
2938
2750
|
}
|
|
2939
|
-
//#endregion
|
|
2940
|
-
//#region src/model/parameter/setup/max_auth_token_cache_size.d.ts
|
|
2941
2751
|
declare class MaxAuthTokenCacheSize implements Parameter {
|
|
2942
2752
|
readonly maxSize: bigint;
|
|
2943
2753
|
static readonly TYPE = SetupOptionType.MaxAuthTokenCacheSize;
|
|
@@ -2945,15 +2755,13 @@ declare class MaxAuthTokenCacheSize implements Parameter {
|
|
|
2945
2755
|
toKeyValuePair(): KeyValuePair;
|
|
2946
2756
|
static fromKeyValuePair(pair: KeyValuePair): MaxAuthTokenCacheSize | undefined;
|
|
2947
2757
|
}
|
|
2948
|
-
//#endregion
|
|
2949
|
-
//#region src/model/parameter/setup/authority.d.ts
|
|
2950
2758
|
/**
|
|
2951
2759
|
* Raw-QUIC only: the authority component of the `moqt://` URI, carried in SETUP because
|
|
2952
2760
|
* there is no HTTP CONNECT to carry it.
|
|
2953
2761
|
*
|
|
2954
2762
|
* Client-only; MUST NOT be sent by a server or over WebTransport. moqtail-ts always
|
|
2955
2763
|
* connects over WebTransport, so its own handshake never sends this — see
|
|
2956
|
-
* `MOQtailClient.
|
|
2764
|
+
* `MOQtailClient.init`.
|
|
2957
2765
|
*/
|
|
2958
2766
|
declare class Authority implements Parameter {
|
|
2959
2767
|
readonly authority: string;
|
|
@@ -2962,8 +2770,6 @@ declare class Authority implements Parameter {
|
|
|
2962
2770
|
toKeyValuePair(): KeyValuePair;
|
|
2963
2771
|
static fromKeyValuePair(pair: KeyValuePair): Authority | undefined;
|
|
2964
2772
|
}
|
|
2965
|
-
//#endregion
|
|
2966
|
-
//#region src/model/parameter/setup/max_filter_ranges.d.ts
|
|
2967
2773
|
/**
|
|
2968
2774
|
* Limits the total number of Ranges the peer may have across all Range filter parameters
|
|
2969
2775
|
* of a single subscription or fetch. Zero, the default when absent, means the peer may
|
|
@@ -2976,8 +2782,6 @@ declare class MaxFilterRanges implements Parameter {
|
|
|
2976
2782
|
toKeyValuePair(): KeyValuePair;
|
|
2977
2783
|
static fromKeyValuePair(pair: KeyValuePair): MaxFilterRanges | undefined;
|
|
2978
2784
|
}
|
|
2979
|
-
//#endregion
|
|
2980
|
-
//#region src/model/parameter/setup/moqt_implementation.d.ts
|
|
2981
2785
|
/**
|
|
2982
2786
|
* Free-form implementation identification string, e.g. for logging and debugging.
|
|
2983
2787
|
* Either peer may send it.
|
|
@@ -2989,8 +2793,6 @@ declare class MoqtImplementation implements Parameter {
|
|
|
2989
2793
|
toKeyValuePair(): KeyValuePair;
|
|
2990
2794
|
static fromKeyValuePair(pair: KeyValuePair): MoqtImplementation | undefined;
|
|
2991
2795
|
}
|
|
2992
|
-
//#endregion
|
|
2993
|
-
//#region src/model/parameter/setup/max_request_updates.d.ts
|
|
2994
2796
|
/**
|
|
2995
2797
|
* Maximum number of outstanding REQUEST_UPDATEs per request stream: an update counts
|
|
2996
2798
|
* until its REQUEST_OK or REQUEST_ERROR arrives. Zero, the default when absent, means
|
|
@@ -3003,8 +2805,6 @@ declare class MaxRequestUpdates implements Parameter {
|
|
|
3003
2805
|
toKeyValuePair(): KeyValuePair;
|
|
3004
2806
|
static fromKeyValuePair(pair: KeyValuePair): MaxRequestUpdates | undefined;
|
|
3005
2807
|
}
|
|
3006
|
-
//#endregion
|
|
3007
|
-
//#region src/model/parameter/setup/ssts_algorithms.d.ts
|
|
3008
2808
|
/**
|
|
3009
2809
|
* The sender-side track switching (SSTS) algorithms this endpoint supports.
|
|
3010
2810
|
*
|
|
@@ -3020,8 +2820,6 @@ declare class SstsAlgorithms implements Parameter {
|
|
|
3020
2820
|
toKeyValuePair(): KeyValuePair;
|
|
3021
2821
|
static fromKeyValuePair(pair: KeyValuePair): SstsAlgorithms | undefined;
|
|
3022
2822
|
}
|
|
3023
|
-
//#endregion
|
|
3024
|
-
//#region src/model/parameter/setup_option.d.ts
|
|
3025
2823
|
type SetupOption = Path | MaxAuthTokenCacheSize | AuthorizationToken | Authority | MaxFilterRanges | MoqtImplementation | MaxRequestUpdates | SstsAlgorithms;
|
|
3026
2824
|
declare namespace SetupOption {
|
|
3027
2825
|
function fromKeyValuePair(pair: KeyValuePair): SetupOption | undefined;
|
|
@@ -3050,8 +2848,6 @@ declare class SetupOptions {
|
|
|
3050
2848
|
build(): KeyValuePair[];
|
|
3051
2849
|
static fromKeyValuePairs(kvps: KeyValuePair[]): SetupOption[];
|
|
3052
2850
|
}
|
|
3053
|
-
//#endregion
|
|
3054
|
-
//#region src/model/parameter/message/combined_filter.d.ts
|
|
3055
2851
|
/**
|
|
3056
2852
|
* The object filter a request's Range Filters add up to.
|
|
3057
2853
|
*
|
|
@@ -3083,5 +2879,4 @@ declare class CombinedFilter {
|
|
|
3083
2879
|
*/
|
|
3084
2880
|
matches(obj: MoqtObject, subgroupId?: bigint | null): boolean;
|
|
3085
2881
|
}
|
|
3086
|
-
|
|
3087
|
-
export { LOCPropertyId as $, isBytes as $n, Forward as $t, ControlMessage as A, GroupOrder as An, ProtocolViolationError as At, Subscribe as B, FetchHeaderType as Bn, SwitchingSetAssignment as Bt, Timescale as C, FullTrackName as Cn, InvalidEnumValue as Ct, CMSFCatalog as D, FetchObject as Dn, LengthExceedsMaxError as Dt, CMSF as E, EndOfRangeKind as En, KeyValueFormattingError as Et, TrackStatus as F, SwitchMode as Fn, VarIntOverflowError as Ft, DefaultPublisherPriorityProperty as G, MAX_REASON_PHRASE_LEN as Gn, MoqtUrl as Gt, MAX_NEW_SESSION_URI_LENGTH as H, ObjectForwardingPreference as Hn, LargestObject as Ht, RequestUpdate as I, TrackStatusCode as In, FillParameters as It, MaxCacheDurationProperty as J, TupleField as Jn, GREASE_STEP as Jt, DynamicGroupsProperty as K, ReasonPhrase as Kn, resolveTransportUrl as Kt, SubscribeOk as L, FetchHeader as Ln, SwitchFrom as Lt, RequestOk as M, PublishDoneStatusCode as Mn, TerminationError as Mt, SubscribeTracks as N, RequestErrorCode as Nn, TimeoutError as Nt, CMSFTrack as O, FetchObjectContext as On, MOQtailError as Ot, SubscribeNamespace as P, SUPPORTED_VERSIONS as Pn, TrackNameError as Pt, UnknownTrackProperty as Q, deserializeKvpListUntilEmpty as Qn, IncludeProperties as Qt, Publish as R, Datagram as Rn, LocationFilter as Rt, VideoFrameMarking as S, SubgroupObject as Sn, InternalError as St, TerminationCode as T, MAX_NAMESPACE_TUPLE_COUNT as Tn, InvalidUTF8Error as Tt, FetchOk as U, ObjectStatus as Un, Redirect as Ut, GoAway as V, ObjectDatagramType as Vn, NewGroupRequest as Vt, DefaultPublisherGroupOrderProperty as W, SubgroupHeaderType as Wn, MoqtFragment as Wt, SubgroupDeliveryTimeoutProperty as X, KeyValuePair as Xn, isGrease as Xt, ObjectDeliveryTimeoutProperty as Y, Location as Yn, greaseValue as Yt, TrackProperty as Z, deserializeKvpList as Zn, GroupOrderParam as Zt, LOCProperties as _, FrozenByteBuffer as _n, RangeDelta as _t, SstsAlgorithms as a, AuthTokenVariant as an, Fetch as at, VideoConfig as b, SubgroupHeader as bn, encodeRanges as bt, MaxFilterRanges as c, MessageParameterType as cn, Namespace as ct, Path as d, messageParameterTypeFromNumber as dn, MessageParameters as dt, Expires as en, isVarInt as er, PropertyRange as et, ImmutablePropertiesObjectProperty as f, setupOptionTypeFromNumber as fn, applyMessageParameterUpdate as ft, UnknownObjectProperty as g, ByteBuffer as gn, Range as gt, PriorObjectIdGapProperty as h, BaseByteBuffer as hn, InvalidFilterError as ht, assertNoAuthorityOverWebTransport as i, FillTimeout as in, locPropertyIdFromNumber as it, RequestError as j, LocationFilterType as jn, RequestIdError as jt, StreamResetCode as k, ControlMessageType as kn, NotEnoughBytesError as kt, Authority as l, SetupOptionType as ln, PublishNamespace as lt, PriorGroupIdGapProperty as m, PublishSkipped as mn, serializeMessageParameterKvps as mt, SetupOption as n, RendezvousTimeout as nn, TrackPropertyType as nt, MaxRequestUpdates as o, AuthorizationToken as on, Setup as ot, ObjectProperty as p, tokenAliasTypeFromNumber as pn, deserializeMessageParameterKvps as pt, ImmutablePropertiesTrackProperty as q, Tuple as qn, GREASE_BASE as qt, SetupOptions as r, ObjectDeliveryTimeout as rn, isApplicationSpecificProperty as rt, MoqtImplementation as s, Parameter as sn, NamespaceDone as st, CombinedFilter as t, SubgroupDeliveryTimeout as tn, serializeKvpList as tr, PropertyRanges as tt, MaxAuthTokenCacheSize as u, TokenAliasType as un, MessageParameter as ut, LOCProperty as v, Header as vn, RangeFilter as vt, Timestamp as w, MAX_FULL_TRACK_NAME_LENGTH as wn, InvalidTypeError as wt, AudioLevel as x, MoqtObject as xn, CastingError as xt, AudioConfig as y, RequestIdMap as yn, RangeFilterKind as yt, PublishDone as z, DEFAULT_PUBLISHER_PRIORITY as zn, SubscriberPriority as zt };
|
|
2882
|
+
export { PropertyRange as $, isVarInt as $n, Expires as $t, RequestError as A, LocationFilterType as An, RequestIdError as At, GoAway as B, ObjectDatagramType as Bn, NewGroupRequest as Bt, AudioLevel as C, MAX_FULL_TRACK_NAME_LENGTH as Cn, InvalidTypeError as Ct, StreamResetCode as D, FetchObjectContext as Dn, MOQtailError as Dt, Timestamp as E, FetchObject as En, LengthExceedsMaxError as Et, RequestUpdate as F, TrackStatusCode as Fn, FillParameters as Ft, DynamicGroupsProperty as G, ReasonPhrase as Gn, resolveTransportUrl as Gt, FetchOk as H, ObjectStatus as Hn, Redirect as Ht, SubscribeOk as I, FetchHeader as In, SwitchFrom as It, ObjectDeliveryTimeoutProperty as J, Location as Jn, greaseValue as Jt, ImmutablePropertiesTrackProperty as K, Tuple as Kn, GREASE_BASE as Kt, Publish as L, Datagram as Ln, LocationFilter as Lt, SubscribeTracks as M, RequestErrorCode as Mn, TimeoutError as Mt, SubscribeNamespace as N, SUPPORTED_VERSIONS as Nn, TrackNameError as Nt, TerminationCode as O, ControlMessageType as On, NotEnoughBytesError as Ot, TrackStatus as P, SwitchMode as Pn, VarIntOverflowError as Pt, LOCPropertyId as Q, isBytes as Qn, Forward as Qt, PublishDone as R, DEFAULT_PUBLISHER_PRIORITY as Rn, SubscriberPriority as Rt, VideoConfig as S, FullTrackName as Sn, InvalidEnumValue as St, Timescale as T, EndOfRangeKind as Tn, KeyValueFormattingError as Tt, DefaultPublisherGroupOrderProperty as U, SubgroupHeaderType as Un, MoqtFragment as Ut, MAX_NEW_SESSION_URI_LENGTH as V, ObjectForwardingPreference as Vn, LargestObject as Vt, DefaultPublisherPriorityProperty as W, MAX_REASON_PHRASE_LEN as Wn, MoqtUrl as Wt, TrackProperty as X, deserializeKvpList as Xn, GroupOrderParam as Xt, SubgroupDeliveryTimeoutProperty as Y, KeyValuePair as Yn, isGrease as Yt, UnknownTrackProperty as Z, deserializeKvpListUntilEmpty as Zn, IncludeProperties as Zt, PriorObjectIdGapProperty as _, Header as _n, RangeFilter as _t, SstsAlgorithms as a, AuthorizationToken as an, Setup as at, LOCProperty as b, MoqtObject as bn, CastingError as bt, MaxFilterRanges as c, SetupOptionType as cn, PublishNamespace as ct, Path as d, setupOptionTypeFromNumber as dn, applyMessageParameterUpdate as dt, SubgroupDeliveryTimeout as en, serializeKvpList as er, PropertyRanges as et, PropertyReader as f, tokenAliasTypeFromNumber as fn, deserializeMessageParameterKvps as ft, PriorGroupIdGapProperty as g, FrozenByteBuffer as gn, RangeDelta as gt, ObjectProperty as h, ByteBuffer as hn, Range as ht, assertNoAuthorityOverWebTransport as i, AuthTokenVariant as in, Fetch as it, RequestOk as j, PublishDoneStatusCode as jn, TerminationError as jt, ControlMessage as k, GroupOrder as kn, ProtocolViolationError as kt, Authority as l, TokenAliasType as ln, MessageParameter as lt, ImmutablePropertiesObjectProperty as m, BaseByteBuffer as mn, InvalidFilterError as mt, SetupOption as n, ObjectDeliveryTimeout as nn, isApplicationSpecificProperty as nt, MaxRequestUpdates as o, Parameter as on, NamespaceDone as ot, findProperty as p, PublishSkipped as pn, serializeMessageParameterKvps as pt, MaxCacheDurationProperty as q, TupleField as qn, GREASE_STEP as qt, SetupOptions as r, FillTimeout as rn, locPropertyIdFromNumber as rt, MoqtImplementation as s, MessageParameterType as sn, Namespace as st, CombinedFilter as t, RendezvousTimeout as tn, TrackPropertyType as tt, MaxAuthTokenCacheSize as u, messageParameterTypeFromNumber as un, MessageParameters as ut, UnknownObjectProperty as v, RequestIdMap as vn, RangeFilterKind as vt, VideoFrameMarking as w, MAX_NAMESPACE_TUPLE_COUNT as wn, InvalidUTF8Error as wt, AudioConfig as x, SubgroupObject as xn, InternalError as xt, LOCProperties as y, SubgroupHeader as yn, encodeRanges as yt, Subscribe as z, FetchHeaderType as zn, SwitchingSetAssignment as zt };
|