SolarCapture C Bindings User Guide  SF-115721-CD
Issue 3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_repeater Node Reference

Replay packets in a loop.

Detailed Description

This node plays its input to its output multiple times. In all cases the input is buffered until the end-of-stream indication is seen, and then replaying to the output starts.

After the first play-out the packet timestamps are adjusted by a constant amount each time around so that the timestamp of the first packet comes after the previous. (This ensures that timestamps on the output are monotonically increasing, provided that the timestamps in the input are also monotonically increasing).

If the node has an incoming link named "recycle" then it is expected that this link receives packets from the output. In this mode the input is forwarded to the output without any copying. Otherwise the input is buffered and copied to the output.

Arguments

Argument Optional? Default Type Description
n_repeats Yes infinite SC_PARAM_INT Number of times to repeat the input to output