target.apidocs.com.google.api.services.youtube.model.IngestionInfo.html Maven / Gradle / Ivy
IngestionInfo (YouTube Data API v3 v3-rev20240417-2.0.0)
com.google.api.services.youtube.model
Class IngestionInfo
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.IngestionInfo
-
public final class IngestionInfo
extends com.google.api.client.json.GenericJson
Describes information necessary for ingesting an RTMP, HTTP, or SRT stream.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
IngestionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
IngestionInfo
clone()
String
getBackupIngestionAddress()
The backup ingestion URL that you should use to stream video to YouTube.
String
getIngestionAddress()
The primary ingestion URL that you should use to stream video to YouTube.
String
getRtmpsBackupIngestionAddress()
This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS.
String
getRtmpsIngestionAddress()
This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS.
String
getStreamName()
The stream name that YouTube assigns to the video stream.
IngestionInfo
set(String fieldName,
Object value)
IngestionInfo
setBackupIngestionAddress(String backupIngestionAddress)
The backup ingestion URL that you should use to stream video to YouTube.
IngestionInfo
setIngestionAddress(String ingestionAddress)
The primary ingestion URL that you should use to stream video to YouTube.
IngestionInfo
setRtmpsBackupIngestionAddress(String rtmpsBackupIngestionAddress)
This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS.
IngestionInfo
setRtmpsIngestionAddress(String rtmpsIngestionAddress)
This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS.
IngestionInfo
setStreamName(String streamName)
The stream name that YouTube assigns to the video stream.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBackupIngestionAddress
public String getBackupIngestionAddress()
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.
- Returns:
- value or
null
for none
-
setBackupIngestionAddress
public IngestionInfo setBackupIngestionAddress(String backupIngestionAddress)
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.
- Parameters:
backupIngestionAddress
- backupIngestionAddress or null
for none
-
getIngestionAddress
public String getIngestionAddress()
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*
- Returns:
- value or
null
for none
-
setIngestionAddress
public IngestionInfo setIngestionAddress(String ingestionAddress)
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*
- Parameters:
ingestionAddress
- ingestionAddress or null
for none
-
getRtmpsBackupIngestionAddress
public String getRtmpsBackupIngestionAddress()
This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS.
Not applicable to non-RTMP streams.
- Returns:
- value or
null
for none
-
setRtmpsBackupIngestionAddress
public IngestionInfo setRtmpsBackupIngestionAddress(String rtmpsBackupIngestionAddress)
This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS.
Not applicable to non-RTMP streams.
- Parameters:
rtmpsBackupIngestionAddress
- rtmpsBackupIngestionAddress or null
for none
-
getRtmpsIngestionAddress
public String getRtmpsIngestionAddress()
This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not
applicable to non-RTMP streams.
- Returns:
- value or
null
for none
-
setRtmpsIngestionAddress
public IngestionInfo setRtmpsIngestionAddress(String rtmpsIngestionAddress)
This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not
applicable to non-RTMP streams.
- Parameters:
rtmpsIngestionAddress
- rtmpsIngestionAddress or null
for none
-
getStreamName
public String getStreamName()
The stream name that YouTube assigns to the video stream.
- Returns:
- value or
null
for none
-
setStreamName
public IngestionInfo setStreamName(String streamName)
The stream name that YouTube assigns to the video stream.
- Parameters:
streamName
- streamName or null
for none
-
set
public IngestionInfo set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public IngestionInfo clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy