Allows you to sort the messages of a recording according to time as well as to send a table message stream according to time. In the case where messages have the same timestamp and the same icao, the messages are grouped in a table
It is necessary to install this library globally to use it.
npm i -g @dapia-project/recording-streamer
In your package.json
, add the following:
{
"dependencies": {
"@dapia-project/recording-streamer": "^2.4.0"
}
}
recording-streamer --file "path/to/myfile.sbs" [--options]
option | type | mandatory | example |
---|---|---|---|
--file | string | yes | --file "path/to/myfile.sbs" |
--url | string | no | --url "URL" |
--speed | number | no | --speed 2 |
By default, the option print is enabled if no other is enabled. It is used to display in the console each message of the record.
This option, which must be present, allows you to specify the file (record) to read.
This option contains a string which must be a URL. When this option is used the file is converted to JSON on CSV template for ADSB.
This option contains a number, which is a record playback speed multiplier. Example: --speed 2 reads the record twice as fast.