Domain name for API request: mps.intl.tencentcloudapi.com.
This API is used to modify a media quality inspection template.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: ModifyQualityControlTemplate. |
Version | Yes | String | Common Params. The value used for this API: 2019-06-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
Definition | Yes | Integer | Unique identifier of a media quality inspection template. |
Name | No | String | Media quality inspection template name, with a length limit of 64 characters. |
Comment | No | String | Template description, with a length limit of 256 characters. |
QualityControlItemSet.N | No | Array of QualityControlItemConfig | Media quality inspection configuration parameters. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mps.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyQualityControlTemplate
<Common request parameters>
{
"Definition": 200090,
"Name": "example2",
"Comment": "",
"QualityControlItemSet": [
{
"Type": "LowEvaluation",
"Switch": "OFF",
"Threshold": "60",
"Duration": 0,
"IntervalTime": 1000
},
{
"Type": "Mosaic",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "CrashScreen",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "Blur",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "BlackWhiteEdge",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "LowLighting",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "HighLighting",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "NoVoice",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "LowVoice",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "HighVoice",
"Switch": "OFF",
"Duration": 0,
"IntervalTime": 0
},
{
"Type": "VideoResolutionChanged",
"Switch": "ON"
},
{
"Type": "AudioSampleRateChanged",
"Switch": "ON"
},
{
"Type": "AudioChannelsChanged",
"Switch": "ON"
},
{
"Type": "ParameterSetsChanged",
"Switch": "ON"
},
{
"Type": "DarOrSarInvalid",
"Switch": "ON"
},
{
"Type": "TimestampFallback",
"Switch": "ON"
},
{
"Type": "DtsJitter",
"Switch": "ON"
},
{
"Type": "PtsJitter",
"Switch": "ON"
},
{
"Type": "AACDurationDeviation",
"Switch": "ON"
},
{
"Type": "AudioDroppingFrames",
"Switch": "ON"
},
{
"Type": "VideoDroppingFrames",
"Switch": "ON"
},
{
"Type": "AVTimestampInterleave",
"Switch": "ON"
},
{
"Type": "PtsLessThanDts",
"Switch": "ON"
},
{
"Type": "ReceiveFpsJitter",
"Switch": "ON"
},
{
"Type": "ReceiveFpsTooSmall",
"Switch": "ON"
},
{
"Type": "FpsJitter",
"Switch": "ON"
},
{
"Type": "StreamOpenFailed",
"Switch": "ON"
},
{
"Type": "StreamEnd",
"Switch": "ON"
},
{
"Type": "StreamParseFailed",
"Switch": "ON"
},
{
"Type": "VideoFirstFrameNotIdr",
"Switch": "ON"
},
{
"Type": "StreamNALUError",
"Switch": "ON"
},
{
"Type": "TsStreamNoAud",
"Switch": "ON"
},
{
"Type": "AudioStreamLack",
"Switch": "ON"
},
{
"Type": "VideoStreamLack",
"Switch": "ON"
},
{
"Type": "LackAudioRecover",
"Switch": "ON"
},
{
"Type": "LackVideoRecover",
"Switch": "ON"
},
{
"Type": "VideoBitrateOutofRange",
"Switch": "ON"
},
{
"Type": "AudioBitrateOutofRange",
"Switch": "ON"
},
{
"Type": "VideoDecodeFailed",
"Switch": "ON"
},
{
"Type": "AudioDecodeFailed",
"Switch": "ON"
},
{
"Type": "AudioOutOfPhase",
"Switch": "ON"
},
{
"Type": "VideoDuplicatedFrame",
"Switch": "ON"
},
{
"Type": "AudioDuplicatedFrame",
"Switch": "ON"
},
{
"Type": "VideoRotation",
"Switch": "ON"
},
{
"Type": "TsMultiPrograms",
"Switch": "ON"
},
{
"Type": "Mp4InvalidCodecFourcc",
"Switch": "ON"
},
{
"Type": "HLSBadM3u8Format",
"Switch": "ON"
},
{
"Type": "HLSInvalidMasterM3u8",
"Switch": "ON"
},
{
"Type": "HLSInvalidMediaM3u8",
"Switch": "ON"
},
{
"Type": "HLSMasterM3u8Recommended",
"Switch": "ON"
},
{
"Type": "HLSMediaM3u8Recommended",
"Switch": "ON"
},
{
"Type": "HLSMediaM3u8DiscontinuityExist",
"Switch": "ON"
},
{
"Type": "HLSMediaSegmentsStreamNumChange",
"Switch": "ON"
},
{
"Type": "HLSMediaSegmentsPTSJitterDeviation",
"Switch": "ON"
},
{
"Type": "HLSMediaSegmentsDTSJitterDeviation",
"Switch": "ON"
},
{
"Type": "TimecodeTrackExist",
"Switch": "ON"
}
]
}
{
"Response": {
"RequestId": "7c43b64a-8f21-4c2e-ab6e-a490ee5c439d"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error. |
InvalidParameter | Parameter error. |
InvalidParameterValue | Incorrect parameter value. |
InvalidParameterValue.EmptyDetectItem | The enabled detection items of the template are empty. |
InvalidParameterValue.UnknownCategory | Unknown detection category. |
ResourceNotFound.TemplateNotExist | The resource does not exist: the template does not exist. |
Was this page helpful?