Skip to content

Commit 509c891

Browse files
authored
Merge pull request #69201 from Juliako/patch-11
Update reacting-to-media-services-events.md
2 parents 89f3b27 + 7e7836c commit 509c891

File tree

3 files changed

+10
-23
lines changed

3 files changed

+10
-23
lines changed

articles/media-services/latest/job-state-events-cli-how-to.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ ms.author: juliako
1616

1717
# Create and monitor Media Services events with Event Grid using the Azure CLI
1818

19-
Azure Event Grid is an eventing service for the cloud. In this article, you use the Azure CLI to subscribe to events for your Azure Media Services account. Then, you trigger events to view the result. Typically, you send events to an endpoint that processes the event data and takes actions. In this article, you send the events to a web app that collects and displays the messages.
19+
Azure Event Grid is an eventing service for the cloud. This service uses [event subscriptions](../../event-grid/concepts.md#event-subscriptions) to route event messages to subscribers. Media Services events contain all the information you need to respond to changes in your data. You can identify a Media Services event because the eventType property starts with "Microsoft.Media.". For more information, see [Media Services event schemas](media-services-event-schemas.md).
20+
21+
In this article, you use the Azure CLI to subscribe to events for your Azure Media Services account. Then, you trigger events to view the result. Typically, you send events to an endpoint that processes the event data and takes actions. In this article, you send the events to a web app that collects and displays the messages.
2022

2123
## Prerequisites
2224

articles/media-services/latest/monitor-events-portal-how-to.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ ms.author: juliako
2020

2121
# Create and monitor Media Services events with Event Grid using the Azure portal
2222

23-
Azure Event Grid is an eventing service for the cloud. In this article, you use the Azure portal to subscribe to events for your Azure Media Services account. Then, you trigger events to view the result. Typically, you send events to an endpoint that processes the event data and takes actions. In this article, we send events to a web app that collects and displays the messages.
23+
Azure Event Grid is an eventing service for the cloud. This service uses [event subscriptions](../../event-grid/concepts.md#event-subscriptions) to route event messages to subscribers. Media Services events contain all the information you need to respond to changes in your data. You can identify a Media Services event because the eventType property starts with "Microsoft.Media.". For more information, see [Media Services event schemas](media-services-event-schemas.md).
24+
25+
In this article, you use the Azure portal to subscribe to events for your Azure Media Services account. Then, you trigger events to view the result. Typically, you send events to an endpoint that processes the event data and takes actions. In the article, we send events to a web app that collects and displays the messages.
2426

2527
When you're finished, you see that the event data has been sent to the web app.
2628

articles/media-services/latest/reacting-to-media-services-events.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,19 @@ editor: ''
1010
ms.service: media-services
1111
ms.workload:
1212
ms.topic: article
13-
ms.date: 10/16/2018
13+
ms.date: 03/12/2019
1414
ms.author: juliako
1515
---
16-
16+
1717
# Handling Event Grid events
1818

1919
Media Services events allow applications to react to different events (for example, the job state change event) using modern serverless architectures. It does so without the need for complicated code or expensive and inefficient polling services. Instead, events are pushed through [Azure Event Grid](https://azure.microsoft.com/services/event-grid/) to event handlers such as [Azure Functions](https://azure.microsoft.com/services/functions/), [Azure Logic Apps](https://azure.microsoft.com/services/logic-apps/), or even to your own Webhook, and you only pay for what you use. For information about pricing, see [Event Grid pricing](https://azure.microsoft.com/pricing/details/event-grid/).
2020

2121
Availability for Media Services events is tied to Event Grid [availability](../../event-grid/overview.md) and will become available in other regions as Event Grid does.
2222

23-
## Available Media Services events
24-
25-
Event grid uses [event subscriptions](../../event-grid/concepts.md#event-subscriptions) to route event messages to subscribers. Currently, Media Services event subscriptions can include the following events:
26-
27-
|Event Name|Description|
28-
|----------|-----------|
29-
| Microsoft.Media.JobStateChange| Raised when a state of the job changes. |
30-
| Microsoft.Media.LiveEventConnectionRejected | Encoder's connection attempt is rejected. |
31-
| Microsoft.Media.LiveEventEncoderConnected | Encoder establishes connection with live event. |
32-
| Microsoft.Media.LiveEventEncoderDisconnected | Encoder disconnects. |
33-
| Microsoft.Media.LiveEventIncomingDataChunkDropped | Media server drops data chunk because it's too late or has an overlapping timestamp (timestamp of new data chunk is less than the end time of the previous data chunk). |
34-
| Microsoft.Media.LiveEventIncomingStreamReceived | Media server receives first data chunk for each track in the stream or connection. |
35-
| Microsoft.Media.LiveEventIncomingStreamsOutOfSync | Media server detects audio and video streams are out of sync. Use as a warning because user experience may not be impacted. |
36-
| Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync | Media server detects any of the two video streams coming from external encoder are out of sync. Use as a warning because user experience may not be impacted. |
37-
| Microsoft.Media.LiveEventIngestHeartbeat | Published every 20 seconds for each track when live event is running. Provides ingest health summary. |
38-
| Microsoft.Media.LiveEventTrackDiscontinuityDetected | Media server detects discontinuity in the incoming track. |
39-
40-
## Event Schema
23+
## Media Services events and schemas
4124

42-
Media Services events contain all the information you need to respond to changes in your data. You can identify a Media Services event because the eventType property starts with "Microsoft.Media.".
25+
Event grid uses [event subscriptions](../../event-grid/concepts.md#event-subscriptions) to route event messages to subscribers. Media Services events contain all the information you need to respond to changes in your data. You can identify a Media Services event because the eventType property starts with "Microsoft.Media.".
4326

4427
For more information, see [Media Services event schemas](media-services-event-schemas.md).
4528

0 commit comments

Comments
 (0)