/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. False: disable SRT.
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 milliseconds.
retry-duration Retry duration in milliseconds.
latency Latency in milliseconds.
bandwidth Percentage of the total bandwidth of a stream required for the exchange of SRT control and recovered packets.
mtu MTU within [0,1500].
enc Encryption algorithms include 0: unencrypted; 16: aes-128; 24: aes-192; 32: aes-256
passphrase Encryption passphrase.
enable-logo True: display logo image. False: not to display logo image.

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 ""