Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Channel Archive Heartbeat event #15885

Merged
merged 3 commits into from
Sep 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@
}
},
"type": "object",
"description": "Incoming video stream out of synch event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync event."
"description": "Incoming video stream out of sync event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync event."
},
"MediaLiveEventIncomingDataChunkDroppedEventData": {
"properties": {
Expand Down Expand Up @@ -867,6 +867,16 @@
"description": "Gets the track name.",
"readOnly": true
},
"transcriptionLanguage": {
"description": "Gets the Live Transcription language.",
"readOnly": true,
"type": "string"
},
"transcriptionState": {
"description": "Gets the Live Transcription state.",
"readOnly": true,
"type": "string"
},
"bitrate": {
"type": "integer",
"format": "int64",
Expand All @@ -879,6 +889,16 @@
"description": "Gets the incoming bitrate.",
"readOnly": true
},
"ingestDriftValue": {
"description": "Gets the track ingest drift value.",
"readOnly": true,
"type": "string"
},
"lastFragmentArrivalTime": {
"description": "Gets the arrival UTC time of the last fragment.",
"readOnly": true,
"type": "string"
},
"lastTimestamp": {
"type": "string",
"description": "Gets the last timestamp.",
Expand Down Expand Up @@ -924,7 +944,7 @@
}
},
"type": "object",
"description": "Ingest fragment dropped event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIngestHeartbeat event."
"description": "Ingest heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIngestHeartbeatEventData event."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some clarity here -
Did the event name change from LiveEventIngestHeartbeat to LiveEventIngestHeartbeatEventData? Or, is it just a documentation error?
cc: @Sanjidhalim

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Event name should not have changed. Seems like a documentation error. @xuepingd is driving the PR right now. She can correct this

},
"MediaLiveEventTrackDiscontinuityDetectedEventData": {
"properties": {
Expand Down Expand Up @@ -967,6 +987,26 @@
},
"type": "object",
"description": "Ingest track discontinuity detected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventTrackDiscontinuityDetected event."
},
"MediaLiveEventChannelArchiveHeartbeatEventData": {
"properties": {
"channelLatencyMs": {
"type": "string",
"description": "Gets the channel latency in ms.",
"readOnly": true
},
"latencyResultCode": {
"type": "string",
"description": "Gets the latency result code.",
"readOnly": true
}
},
"type": "object",
"required": [
"channelLatencyMs",
"latencyResultCode"
],
"description": "Channel Archive heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventChannelArchiveHeartbeatEventData event."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"topic": "/subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.Media/mediaservices/<account-name>",
"subject": "liveEvent/mle1",
"eventType": "Microsoft.Media.LiveEventChannelArchiveHeartbeat",
"eventTime": "2021-05-14T23:50:00.324",
"id": "7f450938-491f-41e1-b06f-c6cd3965d786",
"data": {
"channelLatencyMs": "10",
"latencyResultCode": "S_OK"
},
"dataVersion": "1.0",
"metadataVersion": "1"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[
{
"topic": "/subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.Media/mediaservices/<account-name>",
"subject": "liveEvent/mle1",
"eventType": "Microsoft.Media.LiveEventIngestHeartbeat",
"eventTime": "2021-05-14T23:50:00.324",
"id": "7f450938-491f-41e1-b06f-c6cd3965d786",
"data": {
"trackType": "video",
"trackName": "video",
"bitrate": 2500000,
"incomingBitrate": 2462597,
"lastTimestamp": "106999",
"timescale": "1000",
"overlapCount": 0,
"discontinuityCount": 0,
"nonincreasingCount": 0,
"unexpectedBitrate": false,
"state": "Running",
"healthy": true,
"lastFragmentArrivalTime": "2021-05-14T23:50:00.00",
"ingestDriftValue": "0",
"transcriptionState": "On",
"transcriptionLanguage": "en-us"
},
"dataVersion": "2.0",
"metadataVersion": "1"
}
]