public class PushPublishHTTPCupertinoAkamaiHandler extends PushPublishHTTPCupertino
| Modifier and Type | Field and Description |
|---|---|
protected String |
resolvedHostname |
addEndListOnDisconnect, CHUNKLISTNAME_AUDIOONLY, CHUNKLISTNAME_AUDIOVIDEO, CHUNKLISTNAME_KEYFRAMEONLY, CHUNKLISTNAME_VIDEOONLY, CHUNKLISTNAMES, keepMediaSegmentDataAfterSending, LIVESTREAMPACKETIZER_NAME, PLAYLISTNAME, RENDITION_AUDIOONLY, RENDITION_AUDIOVIDEO, RENDITION_KEYFRAMEONLY, RENDITION_VIDEOONLY, RENDITIONINDEX_AUDIOONLY, RENDITIONINDEX_AUDIOVIDEO, RENDITIONINDEX_COUNT, RENDITIONINDEX_KEYFRAMEONLY, RENDITIONINDEX_VIDEOONLYhttpLogManifests, httpManifestDebug, INDETERMINATE_PLAYLIST_COUNT, MIN_PLAYLIST_COUNT, playlistAcrossSessions, playlistCountFromMap, playlistCountFromPacketizer, playlistCrossName, playlistDurationFromMap, playlistMap, playlistName, playlistTimeout, relativePlaylistsappInstance, className, DESTINATION_BAK, DESTINATION_PRI, DESTINATION_RED, destinationName, destinationServer, dstStreamName, entryName, hostname, inetAddr, isAdaptiveStreaming, isExternalRedundancy, logger, mImplementation, myMap, password, port, profile, properties, pushPublishSession, pushPublishStreamDebug, pushPublishType, reconnectWaitTime, sendingPerformance, srcStream, srcStreamName, totalIOPerformance2Last, totalIOPerformanceLast, userNamePUSHER_ERROR_LIVEPACKETIZER_NOT_CONFIGURED, PUSHER_ERROR_RENDITIONS_MISCONFIGUREDCONNECTED_STATE_CONNECTED, CONNECTED_STATE_CONNECTING, CONNECTED_STATE_NOT_CONNECTED, CONNECTED_STATE_WAITING, PUSHPUBLISH_TYPE_CUPERTINO, PUSHPUBLISH_TYPE_MPEGDASH, PUSHPUBLISH_TYPE_RTMP, PUSHPUBLISH_TYPE_RTP, PUSHPUBLISH_TYPE_RTP_BUFFERED, PUSHPUBLISH_TYPE_SANJOSE, PUSHPUBLISH_TYPE_SRT, PUSHPUBLISH_TYPE_UNKNOWN| Constructor and Description |
|---|
PushPublishHTTPCupertinoAkamaiHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
HTTPByteWriter |
createByteWriter(java.net.URI uri,
int port) |
int |
deleteMediaSegment(MediaSegmentModel mediaSegment)
Deletes the media (chunk) at the destination URI.
|
boolean |
destroyByteWriter() |
int |
getChunkDurationTarget(ILiveStreamPacketizer liveStreamPacketizer) |
String |
getDestionationLogData()
Get a JSON formatted string of data that represents the destination to include with the connect/disconnect logging
|
WMSProperties |
getPlaylistProperties() |
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)
Inits the instance.
|
boolean |
isSendToBackupServer()
Is this implementation sending to a backup server
|
void |
load(java.util.HashMap<String,String> dataMap)
Loads map and profile parameters
|
boolean |
outputClose()
Close the destination (if needed).
|
boolean |
outputOpen()
Open the destination (if needed) in preparation of having
one or more items (playlists/media segments) pushed to it
|
void |
resetConnection() |
int |
sendGroupMasterPlaylist(String groupName,
PlaylistModel playlist)
Sends a group master playlist to the destination.
|
int |
sendMasterPlaylist(PlaylistModel playlist)
Sends the master playlist to the destination.
|
int |
sendMediaPlaylist(PlaylistModel playlist)
Sends the media playlist to the destination.
|
int |
sendMediaSegment(MediaSegmentModel mediaSegment)
Sends the media (chunk) to the destination; media provided as a fragment list.
|
void |
setSendToBackupServer(boolean backup)
Setup to send to a backup destination
|
boolean |
updateGroupMasterPlaylistPlaybackURI(String groupName,
PlaylistModel masterPlaylist)
Get the group master playlist URI for the given group master playlist file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myGroup/playlist.m3u8"
|
boolean |
updateMasterPlaylistPlaybackURI(PlaylistModel playlist)
update the master playlist URI for the provided playlist model that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/playlist.m3u8"
where "playlist.m3u8" is the value given for masterPlaylistFilename
|
boolean |
updateMediaPlaylistPlaybackURI(PlaylistModel playlist)
update/set the media playlist (chunklist) URI for the provided media playlist file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/chunklist.m3u8"
where "chunklist.m3u8" is the value given for mediaPlaylistFilename
|
boolean |
updateMediaSegmentPlaybackURI(MediaSegmentModel mediaSegment)
set the media URI for the given media (chunk) file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/media_1.ts"
where "media_1.ts" is the value given for mediaFilename
|
adaptiveGroupPlaylistNeedsUpdating, addTagToPlaylist, addTagToPlaylist, createGroupPlaylist, createMasterPlaylist, createMediaPlaylist, createMediaSegmentModel, createOutputItem, createTag, disconnect, disconnect, error, getConnectedState, getContextStr, getGroupPlaylistRenditionDescription, getLastChunkId, getLiveStreamPacketizerName, getMediaPlaylistPlaybackURL, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount, getPacketizerLock, getPlaylistCount, getRandomSessionStr, getRenditionsStr, isGroupReady, isInRedundancyPair, outputSend, printPlaylist, resetNewPacketizer, sendGroupPlaylist, setRenditionsStr, writeTagToStringgetAdaptiveGroupName, getPlaylistMap, getPlaylistTimeout, isInAdaptiveGroup, isLogDebugManifest, isPlaylistAcrossSessions, isRelativePlaylists, logDebugManifest, setAdaptiveGroupName, setPlaylistAcrossSessions, setPlaylistCountFromMap, setPlaylistCountFromPacketizer, setPlaylistTimeout, setRelativePlaylistsadd, addIOPerformance2, createPushPublishSession, getAppInstance, getBandwidth, getDestinationID, getDestinationName, getDestinationServer, getDstStreamName, getEntryName, getHostname, getImplementation, getInetAddr, getMap, getMessagesOutBytes, getMessagesOutCount, getPassword, getPort, getProfile, getProperties, getPushPublishType, getReconnectWaitTime, getSrcStream, getSrcStreamName, getUserName, getWowzaStreamingEngineVersionStr, handleParentStreamDisconnect, incrementMessagesOut, isAdaptiveStreaming, isDebugLog, isExternalRedundancy, isParent, isTargetedStream, logDebug, logError, logError, logError, logInfo, logWarn, setAdaptiveStreaming, setAdaptiveStreaming, setAppInstance, setDebugLog, setDestinationName, setDestinationServer, setDestinationServer, setDstStreamName, setEntryName, setExternalRedundancy, setExternalRedundancy, setHost, setHostname, setImplementation, setInetAddr, setPassword, setPort, setPort, setProfile, setReconnectWaitTime, setSrcStream, setSrcStreamName, setStreamName, setUserName, updateUsageTrackerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdaptiveGroupName, isInAdaptiveGroup, isLogDebugManifestgetAppInstance, getDstStreamName, getSrcStreamName, isDebugLogpublic PushPublishHTTPCupertinoAkamaiHandler()
throws com.wowza.wms.server.LicensingException
com.wowza.wms.server.LicensingExceptionpublic void connect()
connect in interface IPushPublishconnect in class PushPublishHTTPCupertinopublic HTTPByteWriter createByteWriter(java.net.URI uri, int port)
public int deleteMediaSegment(MediaSegmentModel mediaSegment)
IPushPublishHTTPCupertinomediaSegment - the media destination URIpublic boolean destroyByteWriter()
public int getChunkDurationTarget(ILiveStreamPacketizer liveStreamPacketizer)
getChunkDurationTarget in interface IPushPublishHTTPOutputBuildergetChunkDurationTarget in class PushPublishHTTPCupertinopublic String getDestionationLogData()
PushPublishHTTPCupertinogetDestionationLogData in interface IPushPublishHTTPCupertinogetDestionationLogData in class PushPublishHTTPCupertinopublic WMSProperties getPlaylistProperties()
getPlaylistProperties in interface IPushPublishHTTPGroupMembergetPlaylistProperties in class PushPublishHTTPCupertinopublic 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)
PushPublishHTTPBaseinit in interface IPushPublishinit in class PushPublishHTTPCupertinoappInstance - the app instancestreamName - the source stream nameprofileData - the profile paramsmaps - the map entry paramsstreamDebug - stream debug flagpublic boolean isSendToBackupServer()
IPushPublishHTTPCupertinopublic void load(java.util.HashMap<String,String> dataMap)
PushPublishHTTPBaseload in class PushPublishHTTPCupertinodataMap - the data mappublic boolean outputClose()
IPushPublishHTTPCupertinopublic boolean outputOpen()
IPushPublishHTTPCupertinopublic void resetConnection()
resetConnection in interface IPushPublishresetConnection in class PushPublishHTTPCupertinopublic int sendGroupMasterPlaylist(String groupName,
PlaylistModel playlist)
IPushPublishHTTPCupertinogroupName - the group nameplaylist - the group master playlist modelpublic int sendMasterPlaylist(PlaylistModel playlist)
IPushPublishHTTPCupertinoplaylist - the master playlist modelpublic int sendMediaPlaylist(PlaylistModel playlist)
IPushPublishHTTPCupertinoplaylist - the media playlist modelpublic int sendMediaSegment(MediaSegmentModel mediaSegment)
IPushPublishHTTPCupertinomediaSegment - the media file in fragment list formpublic void setSendToBackupServer(boolean backup)
IPushPublishHTTPCupertinopublic boolean updateGroupMasterPlaylistPlaybackURI(String groupName,
PlaylistModel masterPlaylist)
IPushPublishHTTPCupertinogroupName - group namemasterPlaylist - master group playlistpublic boolean updateMasterPlaylistPlaybackURI(PlaylistModel playlist)
IPushPublishHTTPCupertinoplaylist - the master playlist model to update the URI inpublic boolean updateMediaPlaylistPlaybackURI(PlaylistModel playlist)
IPushPublishHTTPCupertinoplaylist - to update the uri inpublic boolean updateMediaSegmentPlaybackURI(MediaSegmentModel mediaSegment)
IPushPublishHTTPCupertinomediaSegment - to update the uri of