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 Stringprotected intprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected intprotected Stringprotected intprotected booleanprotected booleanprotected Stringstatic final Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields 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, relativePlaylistsFields 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, userNameFields 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 TypeMethodDescriptionintgetDestinationAdaptiveGroupPath(String groupName) getDestinationAdaptiveGroupURL(String groupName) intintintprotected StringgetYouTubePlaybackAdaptiveGroupURL(String groupName) voidinit(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.booleanbooleanbooleanbooleanbooleanbooleanvoidLoads map and profile parametersvoidvoidsetConnectionTimeout(int connectionTimeout) voidsetDeleteSentChunks(boolean deleteSentChunks) voidsetFakePosts(boolean fakePosts) voidsetMaxRetries(int maxRetries) voidsetReadWriteTimeout(int readTimeout) voidsetReuseSockets(boolean reuseSockets) voidsetSendToBackupServer(boolean sendToBackupServer) voidsetUserAgent(String userAgent) voidsetYouTubeEventName(String youtubeEventName) voidsetYouTubeHostId(String youtubeHostId) voidsetYouTubePlaybackURLPrefix(String youtubePlaybackURLPrefix) voidsetYouTubeStreamId(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, setRelativePlaylistsMethods 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, updateUsageTrackerMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:PushPublishHTTPBaseInits the instance.- Specified by:
initin interfaceIPushPublish- Overrides:
initin 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:PushPublishHTTPBaseLoads map and profile parameters- Overrides:
loadin classPushPublishHTTPBase- Parameters:
dataMap- the data map
-