Skip to main content

Set Stream Encoding Protocol

POST 

/param.cgi?post_media_video&protocol_:stream_num&:protocol

Function: Sets the encoding protocol for a stream.

Camera Compatibility:

  • Move 4K
  • Link 4K
  • Move SE (H264 and H265 only)

Example: Set Stream 1 encoding to H.265

curl:

  curl -X POST "http://CAMERA-IP/cgi-bin/param.cgi?post_media_video&protocol_1=H265" -H "Content-Length: 0"

JavaScript:

  fetch("http://CAMERA-IP/cgi-bin/param.cgi?post_media_video&protocol_1=H265", \{method: 'POST'\})

Example: Set Stream 2 encoding to H.264

curl:

  curl -X POST "http://CAMERA-IP/cgi-bin/param.cgi?post_media_video&protocol_2=H264" -H "Content-Length: 0"

JavaScript:

  fetch("http://CAMERA-IP/cgi-bin/param.cgi?post_media_video&protocol_2=H264", \{method: 'POST'\})

Request

Responses

The request has succeeded.