Private
_defaultPrivate
Optional
_metadataPrivate
_passthroughPrivate
Optional
_trackPrivate
_tracksStart a log
a Log object with the levels of log to call
Protected
_parsePrivate
_parsePrivate
_parsePrivate
_parseProtected
_parseEvent subscription
Name of event without the on
prefix (ex: log
to onLog
event declared)
Subscriber Function
Optional
options: { Optional
signal?: AbortSignalOptional AbortSignal
to stop this or multiple subscriptions in same time
Event fire on new audio Media.Sample
Optional
sample: SampleEvent fire on new video Media.Sample
Optional
sample: SampleEvent subscription only one time, once time fired it's automatically unsubscribe
Name of event without the on
prefix (ex: log
to onLog
event declared)
Subscriber Function
Optional
options: { Optional
signal?: AbortSignalEvent fire on ReaderError
Event fired when metadata is present in the stream
A advanced EventEmitter which allows to declare event as natural function in the inheriting children class, function must start by
on
prefix to be recognized as an event. The function can define a behavior by default, and user can choose to redefine this behavior, or add an additionnal subscription for this event. In addition you can unsubscribe to multiple events with anAbortController
Example