/api/srt/sender-info

Use the interface to obtain SRT TX information.

Request Mode

POST /api/srt/sender-info

Response Body

{
    "status": 0,
    "srt": [
        {
            "uid": 1,
            "enable": true,
            "name": "srt_01",
            "mode": 1,
            "remote-ip": "",
            "remote-port": 8000,
            "bind-port": 10000,
            "stream-id": "1",
            "connect-timeout": 3000,
            "retry-duration": 3000,
            "latency": 120,
            "bandwidth": 25,
            "mtu": 1500,
            "enc": 0,
            "passphrase": "",
            "report": {
                "living-time-ms": 8970,
                "mode": "listener",
                "module-name": "mws_srt_sink_0",
                "module-type": 114,
                "num-clients": 0
            }
        }
    ]
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes.
srt[i].uid Unique ID, non-0 value.
srt[i].enable True: enable SRT. False: disable SRT.
srt[i].name SRT TX name.
srt[i].mode SRT mode. 0: caller 1: listener
srt[i].remote-ip Caller IP address.
srt[i].remote-port Caller port.
srt[i].bind-port Listener port.
srt[i].stream-id Stream ID
srt[i].connect-timeout Connect timeout, in ms.
srt[i].retry-duration Retry duration, in ms.
srt[i].latency Latency, in ms.
srt[i].bandwidth Portion of the total bandwidth of a stream required for the exchange of SRT control and recovered packets.
srt[i].mtu MTU within [0.1500].
srt[i].enc Encryption mode.
0: unencrypted; 16: aes-128; 24: aes-192; 32: aes-256
srt[i].passphrase Passphrase
srt[i].enable-logo True: display logo image. False: not to display logo image.
srt[i].report Running report.

results matching ""

    No results matching ""