/api/srt/sender-apply

Use the interface to set SRT TX.

Request Mode

POST /api/srt/sender-apply
Name Description
uid Unique ID, non-0 value.
enable True: enable SRT TX; False: disable SRT TX.
name SRT TX name.
mode SRT mode. 0: caller 1: listener
remote-ip Caller IP address.
remote-port Caller port.
bind-port Listener port.
stream-id Stream ID
connect-timeout Connect timeout, in ms.
retry-duration Retry duration, in ms.
latency Latency, in ms.
bandwidth Portion of the total bandwidth of a stream required for the exchange of SRT control and recovered packets.
mtu MTU within [0,1500].
enc Encryption mode.
0: not encrypted; 16: aes-128; 24: aes-192; 32: aes-256
passphrase Passphrase

Response Body

{
    "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes.

results matching ""

    No results matching ""