Resource: LiveCuepoint
A cuepoint resource represents a specific marker at a certain time of the live broadcast, which can trigger a given event, for example, showing an ad or a slate.
JSON representation |
---|
{
"kind": string,
"settings": {
object ( |
Fields | |
---|---|
kind |
The type of the API resource. For |
settings |
The |
id |
A value that YouTube assigns to uniquely identify the cuepoint. |
broadcastId |
The ID that YouTube assigns to uniquely identify the broadcast into which the cuepoint is being inserted. |
CuepointSettings
A cuepoint settings resource includes all of the detailed settings for a cuepoint.
JSON representation |
---|
{ "offsetTimeMs": string, "cueType": string, "durationSecs": integer, "walltime": string } |
Fields | |
---|---|
offsetTimeMs |
This value specifies a point in time in the video when viewers should see an ad or in-stream slate. The property value identifies a time offset, in milliseconds, from the beginning of the monitor stream. Though measured in milliseconds, the value is actually an approximation, and YouTube will insert the cuepoint as closely as possible to that time. You should not specify a value for this parameter if your broadcast does not have a monitor stream. |
cueType |
The cuepoint's type. See the Getting started guide for an explanation of the different types of cuepoints. Also see the Life of a broadcast document for best practices about inserting cuepoints during your broadcast. |
durationSecs |
The cuepoint's duration, in seconds. This value must be specified if the cueType is |
walltime |
This value specifies the wall clock time at which the cuepoint should be inserted. The value is specified in ISO 8601 ( |
Methods |
|
---|---|
|
Inserts a cuepoint into a live broadcast. |