Class: Google::Apis::YoutubeV3::IngestionInfo
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::IngestionInfo
- 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 more...
Overview
Describes information necessary for ingesting an RTMP or an HTTP stream.
Instance Attribute Summary collapse
-
#backup_ingestion_address ⇒ String
The backup ingestion URL that you should use to stream video to YouTube.
-
#ingestion_address ⇒ String
The primary ingestion URL that you should use to stream video to YouTube.
-
#stream_name ⇒ String
The HTTP or RTMP stream name that YouTube assigns to the video stream.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IngestionInfo
constructor
A new instance of IngestionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IngestionInfo
Returns a new instance of IngestionInfo
3314 3315 3316 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_ingestion_address ⇒ String
The backup ingestion URL that you should use to stream video to YouTube. You
have the option of simultaneously streaming the content that you are sending
to the ingestionAddress to this URL.
Corresponds to the JSON property backupIngestionAddress
3297 3298 3299 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3297 def backup_ingestion_address @backup_ingestion_address end |
#ingestion_address ⇒ String
The primary ingestion URL that you should use to stream video to YouTube. You
must stream video to this URL.
Depending on which application or tool you use to encode your video stream,
you may need to enter the stream URL and stream name separately or you may
need to concatenate them in the following format:
STREAM_URL/STREAM_NAME
Corresponds to the JSON property ingestionAddress
3307 3308 3309 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3307 def ingestion_address @ingestion_address end |
#stream_name ⇒ String
The HTTP or RTMP stream name that YouTube assigns to the video stream.
Corresponds to the JSON property streamName
3312 3313 3314 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3312 def stream_name @stream_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3319 3320 3321 3322 3323 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3319 def update!(**args) @backup_ingestion_address = args[:backup_ingestion_address] if args.key?(:backup_ingestion_address) @ingestion_address = args[:ingestion_address] if args.key?(:ingestion_address) @stream_name = args[:stream_name] if args.key?(:stream_name) end |