Skip to main content

Type Alias: PlaybackTransportConfig

type PlaybackTransportConfig = {
source: PlaybackSource;
channel_filter?: string;
default_channel?: string;
speed?: number;
loop?: boolean;
};

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:52

Configuration of a PlaybackTransport.

Properties

source

source: PlaybackSource;

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:56

The recording to replay.


channel_filter?

optional channel_filter?: string;

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:63

Only replay the messages whose channel matches this MQTT-style pattern (+/* = one segment, trailing # = the rest) — e.g. "uagv/+/+/+/visualization" to replay only the position frames out of a full VDA 5050 trace. Omitted = replay everything.


default_channel?

optional default_channel?: string;

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:69

The channel given to messages that carry none (a bare-payload recording). Defaults to "playback".


speed?

optional speed?: number;

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:76

How fast to replay, relative to the recorded pace: 1 (the default) replays in real time, 10 replays ten times faster. Only meaningful for a recording that carries timestamps — without them messages are replayed back to back whatever the speed.


loop?

optional loop?: boolean;

Defined in: livelink.clients/livelink.agent/sources/data/transports/PlaybackTransport.ts:81

Whether to start over when the recording ends. Defaults to true.