Start a log
a Log object with the levels of log to call
True when connection is closed, in other words when onClose event is fired
The list of tracks currently receiving
Set the data tracks to receive
URL of connction
Event 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 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?: AbortSignalCall when the stream is closed
Optional
error: WebSocketReliableErrorerror description on an improper closure
Generated using TypeDoc
IStreamData is an interface to get JSON data from a stream, parse it and fire the onData callback It can receive data from multiple tracks.