moqtail 0.12.0 → 0.13.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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- export { ControlStream, EarlyDiscardPolicyConfig, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, SwitchOptions, Track, TrackSource, TrackStatusRequest } from './client.cjs';
2
- export { AudioLevel, CMSF, CMSFCatalog, CMSFTrack, CaptureTimestamp, CastingError, ExtensionHeader, ExtensionHeaders, ImmutableExtensionsObjectExtension, InternalError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, LengthExceedsMaxError, MOQtailError, NotEnoughBytesError, ObjectExtension, PriorGroupIdGapExtension, PriorObjectIdGapExtension, ProtocolViolationError, RequestIdError, Switch, TerminationCode, TerminationError, TimeoutError, TrackNameError, UnknownObjectExtension, VarIntOverflowError, VideoConfig, VideoFrameMarking } from './model.cjs';
3
- export { A as AuthTokenVariant, a as AuthorizationToken, B as BaseByteBuffer, b as ByteBuffer, C as ClientSetup, c as ControlMessage, d as ControlMessageType, D as Datagram, e as DefaultPublisherGroupOrderExtension, f as DefaultPublisherPriorityExtension, g as DeliveryTimeout, h as DeliveryTimeoutExtension, i as DynamicGroupsExtension, E as EndOfRangeKind, j as Expires, F as Fetch, k as FetchCancel, l as FetchHeader, m as FetchHeaderType, n as FetchObject, o as FetchObjectContext, p as FetchOk, q as FetchType, r as FilterType, s as Forward, t as FrozenByteBuffer, u as FullTrackName, G as GoAway, v as GroupOrder, w as GroupOrderParam, H as Header, I as ImmutableExtensionsExtension, K as KeyValuePair, L as LOCHeaderExtensionId, x as LargestObject, y as Location, M as MAX_FULL_TRACK_NAME_LENGTH, z as MAX_NAMESPACE_TUPLE_COUNT, J as MAX_REASON_PHRASE_LEN, N as MaxAuthTokenCacheSize, O as MaxCacheDurationExtension, P as MaxRequestId, Q as MaxRequestIdParameter, R as MessageParameter, S as MessageParameterType, T as MessageParameters, U as MoqtObject, V as Namespace, W as NamespaceDone, X as NamespaceSubscribeOptions, Y as NewGroupRequest, Z as ObjectDatagramType, _ as ObjectForwardingPreference, $ as ObjectStatus, a0 as Parameter, a1 as Path, a2 as Publish, a3 as PublishDone, a4 as PublishDoneStatusCode, a5 as PublishNamespace, a6 as PublishNamespaceCancel, a7 as PublishNamespaceDone, a8 as PublishOk, a9 as ReasonPhrase, aa as RequestError, ab as RequestErrorCode, ac as RequestIdMap, ad as RequestOk, ae as RequestUpdate, af as RequestsBlocked, ag as SUPPORTED_VERSIONS, ah as ServerSetup, ai as SetupParameter, aj as SetupParameterType, ak as SetupParameters, al as SubgroupHeader, am as SubgroupHeaderType, an as SubgroupObject, ao as Subscribe, ap as SubscribeNamespace, aq as SubscribeOk, ar as SubscriberPriority, as as SubscriptionFilter, at as TokenAliasType, au as TrackExtension, av as TrackExtensionType, aw as TrackStatus, ax as TrackStatusCode, ay as Tuple, az as TupleField, aA as UnknownTrackExtension, aB as Unsubscribe, aC as UnsubscribeNamespace, aD as applyMessageParameterUpdate, aE as controlMessageTypeFromBigInt, aF as deserializeKvpList, aG as deserializeKvpListUntilEmpty, aH as fetchTypeFromBigInt, aI as filterTypeFromBigInt, aJ as groupOrderFromNumber, aK as isBytes, aL as isVarInt, aM as locHeaderExtensionIdFromNumber, aN as messageParameterTypeFromNumber, aO as publishDoneStatusCodeFromBigInt, aP as requestErrorCodeFromBigInt, aQ as serializeKvpList, aR as setupParameterTypeFromNumber, aS as tokenAliasTypeFromNumber, aT as trackStatusCodeFromBigInt } from './setup_parameter-BgNrJRDS.cjs';
4
- export { ClockNormalizer, NetworkTelemetry } from './util.cjs';
5
- export { L as LogLevel, a as Logger, l as logger, s as setLogEnabledModules, b as setLogLevel } from './logger-C6QS408Z.cjs';
1
+ import { $ as GoAway, $t as messageParameterTypeFromNumber, A as MOQtailError, An as ObjectForwardingPreference, At as NewGroupRequest, B as CMSFTrack, Bn as deserializeKvpListUntilEmpty, Bt as GroupOrderParam, C as CastingError, Cn as SUPPORTED_VERSIONS, Ct as MessageParameters, D as InvalidUTF8Error, Dn as DEFAULT_PUBLISHER_PRIORITY, Dt as SubscriptionFilter, E as InvalidTypeError, En as Datagram, Et as serializeMessageParameterKvps, F as TimeoutError, Fn as Tuple, Ft as resolveTransportUrl, G as SubscribeTracks, Gt as ObjectDeliveryTimeout, H as RequestError, Hn as isVarInt, Ht as Expires, I as TrackNameError, In as TupleField, It as GREASE_BASE, J as RequestUpdate, Jt as AuthorizationToken, K as SubscribeNamespace, Kt as FillTimeout, L as VarIntOverflowError, Ln as Location, Lt as GREASE_STEP, M as ProtocolViolationError, Mn as SubgroupHeaderType, Mt as Redirect, N as RequestIdError, Nn as MAX_REASON_PHRASE_LEN, Nt as MoqtFragment, O as KeyValueFormattingError, On as FetchHeaderType, Ot as SubscriberPriority, P as TerminationError, Pn as ReasonPhrase, Pt as MoqtUrl, Q as Subscribe, Qt as TokenAliasType, R as CMSF, Rn as KeyValuePair, Rt as greaseValue, S as TerminationCode, Sn as RequestErrorCode, St as MessageParameter, T as InvalidEnumValue, Tn as FetchHeader, Tt as deserializeMessageParameterKvps, U as RequestOk, Un as serializeKvpList, Ut as SubgroupDeliveryTimeout, V as ControlMessage, Vn as isBytes, Vt as Forward, W as Switch, Wt as RendezvousTimeout, X as Publish, Xt as MessageParameterType, Y as SubscribeOk, Yt as Parameter, Z as PublishDone, Zt as SetupOptionType, _ as AudioLevel, _n as ControlMessageType, _t as Fetch, a as MoqtImplementation, an as FrozenByteBuffer, at as ImmutablePropertiesTrackProperty, b as Timestamp, bn as GroupOrder, bt as Namespace, c as Path, cn as SubgroupHeader, ct as SubgroupDeliveryTimeoutProperty, d as PriorGroupIdGapProperty, dn as FullTrackName, dt as LOCPropertyId, en as setupOptionTypeFromNumber, et as MAX_NEW_SESSION_URI_LENGTH, f as PriorObjectIdGapProperty, fn as MAX_FULL_TRACK_NAME_LENGTH, ft as PropertyRange, g as VideoConfig, gn as FetchObjectContext, gt as locPropertyIdFromNumber, h as LOCProperty, hn as FetchObject, ht as isApplicationSpecificProperty, i as SstsAlgorithms, in as ByteBuffer, it as DynamicGroupsProperty, j as NotEnoughBytesError, jn as ObjectStatus, jt as LargestObject, k as LengthExceedsMaxError, kn as ObjectDatagramType, kt as SwitchingSetAssignment, l as ImmutablePropertiesObjectProperty, ln as MoqtObject, lt as TrackProperty, m as LOCProperties, mn as EndOfRangeKind, mt as TrackPropertyType, n as SetupOptions, nn as PublishBlocked, nt as DefaultPublisherGroupOrderProperty, o as Authority, on as Header, ot as MaxCacheDurationProperty, p as UnknownObjectProperty, pn as MAX_NAMESPACE_TUPLE_COUNT, pt as PropertyRanges, q as TrackStatus, qt as AuthTokenVariant, r as assertNoAuthorityOverWebTransport, rn as BaseByteBuffer, rt as DefaultPublisherPriorityProperty, s as MaxAuthTokenCacheSize, sn as RequestIdMap, st as ObjectDeliveryTimeoutProperty, t as SetupOption, tn as tokenAliasTypeFromNumber, tt as FetchOk, u as ObjectProperty, un as SubgroupObject, ut as UnknownTrackProperty, v as VideoFrameMarking, vn as FetchType, vt as Setup, w as InternalError, wn as TrackStatusCode, wt as applyMessageParameterUpdate, x as StreamResetCode, xn as PublishDoneStatusCode, xt as PublishNamespace, y as Timescale, yn as FilterType, yt as NamespaceDone, z as CMSFCatalog, zn as deserializeKvpList, zt as isGrease } from "./index-C8pNnaj0.cjs";
2
+ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.cjs";
3
+ import { ControlRecvStream, ControlSendStream, ControlStream, EarlyDiscardPolicyConfig, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, SwitchOptions, Track, TrackSource, TrackStatusRequest } from "./client.cjs";
4
+ import { ClockNormalizer, NetworkTelemetry } from "./util.cjs";
5
+ export { AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FetchType, FillTimeout, FilterType, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, InternalError, InvalidEnumValue, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishBlocked, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, SubscriptionFilter, Switch, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
@@ -0,0 +1,5 @@
1
+ import { $ as GoAway, $t as messageParameterTypeFromNumber, A as MOQtailError, An as ObjectForwardingPreference, At as NewGroupRequest, B as CMSFTrack, Bn as deserializeKvpListUntilEmpty, Bt as GroupOrderParam, C as CastingError, Cn as SUPPORTED_VERSIONS, Ct as MessageParameters, D as InvalidUTF8Error, Dn as DEFAULT_PUBLISHER_PRIORITY, Dt as SubscriptionFilter, E as InvalidTypeError, En as Datagram, Et as serializeMessageParameterKvps, F as TimeoutError, Fn as Tuple, Ft as resolveTransportUrl, G as SubscribeTracks, Gt as ObjectDeliveryTimeout, H as RequestError, Hn as isVarInt, Ht as Expires, I as TrackNameError, In as TupleField, It as GREASE_BASE, J as RequestUpdate, Jt as AuthorizationToken, K as SubscribeNamespace, Kt as FillTimeout, L as VarIntOverflowError, Ln as Location, Lt as GREASE_STEP, M as ProtocolViolationError, Mn as SubgroupHeaderType, Mt as Redirect, N as RequestIdError, Nn as MAX_REASON_PHRASE_LEN, Nt as MoqtFragment, O as KeyValueFormattingError, On as FetchHeaderType, Ot as SubscriberPriority, P as TerminationError, Pn as ReasonPhrase, Pt as MoqtUrl, Q as Subscribe, Qt as TokenAliasType, R as CMSF, Rn as KeyValuePair, Rt as greaseValue, S as TerminationCode, Sn as RequestErrorCode, St as MessageParameter, T as InvalidEnumValue, Tn as FetchHeader, Tt as deserializeMessageParameterKvps, U as RequestOk, Un as serializeKvpList, Ut as SubgroupDeliveryTimeout, V as ControlMessage, Vn as isBytes, Vt as Forward, W as Switch, Wt as RendezvousTimeout, X as Publish, Xt as MessageParameterType, Y as SubscribeOk, Yt as Parameter, Z as PublishDone, Zt as SetupOptionType, _ as AudioLevel, _n as ControlMessageType, _t as Fetch, a as MoqtImplementation, an as FrozenByteBuffer, at as ImmutablePropertiesTrackProperty, b as Timestamp, bn as GroupOrder, bt as Namespace, c as Path, cn as SubgroupHeader, ct as SubgroupDeliveryTimeoutProperty, d as PriorGroupIdGapProperty, dn as FullTrackName, dt as LOCPropertyId, en as setupOptionTypeFromNumber, et as MAX_NEW_SESSION_URI_LENGTH, f as PriorObjectIdGapProperty, fn as MAX_FULL_TRACK_NAME_LENGTH, ft as PropertyRange, g as VideoConfig, gn as FetchObjectContext, gt as locPropertyIdFromNumber, h as LOCProperty, hn as FetchObject, ht as isApplicationSpecificProperty, i as SstsAlgorithms, in as ByteBuffer, it as DynamicGroupsProperty, j as NotEnoughBytesError, jn as ObjectStatus, jt as LargestObject, k as LengthExceedsMaxError, kn as ObjectDatagramType, kt as SwitchingSetAssignment, l as ImmutablePropertiesObjectProperty, ln as MoqtObject, lt as TrackProperty, m as LOCProperties, mn as EndOfRangeKind, mt as TrackPropertyType, n as SetupOptions, nn as PublishBlocked, nt as DefaultPublisherGroupOrderProperty, o as Authority, on as Header, ot as MaxCacheDurationProperty, p as UnknownObjectProperty, pn as MAX_NAMESPACE_TUPLE_COUNT, pt as PropertyRanges, q as TrackStatus, qt as AuthTokenVariant, r as assertNoAuthorityOverWebTransport, rn as BaseByteBuffer, rt as DefaultPublisherPriorityProperty, s as MaxAuthTokenCacheSize, sn as RequestIdMap, st as ObjectDeliveryTimeoutProperty, t as SetupOption, tn as tokenAliasTypeFromNumber, tt as FetchOk, u as ObjectProperty, un as SubgroupObject, ut as UnknownTrackProperty, v as VideoFrameMarking, vn as FetchType, vt as Setup, w as InternalError, wn as TrackStatusCode, wt as applyMessageParameterUpdate, x as StreamResetCode, xn as PublishDoneStatusCode, xt as PublishNamespace, y as Timescale, yn as FilterType, yt as NamespaceDone, z as CMSFCatalog, zn as deserializeKvpList, zt as isGrease } from "./index-C8pNnaj0.mjs";
2
+ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.mjs";
3
+ import { ControlRecvStream, ControlSendStream, ControlStream, EarlyDiscardPolicyConfig, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, SwitchOptions, Track, TrackSource, TrackStatusRequest } from "./client.mjs";
4
+ import { ClockNormalizer, NetworkTelemetry } from "./util.mjs";
5
+ export { AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FetchType, FillTimeout, FilterType, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, InternalError, InvalidEnumValue, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishBlocked, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, SubscriptionFilter, Switch, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import { AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, ControlMessage, ControlMessageType, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FetchType, FillTimeout, FilterType, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, InternalError, InvalidEnumValue, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, Location, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishBlocked, PublishDone, PublishDoneStatusCode, PublishNamespace, ReasonPhrase, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestUpdate, SUPPORTED_VERSIONS, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeOk, SubscribeTracks, SubscriberPriority, SubscriptionFilter, Switch, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setupOptionTypeFromNumber, tokenAliasTypeFromNumber } from "./model.mjs";
2
+ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-ByDB8lYF.mjs";
3
+ import { C as ControlStream, S as ControlSendStream, _ as StaticTrackSource, a as SendDatagramStream, b as RequestStream, c as FetchPublication, d as PublishRequest, f as SubscribeRequest, g as LiveTrackSource, h as HybridTrackSource, i as RecvDatagramStream, l as SubscribePublication, m as PublishNamespaceRequest, n as RingBufferObjectCache, o as PublishPublication, p as FetchRequest, r as MOQtailClient, s as SubscribeNamespaceRequest, t as MemoryObjectCache, u as TrackStatusRequest, v as RecvStream, x as ControlRecvStream, y as SendStream } from "./client-BzncAN14.mjs";
4
+ import { ClockNormalizer, NetworkTelemetry } from "./util.mjs";
5
+ export { AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, ClockNormalizer, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FetchPublication, FetchRequest, FetchType, FillTimeout, FilterType, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, InternalError, InvalidEnumValue, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveTrackSource, Location, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishBlocked, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscriberPriority, SubscriptionFilter, Switch, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
@@ -0,0 +1,56 @@
1
+ //#region src/util/logger.ts
2
+ /**
3
+ * Copyright 2026 The MOQtail Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ let LogLevel = /* @__PURE__ */ function(LogLevel) {
18
+ LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
19
+ LogLevel[LogLevel["LOG"] = 1] = "LOG";
20
+ LogLevel[LogLevel["WARN"] = 2] = "WARN";
21
+ LogLevel[LogLevel["ERROR"] = 3] = "ERROR";
22
+ LogLevel[LogLevel["NONE"] = 4] = "NONE";
23
+ return LogLevel;
24
+ }({});
25
+ const _config = {
26
+ level: 2,
27
+ enabledModules: null
28
+ };
29
+ function setLogLevel(level) {
30
+ _config.level = level;
31
+ }
32
+ function setLogEnabledModules(modules) {
33
+ _config.enabledModules = modules;
34
+ }
35
+ var Logger = class {
36
+ isEnabled(module, level) {
37
+ if (level < _config.level) return false;
38
+ if (_config.enabledModules !== null && !_config.enabledModules.includes(module)) return false;
39
+ return true;
40
+ }
41
+ debug(module, ...args) {
42
+ if (this.isEnabled(module, 0)) console.debug(`[MOQtail][${module}]`, ...args);
43
+ }
44
+ log(module, ...args) {
45
+ if (this.isEnabled(module, 1)) console.log(`[MOQtail][${module}]`, ...args);
46
+ }
47
+ warn(module, ...args) {
48
+ if (this.isEnabled(module, 2)) console.warn(`[MOQtail][${module}]`, ...args);
49
+ }
50
+ error(module, ...args) {
51
+ if (this.isEnabled(module, 3)) console.error(`[MOQtail][${module}]`, ...args);
52
+ }
53
+ };
54
+ const logger = new Logger();
55
+ //#endregion
56
+ export { setLogLevel as a, setLogEnabledModules as i, Logger as n, logger as r, LogLevel as t };
@@ -0,0 +1,85 @@
1
+ //#region src/util/logger.ts
2
+ /**
3
+ * Copyright 2026 The MOQtail Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ let LogLevel = /* @__PURE__ */ function(LogLevel) {
18
+ LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
19
+ LogLevel[LogLevel["LOG"] = 1] = "LOG";
20
+ LogLevel[LogLevel["WARN"] = 2] = "WARN";
21
+ LogLevel[LogLevel["ERROR"] = 3] = "ERROR";
22
+ LogLevel[LogLevel["NONE"] = 4] = "NONE";
23
+ return LogLevel;
24
+ }({});
25
+ const _config = {
26
+ level: 2,
27
+ enabledModules: null
28
+ };
29
+ function setLogLevel(level) {
30
+ _config.level = level;
31
+ }
32
+ function setLogEnabledModules(modules) {
33
+ _config.enabledModules = modules;
34
+ }
35
+ var Logger = class {
36
+ isEnabled(module, level) {
37
+ if (level < _config.level) return false;
38
+ if (_config.enabledModules !== null && !_config.enabledModules.includes(module)) return false;
39
+ return true;
40
+ }
41
+ debug(module, ...args) {
42
+ if (this.isEnabled(module, 0)) console.debug(`[MOQtail][${module}]`, ...args);
43
+ }
44
+ log(module, ...args) {
45
+ if (this.isEnabled(module, 1)) console.log(`[MOQtail][${module}]`, ...args);
46
+ }
47
+ warn(module, ...args) {
48
+ if (this.isEnabled(module, 2)) console.warn(`[MOQtail][${module}]`, ...args);
49
+ }
50
+ error(module, ...args) {
51
+ if (this.isEnabled(module, 3)) console.error(`[MOQtail][${module}]`, ...args);
52
+ }
53
+ };
54
+ const logger = new Logger();
55
+ //#endregion
56
+ Object.defineProperty(exports, "LogLevel", {
57
+ enumerable: true,
58
+ get: function() {
59
+ return LogLevel;
60
+ }
61
+ });
62
+ Object.defineProperty(exports, "Logger", {
63
+ enumerable: true,
64
+ get: function() {
65
+ return Logger;
66
+ }
67
+ });
68
+ Object.defineProperty(exports, "logger", {
69
+ enumerable: true,
70
+ get: function() {
71
+ return logger;
72
+ }
73
+ });
74
+ Object.defineProperty(exports, "setLogEnabledModules", {
75
+ enumerable: true,
76
+ get: function() {
77
+ return setLogEnabledModules;
78
+ }
79
+ });
80
+ Object.defineProperty(exports, "setLogLevel", {
81
+ enumerable: true,
82
+ get: function() {
83
+ return setLogLevel;
84
+ }
85
+ });
@@ -1,3 +1,4 @@
1
+ //#region src/util/logger.d.ts
1
2
  /**
2
3
  * Copyright 2026 The MOQtail Authors
3
4
  *
@@ -14,21 +15,21 @@
14
15
  * limitations under the License.
15
16
  */
16
17
  declare enum LogLevel {
17
- DEBUG = 0,
18
- LOG = 1,
19
- WARN = 2,
20
- ERROR = 3,
21
- NONE = 4
18
+ DEBUG = 0,
19
+ LOG = 1,
20
+ WARN = 2,
21
+ ERROR = 3,
22
+ NONE = 4
22
23
  }
23
24
  declare function setLogLevel(level: LogLevel): void;
24
25
  declare function setLogEnabledModules(modules: string[] | null): void;
25
26
  declare class Logger {
26
- private isEnabled;
27
- debug(module: string, ...args: unknown[]): void;
28
- log(module: string, ...args: unknown[]): void;
29
- warn(module: string, ...args: unknown[]): void;
30
- error(module: string, ...args: unknown[]): void;
27
+ private isEnabled;
28
+ debug(module: string, ...args: unknown[]): void;
29
+ log(module: string, ...args: unknown[]): void;
30
+ warn(module: string, ...args: unknown[]): void;
31
+ error(module: string, ...args: unknown[]): void;
31
32
  }
32
33
  declare const logger: Logger;
33
-
34
- export { LogLevel as L, Logger as a, setLogLevel as b, logger as l, setLogEnabledModules as s };
34
+ //#endregion
35
+ export { setLogLevel as a, setLogEnabledModules as i, Logger as n, logger as r, LogLevel as t };
@@ -1,3 +1,4 @@
1
+ //#region src/util/logger.d.ts
1
2
  /**
2
3
  * Copyright 2026 The MOQtail Authors
3
4
  *
@@ -14,21 +15,21 @@
14
15
  * limitations under the License.
15
16
  */
16
17
  declare enum LogLevel {
17
- DEBUG = 0,
18
- LOG = 1,
19
- WARN = 2,
20
- ERROR = 3,
21
- NONE = 4
18
+ DEBUG = 0,
19
+ LOG = 1,
20
+ WARN = 2,
21
+ ERROR = 3,
22
+ NONE = 4
22
23
  }
23
24
  declare function setLogLevel(level: LogLevel): void;
24
25
  declare function setLogEnabledModules(modules: string[] | null): void;
25
26
  declare class Logger {
26
- private isEnabled;
27
- debug(module: string, ...args: unknown[]): void;
28
- log(module: string, ...args: unknown[]): void;
29
- warn(module: string, ...args: unknown[]): void;
30
- error(module: string, ...args: unknown[]): void;
27
+ private isEnabled;
28
+ debug(module: string, ...args: unknown[]): void;
29
+ log(module: string, ...args: unknown[]): void;
30
+ warn(module: string, ...args: unknown[]): void;
31
+ error(module: string, ...args: unknown[]): void;
31
32
  }
32
33
  declare const logger: Logger;
33
-
34
- export { LogLevel as L, Logger as a, setLogLevel as b, logger as l, setLogEnabledModules as s };
34
+ //#endregion
35
+ export { setLogLevel as a, setLogEnabledModules as i, Logger as n, logger as r, LogLevel as t };