SrtConnectionAccept

Message acknowledging that an SRT connection has been accepted, and arranging source name mapping.

Field

Type

Repeated

Description

stream_index

int32

The stream index as given in the connect message

source_name

string

The source name to assign to the connection

replace_if_source_name_in_use

bool

What to do when the source name is already held by another live connection on this input (e.g. the previous connection died abruptly and is still within its idle-timeout window when the publisher reconnects). false (default): reject this new connection — an established stream can never be displaced by a newcomer. true: tear the existing connection down first and let this one take over (appropriate when the client has judged the incumbent dead, e.g. from its connection-health stall signals).