Use the interface to modify the configuration of RTMP streaming server.

Request Mode

 POST http://ip/mwapi/update-rtmp
Parameter Description
id The server ID
type The server type. 1: RTMP
name The server name
url The URL of streaming destination
streamKey The stream key
autoSwitch Whether auto stream is enabled, if yes, it supports start streaming by pressing the specified button. True: yes, False: no.
authentication Whether authentication is required. True: yes, False: no.
userName The username, only taking effect when authentication is required.
password The password, only taking effect when authentication is required.
effective Whether the stream server configuration is complete. True: yes, False: no
encoder The parameters of encoder

Response Body

JSON structure is as follows:

  "status": 0,
Name Description
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 ""