class Google::Apis::YoutubeV3::IngestionInfo
Describes information necessary for ingesting an RTMP or an HTTP stream.
Attributes
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` @return [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` @return [String]
This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams. Corresponds to the JSON property `rtmpsBackupIngestionAddress` @return [String]
This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams. Corresponds to the JSON property `rtmpsIngestionAddress` @return [String]
The HTTP or RTMP stream name that YouTube assigns to the video stream. Corresponds to the JSON property `streamName` @return [String]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 3330 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 3335 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) @rtmps_backup_ingestion_address = args[:rtmps_backup_ingestion_address] if args.key?(:rtmps_backup_ingestion_address) @rtmps_ingestion_address = args[:rtmps_ingestion_address] if args.key?(:rtmps_ingestion_address) @stream_name = args[:stream_name] if args.key?(:stream_name) end