Package com.wowza.wms.pushpublish.model
Class PushPublishHTTPYouTubeBase
Object
com.wowza.wms.pushpublish.model.PushPublishBase
com.wowza.wms.pushpublish.model.PushPublishHTTPBase
com.wowza.wms.pushpublish.model.PushPublishHTTPYouTubeBase
- All Implemented Interfaces:
IPushPublish
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class<PushPublishHTTPYouTubeBase>
static final String
protected int
protected boolean
protected String
protected String
protected String
protected String
protected int
protected int
protected String
protected int
protected boolean
protected boolean
protected String
static final String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class com.wowza.wms.pushpublish.model.PushPublishHTTPBase
CACHE_CONTROL_FACTOR, CACHE_CONTROL_HEADER, CACHE_CONTROL_HEADER_KEY, CACHE_CONTROL_HEADER_NONE, CACHE_CONTROL_MEDIA_DEFAULT, httpLogManifests, httpManifestDebug, INDETERMINATE_PLAYLIST_COUNT, maxSegmentCountFromMap, maxSegmentCountFromPacketizer, MIN_PLAYLIST_COUNT, playlistAcrossSessions, playlistBaseUrl, playlistCountFromMap, playlistCountFromPacketizer, playlistCrossName, playlistDurationFromMap, playlistMap, playlistName, playlistTimeout, relativePlaylists
Fields inherited from class com.wowza.wms.pushpublish.model.PushPublishBase
appInstance, className, DESTINATION_BAK, DESTINATION_PRI, DESTINATION_RED, destinationName, destinationServer, dstStreamName, entryName, hostname, inetAddr, isAdaptiveStreaming, isExternalRedundancy, logger, mImplementation, myMap, password, playbackHostname, port, profile, properties, pushPublishSession, pushPublishStreamDebug, pushPublishType, reconnectWaitTime, sendingPerformance, srcStream, srcStreamName, totalIOPerformance2Last, totalIOPerformanceLast, userName
Fields inherited from interface com.wowza.wms.pushpublish.model.IPushPublish
CONNECTED_STATE_CONNECTED, CONNECTED_STATE_CONNECTING, CONNECTED_STATE_NOT_CONNECTED, CONNECTED_STATE_WAITING, PUSHPUBLISH_MAP_PATH_FIELD_NAME, PUSHPUBLISH_TYPE_CUPERTINO, PUSHPUBLISH_TYPE_MPEGDASH, PUSHPUBLISH_TYPE_NOTIFY_PACKET, PUSHPUBLISH_TYPE_RTMP, PUSHPUBLISH_TYPE_RTP, PUSHPUBLISH_TYPE_RTP_BUFFERED, PUSHPUBLISH_TYPE_SANJOSE, PUSHPUBLISH_TYPE_SRT, PUSHPUBLISH_TYPE_UNKNOWN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDestinationAdaptiveGroupPath
(String groupName) getDestinationAdaptiveGroupURL
(String groupName) int
int
int
protected String
getYouTubePlaybackAdaptiveGroupURL
(String groupName) void
init
(IApplicationInstance appInstance, String streamName, IMediaStream stream, Map<String, String> profileData, Map<String, String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean streamDebug) Inits the instance.boolean
boolean
boolean
boolean
boolean
boolean
void
Loads map and profile parametersvoid
void
setConnectionTimeout
(int connectionTimeout) void
setDeleteSentChunks
(boolean deleteSentChunks) void
setFakePosts
(boolean fakePosts) void
setMaxRetries
(int maxRetries) void
setReadWriteTimeout
(int readTimeout) void
setReuseSockets
(boolean reuseSockets) void
setSendToBackupServer
(boolean sendToBackupServer) void
setUserAgent
(String userAgent) void
setYouTubeEventName
(String youtubeEventName) void
setYouTubeHostId
(String youtubeHostId) void
setYouTubePlaybackURLPrefix
(String youtubePlaybackURLPrefix) void
setYouTubeStreamId
(String youtubeStreamId) Methods inherited from class com.wowza.wms.pushpublish.model.PushPublishHTTPBase
getAdaptiveGroupName, getMaxSegmentCount, getPlaylistBaseUrl, getPlaylistCount, getPlaylistMap, getPlaylistTimeout, isInAdaptiveGroup, isLogDebugManifest, isPlaylistAcrossSessions, isRelativePlaylists, logDebugManifest, setAdaptiveGroupName, setLiveStreamPacketizer, setMaxSegmentCountFromMap, setMaxSegmentCountFromPacketizer, setPlaylistAcrossSessions, setPlaylistBaseUrl, setPlaylistCountFromMap, setPlaylistCountFromPacketizer, setPlaylistTimeout, setRelativePlaylists
Methods inherited from class com.wowza.wms.pushpublish.model.PushPublishBase
add, addIOPerformance2, clearLoggingValues, createPushPublishSession, getAppInstance, getBandwidth, getBaseParams, getContextStr, getDestinationID, getDestinationName, getDestinationServer, getDstStreamName, getEntryName, getHostname, getImplementation, getInetAddr, getMap, getMessagesOutBytes, getMessagesOutCount, getPassword, getPlaybackHostname, getPort, getProfile, getProperties, getPushPublishType, getReconnectWaitTime, getSrcStream, getSrcStreamName, getUserName, getWowzaStreamingEngineVersionStr, incrementMessagesOut, isAdaptiveStreaming, isDebugLog, isExternalRedundancy, logDebug, logError, logError, logError, logInfo, logWarn, resolveHostName, setAdaptiveStreaming, setAdaptiveStreaming, setAppInstance, setDebugLog, setDestinationName, setDestinationServer, setDestinationServer, setDstStreamName, setEntryName, setExternalRedundancy, setExternalRedundancy, setHost, setHostname, setImplementation, setInetAddr, setPassword, setPlaybackHostname, setPort, setPort, setProfile, setReconnectWaitTime, setSrcStream, setSrcStreamName, setStreamName, setUserName, updateLoggingValues, updateUsageTracker
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.wowza.wms.pushpublish.model.IPushPublish
connect, disconnect, getConnectedState, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount
-
Field Details
-
CLASS
-
CLASSNAME
- See Also:
-
YOUTUBE_DEFAULT_HOSTID
- See Also:
-
httpIngressDomainSuffix
-
httpPlaybackDomainSuffix
-
youtubePlaybackURLPrefix
-
youtubeProtocolName
-
httpIngressDomainOverride
-
httpPlaybackDomainOverride
-
maxRetries
protected int maxRetries -
connectionTimeout
protected int connectionTimeout -
readWriteTimeout
protected int readWriteTimeout -
httpWriterLogOptions
protected int httpWriterLogOptions -
protocol
-
youtubeStreamId
-
youtubeEventName
-
sendToBackupServer
protected boolean sendToBackupServer -
fakePosts
protected boolean fakePosts -
reuseSockets
protected boolean reuseSockets -
youtubeHostId
-
userAgent
-
-
Constructor Details
-
PushPublishHTTPYouTubeBase
public PushPublishHTTPYouTubeBase() throws com.wowza.wms.server.LicensingException- Throws:
com.wowza.wms.server.LicensingException
-
-
Method Details
-
init
public void init(IApplicationInstance appInstance, String streamName, IMediaStream stream, Map<String, String> profileData, Map<String, String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean streamDebug) Description copied from class:PushPublishHTTPBase
Inits the instance.- Specified by:
init
in interfaceIPushPublish
- Overrides:
init
in classPushPublishHTTPBase
- Parameters:
appInstance
- the app instancestreamName
- the source stream nameprofileData
- the profile paramsmaps
- the map entry paramsstreamDebug
- stream debug flag
-
getResolvedYouTubeStreamId
-
getDestinationDomain
-
isSendToBackupServer
public boolean isSendToBackupServer() -
setSendToBackupServer
public void setSendToBackupServer(boolean sendToBackupServer) -
isInRedundancyPair
public boolean isInRedundancyPair() -
getYouTubeStreamId
-
setYouTubeStreamId
-
getYouTubePlaybackDomain
-
getDestinationPath
-
getDestinationURL
-
getDestinationAdaptiveGroupPath
-
getDestinationAdaptiveGroupURL
-
getYouTubePlaybackAdaptiveGroupURL
-
getYouTubePlaybackURL
-
resetConnection
public void resetConnection() -
getYouTubeHostId
-
setYouTubeHostId
-
getYouTubeEventName
-
setYouTubeEventName
-
isDeleteSentChunks
public boolean isDeleteSentChunks() -
setDeleteSentChunks
public void setDeleteSentChunks(boolean deleteSentChunks) -
getYouTubePlaybackURLPrefix
-
setYouTubePlaybackURLPrefix
-
isFakePosts
public boolean isFakePosts() -
setFakePosts
public void setFakePosts(boolean fakePosts) -
isReuseSockets
public boolean isReuseSockets() -
setReuseSockets
public void setReuseSockets(boolean reuseSockets) -
getConnectionTimeout
public int getConnectionTimeout() -
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout) -
getReadWriteTimeout
public int getReadWriteTimeout() -
setReadWriteTimeout
public void setReadWriteTimeout(int readTimeout) -
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) -
getUserAgent
-
setUserAgent
-
getDestinationPort
public int getDestinationPort() -
isDestinationSecure
public boolean isDestinationSecure() -
load
Description copied from class:PushPublishHTTPBase
Loads map and profile parameters- Overrides:
load
in classPushPublishHTTPBase
- Parameters:
dataMap
- the data map
-