媒体服务直播活动错误代码Media Services Live Event error codes

媒体服务徽标 v3media services logo v3


本节中的表列出了直播活动错误代码。The tables in this section list the Live Event error codes.

LiveEventConnectionRejectedLiveEventConnectionRejected

订阅直播活动的事件网格事件时,可从 LiveEventConnectionRejected 事件中看到以下错误之一。When you subscribe to the Event Grid events for a live event, you may see one of the following errors from the LiveEventConnectionRejected event.

结果代码Result code 说明Description
MPE_RTMP_APPID_AUTH_FAILUREMPE_RTMP_APPID_AUTH_FAILURE 引入 URL 不正确Incorrect ingest URL
MPE_INGEST_ENCODER_CONNECTION_DENIEDMPE_INGEST_ENCODER_CONNECTION_DENIED 编码器 IP 在配置的 IP 允许列表中不存在Encoder IP isn't present in IP allow list configured
MPE_INGEST_RTMP_SETDATAFRAME_NOT_RECEIVEDMPE_INGEST_RTMP_SETDATAFRAME_NOT_RECEIVED RTMP 编码器未发送 setDataFrame 命令。The RTMP encoder did not send setDataFrame command.
MPE_INGEST_CODEC_NOT_SUPPORTEDMPE_INGEST_CODEC_NOT_SUPPORTED 不支持指定的编解码器。Codec specified isn't supported.
MPE_INGEST_DESCRIPTION_INFO_NOT_RECEIVEDMPE_INGEST_DESCRIPTION_INFO_NOT_RECEIVED 在实际媒体数据送达之前未收到媒体说明信息。The media description information was not received before the actual media data was delivered.
MPE_INGEST_MEDIA_QUALITIES_EXCEEDEDMPE_INGEST_MEDIA_QUALITIES_EXCEEDED 音频或视频类型的质量计数超过了允许的最大限制。The count of qualities for audio or video type exceeded the maximum allowed limit.
MPE_INGEST_BITRATE_AGGREGATED_EXCEEDEDMPE_INGEST_BITRATE_AGGREGATED_EXCEEDED 直播活动或频道服务中的总传入比特率超过了允许的最大限制。The total incoming bitrate in a live event or channel service exceeded the maximum allowed limit.
MPE_RTMP_FLV_TAG_TIMESTAMP_INVALIDMPE_RTMP_FLV_TAG_TIMESTAMP_INVALID RTMP 编码器中视频或音频 FLVTag 的时间戳无效。The timestamp for video or audio FLVTag is invalid from RTMP encoder.
MPE_INGEST_FRAMERATE_EXCEEDEDMPE_INGEST_FRAMERATE_EXCEEDED 传入的编码器引入流的帧速率超过了直播活动/频道编码所允许的最大值,即 30fps。The incoming encoder ingested streams with framerates exceeded the maximum allowed 30fps for encoding live events/channels.
MPE_INGEST_VIDEO_RESOLUTION_NOT_SUPPORTEDMPE_INGEST_VIDEO_RESOLUTION_NOT_SUPPORTED 传入的编码器引入流超过了以下允许的分辨率:1920x1088(直播活动/频道编码)和 4096x2160(直接传递直播活动/频道编码)。The incoming encoder ingested streams exceeded the following allowed resolutions: 1920x1088 for encoding live events/channels and 4096 x 2160 for pass-through live events/channels.
MPE_INGEST_RTMP_TOO_LARGE_UNPROCESSED_FLVMPE_INGEST_RTMP_TOO_LARGE_UNPROCESSED_FLV 直播活动同时接收了大量音频数据或大量没有任何关键帧的视频数据。The live event has received a large amount of audio data at once, or a large amount of video data without any key frames. 已断开编码器连接,以使其有机会使用正确的数据进行重试。We have disconnected the encoder in order to give it a chance to retry with correct data.

LiveEventEncoderDisconnectedLiveEventEncoderDisconnected

你可能会从 LiveEventEncoderDisconnected 事件中看到以下错误之一。You may see one of the following errors from the LiveEventEncoderDisconnected event.

结果代码Result code 说明Description
MPE_RTMP_SESSION_IDLE_TIMEOUTMPE_RTMP_SESSION_IDLE_TIMEOUT 在空闲时间达到允许的时间限制后,RTMP 会话超时。RTMP session timed out after being idle for allowed time limit.
MPE_RTMP_FLV_TAG_TIMESTAMP_INVALIDMPE_RTMP_FLV_TAG_TIMESTAMP_INVALID RTMP 编码器中视频或音频 FLVTag 的时间戳无效。The timestamp for video or audio FLVTag is invalid from RTMP encoder.
MPE_CAPACITY_LIMIT_REACHEDMPE_CAPACITY_LIMIT_REACHED 编码器发送数据的频率过快。Encoder sending data too fast.
未知错误代码Unknown error codes 这些错误代码的范围可能包括内存错误、哈希映射中包含重复条目,等等。These error codes can range from memory error to duplicate entries in hash map.

另请参阅See also

流式处理终结点(来源)错误代码Streaming Endpoint (Origin) error codes

后续步骤Next steps

教程:使用媒体服务进行实时流式传输Tutorial: Stream live with Media Services