InvalidParameter.OtherError error occurs when stream mixing is initiated.
The following describes common troubleshooting methods for suberror codes.
"Message":"InnerErrCode : [ -10021 ],IrnerErrMsg: [ Params Error ]"
The stream mixing backend only supports streams with both image width and height below 2000 px.
-10021 error will occur if the width or height of an input stream image exceeds 2000 px.
1920 x 1080, which will not cause an error.
ffplay -i "playback URL".
"Message":"InnerErrCode:[ -41 ],InnerErrMsg: [ ]"
The stream mixing backend only supports 20 concurrent channels for one stream. Normally, it is necessary to use the same stream as the input to multiple stream mixing sessions only when multiple hosts are broadcasting for live sale.
Suppose a host creates a stream mixing session, and then exits the session without canceling it. The same stream name will be used by multiple stream mixing sessions if the host enter other sessions, which will trigger this error.
When a stream mixing session is interrupted, the stream mixing screen will stop at the last frame if the background stream is not interrupted. You can call the
CancelCommonMixStream API to make the last frame not to stay on the screen. If the background stream is interrupted, the entire screen will be stuck.
"Message":"InnerErrCode:[ -4 ],InnerErrMsg: [ get liveconfig failed! ]"
This error will occur when you use an account with the legacy console (channel mode) to call v3.0 API CreateCommonMixStream.
You can upgrade the CSS console to the latest version (live stream code mode) to fix this error.
"Message":"input stream num is not match the template id!"
This error will occur if you use a default stream mixing template provided by Tencent Cloud, yet the output stream does not meet the requirements of the template.
For example, if you use the template 10, you must have two input streams; if you use the template 390, you must have three input streams, which can be two audio/video streams and one background stream.
For details about parameters and directions, please see CreateCommonMixStream API > MixStreamTemplateId.
"Message":"InnerErrCode:[ -300 ],InnerErrMsg: [ outputstreamid not avaliable, outputstreamid alread use as background in other sessionid ]"
This error will occur if the name of stream A is used as the name of the background stream and output stream of session A, and session B initiated later also use the same output steam name.
You can set a different
OutputStreamName for session B to fix this error.
"Message": "InnerErrCode:[ -2 ],InnerErrMsg: [ small picture out of the background ]"
This error will occur if part of a small image is outside the background image. Suppose the resolutions of the background image and a small image are
1280*720, respectively. If
LocationX (input image X-axis offset in the output image) + 1280 > 1920
(input image Y-axis offset in the output image) + 720 > 1080, this error will occur.
LocationX, please see CommonMixLayoutParams > LocationX.
LocationY, please see CommonMixLayoutParams > LocationX.
"Message": "InnerErrCode:[ -111 ],InnerErrMsg: [ output_stream_type is ,but output_stream_id xxxxx is not in input stream list ]"
This error will occur when the OutputStreamType is set to the default value
0 (using one of the input stream names as the output stream name), yet the actual output stream name is not in the input stream list.
0or leave it empty, you need to set
OutputStreamNameto one of the input stream names.
1, you cannot set
OutputStreamNameto any stream names in both
InputStreamListand the live streaming backend.