public final class IngestionInfo extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
IngestionInfo() |
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 HTTP or RTMP 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 HTTP or RTMP stream name that YouTube assigns to the video stream.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getBackupIngestionAddress()
null
for nonepublic IngestionInfo setBackupIngestionAddress(String backupIngestionAddress)
backupIngestionAddress
- backupIngestionAddress or null
for nonepublic String getIngestionAddress()
null
for nonepublic IngestionInfo setIngestionAddress(String ingestionAddress)
ingestionAddress
- ingestionAddress or null
for nonepublic String getRtmpsBackupIngestionAddress()
null
for nonepublic IngestionInfo setRtmpsBackupIngestionAddress(String rtmpsBackupIngestionAddress)
rtmpsBackupIngestionAddress
- rtmpsBackupIngestionAddress or null
for nonepublic String getRtmpsIngestionAddress()
null
for nonepublic IngestionInfo setRtmpsIngestionAddress(String rtmpsIngestionAddress)
rtmpsIngestionAddress
- rtmpsIngestionAddress or null
for nonepublic String getStreamName()
null
for nonepublic IngestionInfo setStreamName(String streamName)
streamName
- streamName or null
for nonepublic IngestionInfo set(String fieldName, Object value)
set
in class GenericJson
public IngestionInfo clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.