enable-server

Use this interface to turn on the stream session. By default, the newly added session is disabled.

Allow simultaneous sessions over the same streaming protocol, such as TS over RTP and TS over UDP, SRT Caller and SRT Listener.

  • Up to 6 sessions of TS over RTP and TS over UDP simultaneously.
  • Up to 6 sessions of SRT Caller and SRT Listener simultaneously, containing one SRT Listener session at most.
  • Up to 6 sessions of RTMP and RTMPS simultaneously. It means that as long as the destination server allows, RTMP/RTMPS video platforms such as Twitch, Facebook, YouTube can be streamed to at the same time with your accounts.
  • Stream only 1 session of HLS (push), RTSP, or NDI HX (NDI|HX2).

HTTP Request

GET http://ip/usapi?method=enable-server&id=1&is-use=1
Parameter Description
method enable-server
id Indicates the server ID, obtaining using get-settings.
is-use Indicates whether the server is enabled.
0: disable.
1: enabled.

Response Body

{
  "result": 0
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""