/api/srt/receiver-apply
Use the interface to set SRT RX.
Request Mode
POST /api/srt/receiver-apply
Name | Description |
---|---|
uid | Unique ID, non-0 value. |
enable | True: enable SRT. False: disable SRT. |
name | SRT RX 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 |
latency | Latency, in ms. |
mtu | MTU within [0,1500]. |
is-encrypted | True: encrypted; False: unencrypted. |
passphrase | Passphrase |
buffer-duration | Buffer time within [1,1000], in ms. |
headroom-db | Headroom, in decibels |
Response Body
{
"status": 0
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes. |