# Function Description

To intercept m3u8 according to trimIn and trimOut

# Request

# request example

POST /ffmpeg/interceptM3u8 HTTPS
Host: <host>
Content-Type: application/json

# Request Headers

none

# Request Body

request body is Json character string,for example:

{
  "uuid": "aaa-bbb-ccc-ddd",
  "interceptM3u8Url": "http://a.m3u8",
  "trimIn": 12345,
  "trimOut": 54321
}

# Response

# Response Header

No special response header

# Response Body

Successful Response Body :

{
  "code": 0,
  "data": {
    "resultM3u8Url": "http://result.m3u8"
  },
  "msg": "success"
}
{
  "code": 2,
  "data": "",
  "msg": "uuid repeat"
}

Failed Response Body

{
  "code": <errorCode>,
  "data": "",
  "msg": <errorMessage>
}