Class PushPublishHTTPCupertinoWowzaVideoHandler
- Object
- 
- com.wowza.wms.pushpublish.model.PushPublishBase
- 
- com.wowza.wms.pushpublish.model.PushPublishHTTPBase
- 
- com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertino
- 
- com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler
- 
- com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler2
- 
- com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoWowzaVideoHandler
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- IPushPublish,- IPushPublishHTTPGroupMember,- IPushPublishHTTPOutputBuilder,- IPushPublishHTTPCupertino
 
 public class PushPublishHTTPCupertinoWowzaVideoHandler extends PushPublishHTTPCupertinoCloudStorageHandler2 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler2PushPublishHTTPCupertinoCloudStorageHandler2.CreateVODChunklistThread, PushPublishHTTPCupertinoCloudStorageHandler2.deleteMediaSegmentsThread, PushPublishHTTPCupertinoCloudStorageHandler2.deleteMediaSegmentThread, PushPublishHTTPCupertinoCloudStorageHandler2.sendVODChunklistThread, PushPublishHTTPCupertinoCloudStorageHandler2.TouchPlaylistTimer
 
- 
 - 
Field Summary- 
Fields inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler2AES128_KEY, AES128_KEY_FILE_NAME, ENABLE_VOD_PROP, MODULE_NAME, MODULE_VERSION, streamDisconnecting, UPTIME_ID_PROP, VOD_PLAYLIST_COUNT
 - 
Fields inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandlerbackup, cloudStorageCleanBucket, cloudStorageController, cloudStorageControllerProps, cloudStorageProviderName, cloudStorageTransportDebug, playlistDuration, useRandomSession
 - 
Fields inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoaddEndListOnDisconnect, chunkDurationTarget, CHUNKLISTNAME_AUDIOONLY, CHUNKLISTNAME_AUDIOVIDEO, CHUNKLISTNAME_KEYFRAMEONLY, CHUNKLISTNAME_VIDEOONLY, CHUNKLISTNAMES, keepMediaSegmentDataAfterSending, liveStreamPacketizerCupertino, PLAYLISTNAME, pusher, RENDITION_AUDIOONLY, RENDITION_AUDIOVIDEO, RENDITION_KEYFRAMEONLY, RENDITION_VIDEOONLY, RENDITIONINDEX_AUDIOONLY, RENDITIONINDEX_AUDIOVIDEO, RENDITIONINDEX_COUNT, RENDITIONINDEX_KEYFRAMEONLY, RENDITIONINDEX_VIDEOONLY
 - 
Fields inherited from class com.wowza.wms.pushpublish.model.PushPublishHTTPBaseCACHE_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.PushPublishBaseappInstance, 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.IPushPublishCONNECTED_STATE_CONNECTED, CONNECTED_STATE_CONNECTING, CONNECTED_STATE_NOT_CONNECTED, CONNECTED_STATE_WAITING, 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
 - 
Fields inherited from interface com.wowza.wms.pushpublish.model.IPushPublishHTTPOutputBuilderPUSHER_ERROR_LIVEPACKETIZER_NOT_CONFIGURED, PUSHER_ERROR_RENDITIONS_MISCONFIGURED
 
- 
 - 
Constructor SummaryConstructors Constructor Description PushPublishHTTPCupertinoWowzaVideoHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intdeleteMediaSegment(MediaSegmentModel mediaSegment)Deletes the media (chunk) at the destination URI.StringgetDstStreamName()Get destination stream name.intgetPlaylistCount()Get the playlist count.voidinit(IApplicationInstance appInstance, String streamName, IMediaStream stream, java.util.Map<String,String> profileData, java.util.Map<String,String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean streamDebug)Inits the instance.voidload(java.util.HashMap<String,String> dataMap)Loads map and profile parametersintsendMediaPlaylist(PlaylistModel playlist)Sends the media playlist to the destination.intsendMediaSegment(MediaSegmentModel mediaSegment)Sends the media (chunk) to the destination; media provided as a fragment list.- 
Methods inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler2connect, disconnect, getDestinationStreamName, getDestinationStreamPath, getRandomSessionStr, hex2Bin, sendGroupMasterPlaylist, superDeleteMediaSegment, superSendPlaylist
 - 
Methods inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandlergetDestinationStreamPath, getDestionationLogData, getMasterPlaylistURI, getMediaPlaylistPlayBackPath, isSendToBackupServer, outputClose, outputOpen, sendMasterPlaylist, sendPlaylist, setChunkDurationTarget, setSendToBackupServer, updateGroupMasterPlaylistPlaybackURI, updateMasterPlaylistPlaybackURI, updateMediaPlaylistPlaybackURI, updateMediaSegmentPlaybackURI
 - 
Methods inherited from class com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoadaptiveGroupPlaylistNeedsUpdating, addTagToPlaylist, addTagToPlaylist, createGroupPlaylist, createMasterPlaylist, createMediaPlaylist, createMediaSegmentModel, createOutputItem, createTag, disconnect, error, getChunkDurationTarget, getConnectedState, getContextStr, getGroupPlaylistRenditionDescription, getLastChunkId, getLiveStreamPacketizerName, getMediaPlaylistPlaybackURL, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount, getPacketizerLock, getPlaylistProperties, getRenditionsStr, isGroupReady, isInRedundancyPair, outputSend, printPlaylist, resetConnection, resetNewPacketizer, sendGroupPlaylist, setLiveStreamPacketizer, setRenditionsStr, writeTagToString
 - 
Methods inherited from class com.wowza.wms.pushpublish.model.PushPublishHTTPBasegetAdaptiveGroupName, getMaxSegmentCount, getPlaylistBaseUrl, getPlaylistMap, getPlaylistTimeout, isInAdaptiveGroup, isLogDebugManifest, isPlaylistAcrossSessions, isRelativePlaylists, logDebugManifest, setAdaptiveGroupName, setMaxSegmentCountFromMap, setMaxSegmentCountFromPacketizer, setPlaylistAcrossSessions, setPlaylistBaseUrl, setPlaylistCountFromMap, setPlaylistCountFromPacketizer, setPlaylistTimeout, setRelativePlaylists
 - 
Methods inherited from class com.wowza.wms.pushpublish.model.PushPublishBaseadd, addIOPerformance2, clearLoggingValues, createPushPublishSession, getAppInstance, getBandwidth, getBaseParams, getDestinationID, getDestinationName, getDestinationServer, 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.Objectclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.wowza.wms.pushpublish.model.IPushPublishHTTPGroupMembergetAdaptiveGroupName, isInAdaptiveGroup, isLogDebugManifest
 - 
Methods inherited from interface com.wowza.wms.pushpublish.model.IPushPublishHTTPOutputBuildergetAppInstance, getSrcStreamName, isDebugLog
 
- 
 
- 
- 
- 
Method Detail- 
initpublic void init(IApplicationInstance appInstance, String streamName, IMediaStream stream, java.util.Map<String,String> profileData, java.util.Map<String,String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean streamDebug) Description copied from class:PushPublishHTTPBaseInits the instance.- Specified by:
- initin interface- IPushPublish
- Overrides:
- initin class- PushPublishHTTPCupertinoCloudStorageHandler2
- Parameters:
- appInstance- the app instance
- streamName- the source stream name
- profileData- the profile params
- maps- the map entry params
- streamDebug- stream debug flag
 
 - 
loadpublic void load(java.util.HashMap<String,String> dataMap) Description copied from class:PushPublishHTTPBaseLoads map and profile parameters- Overrides:
- loadin class- PushPublishHTTPCupertinoCloudStorageHandler2
- Parameters:
- dataMap- the data map
 
 - 
getDstStreamNamepublic String getDstStreamName() Description copied from class:PushPublishBaseGet destination stream name.- Specified by:
- getDstStreamNamein interface- IPushPublish
- Specified by:
- getDstStreamNamein interface- IPushPublishHTTPOutputBuilder
- Overrides:
- getDstStreamNamein class- PushPublishBase
- Returns:
- destination stream name
 
 - 
deleteMediaSegmentpublic int deleteMediaSegment(MediaSegmentModel mediaSegment) Description copied from interface:IPushPublishHTTPCupertinoDeletes the media (chunk) at the destination URI. Default implementation assumes the URI uses the HTTP schema and deletes the media using the WSE HTTPByteWriter. Implementations not using the HTTP schema or not wanting to use the default HTTPByteWriter should override the default method.- Specified by:
- deleteMediaSegmentin interface- IPushPublishHTTPCupertino
- Overrides:
- deleteMediaSegmentin class- PushPublishHTTPCupertinoCloudStorageHandler2
- Parameters:
- mediaSegment- the media destination URI
- Returns:
- number of bytes sent if successful (less than zero implies the implementation does not support, 0 is a failure, > 0 is success)
 
 - 
sendMediaPlaylistpublic int sendMediaPlaylist(PlaylistModel playlist) Description copied from interface:IPushPublishHTTPCupertinoSends the media playlist to the destination.- Specified by:
- sendMediaPlaylistin interface- IPushPublishHTTPCupertino
- Overrides:
- sendMediaPlaylistin class- PushPublishHTTPCupertinoCloudStorageHandler2
- Parameters:
- playlist- the media playlist model
- Returns:
- number of bytes sent to output (less than zero implies the implementation does not support, 0 is a failure, > 0 is success)
 
 - 
sendMediaSegmentpublic int sendMediaSegment(MediaSegmentModel mediaSegment) Description copied from interface:IPushPublishHTTPCupertinoSends the media (chunk) to the destination; media provided as a fragment list.- Specified by:
- sendMediaSegmentin interface- IPushPublishHTTPCupertino
- Overrides:
- sendMediaSegmentin class- PushPublishHTTPCupertinoCloudStorageHandler
- Parameters:
- mediaSegment- the media file in fragment list form
- Returns:
- number of bytes sent to output (less than zero implies the implementation does not support, 0 is a failure, > 0 is success)
 
 - 
getPlaylistCountpublic int getPlaylistCount() Description copied from class:PushPublishHTTPBaseGet the playlist count. The value from the map file is returned if defined, else the packetizer value is returned return the playlist count- Overrides:
- getPlaylistCountin class- PushPublishHTTPCupertino
 
 
- 
 
-