Skip to content

Commit ffe240e

Browse files
author
John Deutscher
committed
updated OnAdCue for RTMP - had wrong cue type.
1 parent d7a9b76 commit ffe240e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/media-services/media-services-specifications-live-timed-metadata.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,25 +228,25 @@ Individual events or their data payloads are NOT output directly in the HLS, DAS
228228
- If the timescale is not set in the EventStream element, the RTMP 1 kHz timescale is used by default
229229
- Delivery of an onUserDataEvent message is limited to once every 500ms max. If you send events more frequently, it can impact the bandwidth and the stability of the live feed
230230

231-
## 2.1.2 RTMP ad cue signaling with "onCuePoint"
231+
## 2.1.2 RTMP ad cue signaling with "onAdCue"
232232

233233
Azure Media Services can listen and respond to several [AMF0] message types which can be used to signal various real time synchronized metadata in the live stream. The [Adobe-Primetime] specification defines two cue types called "simple" and "SCTE-35" mode. For "simple" mode, Media Services supports a single AMF cue message called "onAdCue" using a payload that matches the table below defined for the "Simple Mode" signal.
234234

235235
The following section shows RTMP "simple" mode" payload, which can be used to signal a basic "spliceOut" ad signal that will be carried through to the client manifest for HLS, DASH, and Microsoft Smooth Streaming. This is very useful for scenarios where the customer does not have a complex SCTE-35 based ad signaling deployment or insertion system, and is using a basic on-premises encoder to send in the cue message via an API. Typically the on-premises encoder will support a REST based API to trigger this signal, which will also "splice-condition" the video stream by inserting an IDR frame into the video, and starting a new GOP.
236236

237-
## 2.1.3 RTMP ad cue signaling with "onCuePoint" - Simple Mode
237+
## 2.1.3 RTMP ad cue signaling with "onAdCue" - Simple Mode
238238

239239
| Field Name | Field Type | Required? | Descriptions |
240240
|------------|------------|----------|--------------------------------------------------------------------------------------------------------------------------|
241-
| cue | String | Required | The event message. Shall be "SpliceOut" to designate a simple mode splice. |
241+
| type | String | Required | The event message. Shall be "SpliceOut" to designate a simple mode splice. |
242242
| id | String | Required | A unique identifier describing the splice or segment. Identifies this instance of the message |
243243
| duration | Number | Required | The duration of the splice. Units are fractional seconds. |
244244
| elapsed | Number | Optional | When the signal is being repeated in order to support tune in, this field shall be the amount of presentation time that has elapsed since the splice began. Units are fractional seconds. When using simple mode, this value should not exceed the original duration of the splice. |
245245
| time | Number | Required | Shall be the time of the splice, in presentation time. Units are fractional seconds. |
246246

247247
---
248248

249-
## 2.1.4 RTMP ad cue signaling with "onCuePoint" - SCTE-35 Mode
249+
## 2.1.4 RTMP ad cue signaling with "onAdCue" - SCTE-35 Mode
250250

251251
When you are working with a more advanced broadcast production workflow that requires the full SCTE-35 payload message to be carried through to the HLS or DASH manifest, it is best to use the "SCTE-35 Mode" of the [Adobe-Primetime] specification. This mode supports in-band SCTE-35 signals being sent directly into an on-premises live encoder, which then encodes the signals out into the RTMP stream using the "SCTE-35 Mode" specified in the [Adobe-Primetime] specification.
252252

@@ -637,6 +637,7 @@ When testing your implementation with the Azure Media Services platform, please
637637
|----------|------------------------------------------------------------------------------------|
638638
| 07/2/19 | Revised RTMP ingest for SCTE35 support, added RTMP "onCuePoint" for Elemental Live |
639639
| 08/22/19 | Updated to add OnUserDataEvent to RTMP for custom metadata |
640+
| 1/08/20 | Fixed error on RTMP Simple and RTMP SCTE35 mode. Changed from "onCuePoint" to "onAdCue". Updated Simple mode table.|
640641

641642
## Next steps
642643
View Media Services learning paths.

0 commit comments

Comments
 (0)