Block Connection
Once blocks are created, they can be connected in pairs. The connection can be done in any order and can be intermingled with creation of the blocks.
NvSciError
NvSciStreamBlockConnect(
NvSciStreamBlock const upstream,
NvSciStreamBlock const downstream
)

An available output of the upstream block is connected to an available input of the downstream block. If there is no available output or input, the function fails. Each input and output block can be connected only once. A new block cannot be connected in place of an old one, even if the old one is destroyed.