LiveStreamConfigurationIssue
extends Part
in package
This file is generated from spec/discovery.json (YouTube Data API v3, revision 20260924) by tools/generate.php. Do not edit it by hand - run `composer spec:build` instead.
Tags
Table of Contents
Constants
- SEVERITY_ERROR : mixed = 'error'
- A `severity` of `error`.
- SEVERITY_INFO : mixed = 'info'
- A `severity` of `info`.
- SEVERITY_WARNING : mixed = 'warning'
- A `severity` of `warning`.
- TYPE_AUDIO_BITRATE_HIGH : mixed = 'audioBitrateHigh'
- A `type` of `audioBitrateHigh`.
- TYPE_AUDIO_BITRATE_LOW : mixed = 'audioBitrateLow'
- A `type` of `audioBitrateLow`.
- TYPE_AUDIO_BITRATE_MISMATCH : mixed = 'audioBitrateMismatch'
- A `type` of `audioBitrateMismatch`.
- TYPE_AUDIO_CODEC : mixed = 'audioCodec'
- A `type` of `audioCodec`.
- TYPE_AUDIO_CODEC_MISMATCH : mixed = 'audioCodecMismatch'
- A `type` of `audioCodecMismatch`.
- TYPE_AUDIO_SAMPLE_RATE : mixed = 'audioSampleRate'
- A `type` of `audioSampleRate`.
- TYPE_AUDIO_SAMPLE_RATE_MISMATCH : mixed = 'audioSampleRateMismatch'
- A `type` of `audioSampleRateMismatch`.
- TYPE_AUDIO_STEREO_MISMATCH : mixed = 'audioStereoMismatch'
- A `type` of `audioStereoMismatch`.
- TYPE_AUDIO_TOO_MANY_CHANNELS : mixed = 'audioTooManyChannels'
- A `type` of `audioTooManyChannels`.
- TYPE_BAD_CONTAINER : mixed = 'badContainer'
- A `type` of `badContainer`.
- TYPE_BITRATE_HIGH : mixed = 'bitrateHigh'
- A `type` of `bitrateHigh`.
- TYPE_BITRATE_LOW : mixed = 'bitrateLow'
- A `type` of `bitrateLow`.
- TYPE_FRAME_RATE_HIGH : mixed = 'frameRateHigh'
- A `type` of `frameRateHigh`.
- TYPE_FRAMERATE_MISMATCH : mixed = 'framerateMismatch'
- A `type` of `framerateMismatch`.
- TYPE_GOP_MISMATCH : mixed = 'gopMismatch'
- A `type` of `gopMismatch`.
- TYPE_GOP_SIZE_LONG : mixed = 'gopSizeLong'
- A `type` of `gopSizeLong`.
- TYPE_GOP_SIZE_OVER : mixed = 'gopSizeOver'
- A `type` of `gopSizeOver`.
- TYPE_GOP_SIZE_SHORT : mixed = 'gopSizeShort'
- A `type` of `gopSizeShort`.
- TYPE_INTERLACED_VIDEO : mixed = 'interlacedVideo'
- A `type` of `interlacedVideo`.
- TYPE_MULTIPLE_AUDIO_STREAMS : mixed = 'multipleAudioStreams'
- A `type` of `multipleAudioStreams`.
- TYPE_MULTIPLE_VIDEO_STREAMS : mixed = 'multipleVideoStreams'
- A `type` of `multipleVideoStreams`.
- TYPE_NO_AUDIO_STREAM : mixed = 'noAudioStream'
- A `type` of `noAudioStream`.
- TYPE_NO_VIDEO_STREAM : mixed = 'noVideoStream'
- A `type` of `noVideoStream`.
- TYPE_OPEN_GOP : mixed = 'openGop'
- A `type` of `openGop`.
- TYPE_RESOLUTION_MISMATCH : mixed = 'resolutionMismatch'
- A `type` of `resolutionMismatch`.
- TYPE_VIDEO_BITRATE_MISMATCH : mixed = 'videoBitrateMismatch'
- A `type` of `videoBitrateMismatch`.
- TYPE_VIDEO_CODEC : mixed = 'videoCodec'
- A `type` of `videoCodec`.
- TYPE_VIDEO_CODEC_MISMATCH : mixed = 'videoCodecMismatch'
- A `type` of `videoCodecMismatch`.
- TYPE_VIDEO_INGESTION_FASTER_THAN_REALTIME : mixed = 'videoIngestionFasterThanRealtime'
- A `type` of `videoIngestionFasterThanRealtime`.
- TYPE_VIDEO_INGESTION_STARVED : mixed = 'videoIngestionStarved'
- A `type` of `videoIngestionStarved`.
- TYPE_VIDEO_INTERLACE_MISMATCH : mixed = 'videoInterlaceMismatch'
- A `type` of `videoInterlaceMismatch`.
- TYPE_VIDEO_PROFILE_MISMATCH : mixed = 'videoProfileMismatch'
- A `type` of `videoProfileMismatch`.
- TYPE_VIDEO_RESOLUTION_SUBOPTIMAL : mixed = 'videoResolutionSuboptimal'
- A `type` of `videoResolutionSuboptimal`.
- TYPE_VIDEO_RESOLUTION_UNSUPPORTED : mixed = 'videoResolutionUnsupported'
- A `type` of `videoResolutionUnsupported`.
Properties
- $description : string|null
- $reason : string|null
- $severity : string|null
- $type : string|null
- $casts : array<string, string>
- Attribute name => type token (`"LiveChatMessageSnippet"`, `"Array of Thumbnail"`, `"Map of VideoLocalization"`), used to hydrate nested objects into parts.
- $dates : array<int, string>
- Attribute names holding RFC 3339 timestamps, read back as {@see CarbonImmutable}. They are stored and serialised as the strings YouTube sent.
- $youtube : ?YouTube
Methods
- __construct() : mixed
- __debugInfo() : array<string, mixed>
- __get() : mixed
- __isset() : bool
- __set() : void
- __toString() : string
- __unset() : void
- attributeExists() : bool
- fill() : void
- getAttribute() : mixed
- getCasts() : array<string, string>
- getDates() : array<int, string>
- getRawAttribute() : mixed
- Reads straight from the attribute bag, skipping the `get{Key}Attribute` hook.
- getRawAttributes() : array<string, mixed>
- getYouTube() : YouTube
- The client this part came from.
- jsonSerialize() : array<string, mixed>
- The payload this part would be sent back to YouTube as: nested parts and collections flattened, timestamps as RFC 3339 strings.
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- setAttribute() : void
- factory() : Factory
- Builds another part from the same client - for nested objects.
- setRawAttribute() : void
- Writes straight to the attribute bag, skipping the `set{Key}Attribute` hook and any cast. For use *inside* a mutator, which would otherwise have no way to store its shaped value without recursing through {@see setAttribute()}.
Constants
SEVERITY_ERROR
A `severity` of `error`.
public
mixed
SEVERITY_ERROR
= 'error'
SEVERITY_INFO
A `severity` of `info`.
public
mixed
SEVERITY_INFO
= 'info'
SEVERITY_WARNING
A `severity` of `warning`.
public
mixed
SEVERITY_WARNING
= 'warning'
TYPE_AUDIO_BITRATE_HIGH
A `type` of `audioBitrateHigh`.
public
mixed
TYPE_AUDIO_BITRATE_HIGH
= 'audioBitrateHigh'
TYPE_AUDIO_BITRATE_LOW
A `type` of `audioBitrateLow`.
public
mixed
TYPE_AUDIO_BITRATE_LOW
= 'audioBitrateLow'
TYPE_AUDIO_BITRATE_MISMATCH
A `type` of `audioBitrateMismatch`.
public
mixed
TYPE_AUDIO_BITRATE_MISMATCH
= 'audioBitrateMismatch'
TYPE_AUDIO_CODEC
A `type` of `audioCodec`.
public
mixed
TYPE_AUDIO_CODEC
= 'audioCodec'
TYPE_AUDIO_CODEC_MISMATCH
A `type` of `audioCodecMismatch`.
public
mixed
TYPE_AUDIO_CODEC_MISMATCH
= 'audioCodecMismatch'
TYPE_AUDIO_SAMPLE_RATE
A `type` of `audioSampleRate`.
public
mixed
TYPE_AUDIO_SAMPLE_RATE
= 'audioSampleRate'
TYPE_AUDIO_SAMPLE_RATE_MISMATCH
A `type` of `audioSampleRateMismatch`.
public
mixed
TYPE_AUDIO_SAMPLE_RATE_MISMATCH
= 'audioSampleRateMismatch'
TYPE_AUDIO_STEREO_MISMATCH
A `type` of `audioStereoMismatch`.
public
mixed
TYPE_AUDIO_STEREO_MISMATCH
= 'audioStereoMismatch'
TYPE_AUDIO_TOO_MANY_CHANNELS
A `type` of `audioTooManyChannels`.
public
mixed
TYPE_AUDIO_TOO_MANY_CHANNELS
= 'audioTooManyChannels'
TYPE_BAD_CONTAINER
A `type` of `badContainer`.
public
mixed
TYPE_BAD_CONTAINER
= 'badContainer'
TYPE_BITRATE_HIGH
A `type` of `bitrateHigh`.
public
mixed
TYPE_BITRATE_HIGH
= 'bitrateHigh'
TYPE_BITRATE_LOW
A `type` of `bitrateLow`.
public
mixed
TYPE_BITRATE_LOW
= 'bitrateLow'
TYPE_FRAME_RATE_HIGH
A `type` of `frameRateHigh`.
public
mixed
TYPE_FRAME_RATE_HIGH
= 'frameRateHigh'
TYPE_FRAMERATE_MISMATCH
A `type` of `framerateMismatch`.
public
mixed
TYPE_FRAMERATE_MISMATCH
= 'framerateMismatch'
TYPE_GOP_MISMATCH
A `type` of `gopMismatch`.
public
mixed
TYPE_GOP_MISMATCH
= 'gopMismatch'
TYPE_GOP_SIZE_LONG
A `type` of `gopSizeLong`.
public
mixed
TYPE_GOP_SIZE_LONG
= 'gopSizeLong'
TYPE_GOP_SIZE_OVER
A `type` of `gopSizeOver`.
public
mixed
TYPE_GOP_SIZE_OVER
= 'gopSizeOver'
TYPE_GOP_SIZE_SHORT
A `type` of `gopSizeShort`.
public
mixed
TYPE_GOP_SIZE_SHORT
= 'gopSizeShort'
TYPE_INTERLACED_VIDEO
A `type` of `interlacedVideo`.
public
mixed
TYPE_INTERLACED_VIDEO
= 'interlacedVideo'
TYPE_MULTIPLE_AUDIO_STREAMS
A `type` of `multipleAudioStreams`.
public
mixed
TYPE_MULTIPLE_AUDIO_STREAMS
= 'multipleAudioStreams'
TYPE_MULTIPLE_VIDEO_STREAMS
A `type` of `multipleVideoStreams`.
public
mixed
TYPE_MULTIPLE_VIDEO_STREAMS
= 'multipleVideoStreams'
TYPE_NO_AUDIO_STREAM
A `type` of `noAudioStream`.
public
mixed
TYPE_NO_AUDIO_STREAM
= 'noAudioStream'
TYPE_NO_VIDEO_STREAM
A `type` of `noVideoStream`.
public
mixed
TYPE_NO_VIDEO_STREAM
= 'noVideoStream'
TYPE_OPEN_GOP
A `type` of `openGop`.
public
mixed
TYPE_OPEN_GOP
= 'openGop'
TYPE_RESOLUTION_MISMATCH
A `type` of `resolutionMismatch`.
public
mixed
TYPE_RESOLUTION_MISMATCH
= 'resolutionMismatch'
TYPE_VIDEO_BITRATE_MISMATCH
A `type` of `videoBitrateMismatch`.
public
mixed
TYPE_VIDEO_BITRATE_MISMATCH
= 'videoBitrateMismatch'
TYPE_VIDEO_CODEC
A `type` of `videoCodec`.
public
mixed
TYPE_VIDEO_CODEC
= 'videoCodec'
TYPE_VIDEO_CODEC_MISMATCH
A `type` of `videoCodecMismatch`.
public
mixed
TYPE_VIDEO_CODEC_MISMATCH
= 'videoCodecMismatch'
TYPE_VIDEO_INGESTION_FASTER_THAN_REALTIME
A `type` of `videoIngestionFasterThanRealtime`.
public
mixed
TYPE_VIDEO_INGESTION_FASTER_THAN_REALTIME
= 'videoIngestionFasterThanRealtime'
TYPE_VIDEO_INGESTION_STARVED
A `type` of `videoIngestionStarved`.
public
mixed
TYPE_VIDEO_INGESTION_STARVED
= 'videoIngestionStarved'
TYPE_VIDEO_INTERLACE_MISMATCH
A `type` of `videoInterlaceMismatch`.
public
mixed
TYPE_VIDEO_INTERLACE_MISMATCH
= 'videoInterlaceMismatch'
TYPE_VIDEO_PROFILE_MISMATCH
A `type` of `videoProfileMismatch`.
public
mixed
TYPE_VIDEO_PROFILE_MISMATCH
= 'videoProfileMismatch'
TYPE_VIDEO_RESOLUTION_SUBOPTIMAL
A `type` of `videoResolutionSuboptimal`.
public
mixed
TYPE_VIDEO_RESOLUTION_SUBOPTIMAL
= 'videoResolutionSuboptimal'
TYPE_VIDEO_RESOLUTION_UNSUPPORTED
A `type` of `videoResolutionUnsupported`.
public
mixed
TYPE_VIDEO_RESOLUTION_UNSUPPORTED
= 'videoResolutionUnsupported'
Properties
$description
public
string|null
$description
The long-form description of the issue and how to resolve it.
$reason
public
string|null
$reason
The short-form reason for this issue.
$severity
public
string|null
$severity
How severe this issue is to the stream. One of the SEVERITY_* constants.
$type
public
string|null
$type
The kind of error happening. One of the TYPE_* constants.
$casts
Attribute name => type token (`"LiveChatMessageSnippet"`, `"Array of Thumbnail"`, `"Map of VideoLocalization"`), used to hydrate nested objects into parts.
protected
array<string, string>
$casts
= []
$dates
Attribute names holding RFC 3339 timestamps, read back as {@see CarbonImmutable}. They are stored and serialised as the strings YouTube sent.
protected
array<int, string>
$dates
= []
$youtube read-only
protected
?YouTube
$youtube
= null
Methods
__construct()
public
__construct([YouTube|null $youtube = null ][, array<string, mixed>|object $attributes = [] ]) : mixed
Parameters
- $youtube : YouTube|null = null
-
The client, for behaviour that calls the API.
- $attributes : array<string, mixed>|object = []
__debugInfo()
public
__debugInfo() : array<string, mixed>
Return values
array<string, mixed>__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__set()
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
__toString()
public
__toString() : string
Return values
string__unset()
public
__unset(string $name) : void
Parameters
- $name : string
attributeExists()
public
attributeExists(string $key) : bool
Parameters
- $key : string
Return values
boolfill()
public
fill(array<string, mixed> $attributes) : void
Parameters
- $attributes : array<string, mixed>
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
- $key : string
getCasts()
public
getCasts() : array<string, string>
Return values
array<string, string>getDates()
public
getDates() : array<int, string>
Return values
array<int, string>getRawAttribute()
Reads straight from the attribute bag, skipping the `get{Key}Attribute` hook.
public
getRawAttribute(string $key) : mixed
Parameters
- $key : string
getRawAttributes()
public
getRawAttributes() : array<string, mixed>
Return values
array<string, mixed>getYouTube()
The client this part came from.
public
getYouTube() : YouTube
Tags
Return values
YouTubejsonSerialize()
The payload this part would be sent back to YouTube as: nested parts and collections flattened, timestamps as RFC 3339 strings.
public
jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
setAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
factory()
Builds another part from the same client - for nested objects.
protected
factory() : Factory
Return values
FactorysetRawAttribute()
Writes straight to the attribute bag, skipping the `set{Key}Attribute` hook and any cast. For use *inside* a mutator, which would otherwise have no way to store its shaped value without recursing through {@see setAttribute()}.
protected
setRawAttribute(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed