Class: Google::Apis::YoutubeV3::MonitorStreamInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::MonitorStreamInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
 generated/google/apis/youtube_v3/representations.rb,
 generated/google/apis/youtube_v3/representations.rb
Overview
Settings and Info of the monitor stream
Instance Attribute Summary collapse
- 
  
    
      #broadcast_stream_delay_ms  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. 
- 
  
    
      #embed_html  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    HTML code that embeds a player that plays the monitor stream. 
- 
  
    
      #enable_monitor_stream  ⇒ Boolean 
    
    
      (also: #enable_monitor_stream?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    This value determines whether the monitor stream is enabled for the broadcast. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MonitorStreamInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MonitorStreamInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MonitorStreamInfo
Returns a new instance of MonitorStreamInfo
| 5164 5165 5166 | # File 'generated/google/apis/youtube_v3/classes.rb', line 5164 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#broadcast_stream_delay_ms ⇒ Fixnum
If you have set the enableMonitorStream property to true, then this property
determines the length of the live broadcast delay.
Corresponds to the JSON property broadcastStreamDelayMs
| 5143 5144 5145 | # File 'generated/google/apis/youtube_v3/classes.rb', line 5143 def broadcast_stream_delay_ms @broadcast_stream_delay_ms end | 
#embed_html ⇒ String
HTML code that embeds a player that plays the monitor stream.
Corresponds to the JSON property embedHtml
| 5148 5149 5150 | # File 'generated/google/apis/youtube_v3/classes.rb', line 5148 def @embed_html end | 
#enable_monitor_stream ⇒ Boolean Also known as: enable_monitor_stream?
This value determines whether the monitor stream is enabled for the broadcast.
If the monitor stream is enabled, then YouTube will broadcast the event
content on a special stream intended only for the broadcaster's consumption.
The broadcaster can use the stream to review the event content and also to
identify the optimal times to insert cuepoints.
You need to set this value to true if you intend to have a broadcast delay for
your event.
Note: This property cannot be updated once the broadcast is in the testing or
live state.
Corresponds to the JSON property enableMonitorStream
| 5161 5162 5163 | # File 'generated/google/apis/youtube_v3/classes.rb', line 5161 def enable_monitor_stream @enable_monitor_stream end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5169 5170 5171 5172 5173 | # File 'generated/google/apis/youtube_v3/classes.rb', line 5169 def update!(**args) @broadcast_stream_delay_ms = args[:broadcast_stream_delay_ms] if args.key?(:broadcast_stream_delay_ms) @embed_html = args[:embed_html] if args.key?(:embed_html) @enable_monitor_stream = args[:enable_monitor_stream] if args.key?(:enable_monitor_stream) end |