Skip to main content

Raft

Raft transport protocol for reliable data transmission.

Tags: FEC, TRANSPORT_PROTOCOL, RELIABILITY

FieldTypeOptionalDescriptionDefault Value
StreamsStreamsNoThe Raft streams representing incoming data streams to be transmitted.
CarriersCarriersNoThe Raft carriers responsible for transporting data from the stream, protected with FEC and ARQ.

Streams

FieldTypeOptionalDescriptionDefault Value
InputStringYes
OutputStringYes
Stream HandleUint64NoUnique identifier for the stream, must match the stream handle on the receiving end.
TimeoutInt64NoTimeout for the stream in milliseconds.100
Delivery PolicyDelivery PolicyYesDetermines how packets are delivered on the stream. 'on_timeout' delivers packets in-order after the specified timeout, favoring playout synchronization. 'on_ordered' delivers strictly in-order as soon as prior packets are handled, minimizing latency while preserving order.0

Carriers

FieldTypeOptionalDescriptionDefault Value
InputStringNo
OutputStringNo
Carrier HandleUint64NoUnique identifier for the carrier, must match the carrier handle on the receiving end.