set-hls-push-segment

Added at V2.3

Use this interface to set number and duration of file segment for HLS (push).

Use the interface get-info to get the parameters as below.

{
  "living": {
    "hls-push": {
      seg-count: {},    // rang of number for file segment 
      seg-duration: {}  // rang of file segment duration
    },         
  }
}

HTTP Request

GET http://ip/usapi?method=set-hls-push-segment&seg-count=3&seg-duration=3
Parameter Description
method set-hls-push-segment
seg-count file segment count.
seg-duration file segment duration

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 ""