Skip to content

Commit b20e57a

Browse files
authored
Merge pull request #105584 from Juliako/patch-156
Update media-services-event-schemas.md
2 parents d8f5667 + 9ea68f3 commit b20e57a

File tree

2 files changed

+34
-27
lines changed

2 files changed

+34
-27
lines changed

articles/media-services/latest/live-event-error-codes.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,43 @@ ms.workload: media
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 02/21/2020
15+
ms.date: 02/25/2020
1616
ms.author: juliako
1717

1818
---
1919

2020
# Media Services Live Event error codes
2121

22-
The table below lists the [Live Event](live-events-outputs-concept.md) error codes:
22+
The tables in this section list the [Live Event](live-events-outputs-concept.md) error codes.
23+
24+
## LiveEventConnectionRejected
25+
26+
When you subscribe to the [Event Grid](https://docs.microsoft.com/azure/event-grid/) events for a live event, you may see one of the following errors from the [LiveEventConnectionRejected](media-services-event-schemas.md#liveeventconnectionrejected) event.
27+
28+
| Result code | Description |
29+
| ----------- | ----------- |
30+
| MPE_RTMP_APPID_AUTH_FAILURE | Incorrect ingest URL |
31+
| MPE_INGEST_ENCODER_CONNECTION_DENIED | Encoder IP isn't present in IP allow list configured |
32+
| MPE_INGEST_RTMP_SETDATAFRAME_NOT_RECEIVED | The RTMP encoder did not send setDataFrame command. |
33+
| MPE_INGEST_CODEC_NOT_SUPPORTED | Codec specified isn't supported. |
34+
| MPE_INGEST_DESCRIPTION_INFO_NOT_RECEIVED |The media description information was not received before the actual media data was delivered.|
35+
| MPE_INGEST_MEDIA_QUALITIES_EXCEEDED |The count of qualities for audio or video type exceeded the maximum allowed limit.|
36+
| MPE_INGEST_BITRATE_AGGREGATED_EXCEEDED |The total incoming bitrate in a live event or channel service exceeded the maximum allowed limit.|
37+
| MPE_RTMP_FLV_TAG_TIMESTAMP_INVALID | The timestamp for video or audio FLVTag is invalid from RTMP encoder. |
38+
| MPE_INGEST_FRAMERATE_EXCEEDED | The incoming encoder ingested streams with framerates exceeded the maximum allowed 30fps for encoding live events/channels.|
39+
| MPE_INGEST_VIDEO_RESOLUTION_NOT_SUPPORTED | 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.|
40+
41+
## LiveEventEncoderDisconnected
42+
43+
You may see one of the following errors from the [LiveEventEncoderDisconnected](media-services-event-schemas.md#liveeventencoderdisconnected) event.
44+
45+
|Result code|Description|
46+
|---|---|
47+
|MPE_RTMP_SESSION_IDLE_TIMEOUT|RTMP session timed out after being idle for allowed time limit.|
48+
|MPE_RTMP_FLV_TAG_TIMESTAMP_INVALID|The timestamp for video or audio FLVTag is invalid from RTMP encoder.|
49+
|MPE_CAPACITY_LIMIT_REACHED|Encoder sending data too fast.|
50+
|Unknown error codes|These error codes can range from memory error to duplicate entries in hash map.|
2351

24-
|Error|Description|
25-
|---|---|
26-
|MPE_INGEST_FRAMERATE_EXCEEDED|This error occurs when the incoming encoder is sending streams exceeding 30fps for encoding live events/channels.|
27-
|MPE_INGEST_VIDEO_RESOLUTION_NOT_SUPPORTED|This error occurs when the incoming encoder is sending streams exceeding the following resolutions: 1920x1088 for encoding live events/channels and 4096 x 2160 for pass-through live events/channels.|
2852

2953
## See also
3054

articles/media-services/latest/media-services-event-schemas.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ editor: ''
1010
ms.service: media-services
1111
ms.workload:
1212
ms.topic: reference
13-
ms.date: 01/07/2020
13+
ms.date: 02/25/2020
1414
ms.author: juliako
1515
---
1616

@@ -324,18 +324,7 @@ The data object has the following properties:
324324
| encoderPort | string | Port of the encoder from where this stream is coming. |
325325
| resultCode | string | The reason the connection was rejected. The result codes are listed in the following table. |
326326

327-
The result codes are:
328-
329-
| Result code | Description |
330-
| ----------- | ----------- |
331-
| MPE_RTMP_APPID_AUTH_FAILURE | Incorrect ingest URL |
332-
| MPE_INGEST_ENCODER_CONNECTION_DENIED | Encoder IP isn't present in IP allow list configured |
333-
| MPE_INGEST_RTMP_SETDATAFRAME_NOT_RECEIVED | Encoder didn't send metadata about the stream. |
334-
| MPE_INGEST_CODEC_NOT_SUPPORTED | Codec specified isn't supported. |
335-
| MPE_INGEST_DESCRIPTION_INFO_NOT_RECEIVED | Received a fragment before receiving and header for that stream. |
336-
| MPE_INGEST_MEDIA_QUALITIES_EXCEEDED | Number of qualities specified exceeds allowed max limit. |
337-
| MPE_INGEST_BITRATE_AGGREGATED_EXCEEDED | Aggregated bitrate exceeds max allowed limit. |
338-
| MPE_RTMP_FLV_TAG_TIMESTAMP_INVALID | The timestamp for video or audio FLVTag is invalid from RTMP encoder. |
327+
You can find the error result codes in [live Event error codes](live-event-error-codes.md).
339328

340329
### LiveEventEncoderConnected
341330

@@ -405,14 +394,7 @@ The data object has the following properties:
405394
| encoderPort | string | Port of the encoder from where this stream is coming. |
406395
| resultCode | string | The reason for the encoder disconnecting. It could be graceful disconnect or from an error. The result codes are listed in the following table. |
407396

408-
The error result codes are:
409-
410-
| Result code | Description |
411-
| ----------- | ----------- |
412-
| MPE_RTMP_SESSION_IDLE_TIMEOUT | RTMP session timed out after being idle for allowed time limit. |
413-
| MPE_RTMP_FLV_TAG_TIMESTAMP_INVALID | The timestamp for video or audio FLVTag is invalid from RTMP encoder. |
414-
| MPE_CAPACITY_LIMIT_REACHED | Encoder sending data too fast. |
415-
| Unknown Error Codes | These error codes can range from memory error to duplicate entries in hash map. |
397+
You can find the error result codes in [live Event error codes](live-event-error-codes.md).
416398

417399
The graceful disconnect result codes are:
418400

@@ -688,3 +670,4 @@ An event has the following top-level data:
688670

689671
- [EventGrid .NET SDK that includes Media Service events](https://www.nuget.org/packages/Microsoft.Azure.EventGrid/)
690672
- [Definitions of Media Services events](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json)
673+
- [Live Event error codes](live-event-error-codes.md)

0 commit comments

Comments
 (0)