IPushPublish, IPushPublishHTTPGroupMember, IPushPublishHTTPOutputBuilder, IPushPublishHTTPCupertinopublic class PushPublishHTTPCupertinoGoogleHandler extends PushPublishHTTPCupertino
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
bucketName |
|
static String |
BUCKETVAR |
|
static String |
COMMANDPATHDEL |
|
static String |
COMMANDPATHPOST |
|
protected int |
connectionTimeout |
|
static String |
DEFAULTGCEHOST |
|
static int |
DEFAULTGCEPORT |
|
protected boolean |
deleteSentChunks |
|
protected static String |
destinationPath |
|
protected static String |
destinationURLPrefix |
|
protected boolean |
fakePosts |
|
static String |
FILENAMEVAR |
|
protected boolean |
httpWriterDebug |
|
protected boolean |
isPlaybackSSL |
|
protected boolean |
isSendSSL |
|
protected static String |
LINE_FEED |
|
protected static String |
playbackDomain |
|
protected static String |
playbackURLPrefix |
|
protected String |
project |
|
static String |
PROJECTQP |
|
static String |
PROJECTQPVAR |
|
static String |
PROJECTVAR |
|
static String |
QUERYPARAMS |
|
protected int |
readWriteTimeout |
|
protected boolean |
sendToBackupServer |
CONNECTED_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_UNKNOWNPUSHER_ERROR_LIVEPACKETIZER_NOT_CONFIGURED, PUSHER_ERROR_RENDITIONS_MISCONFIGUREDappInstance, 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, userNameCACHE_CONTROL_FACTOR, CACHE_CONTROL_HEADER, CACHE_CONTROL_HEADER_KEY, CACHE_CONTROL_HEADER_NONE, CACHE_CONTROL_MEDIA_DEFAULT, httpLogManifests, httpManifestDebug, INDETERMINATE_PLAYLIST_COUNT, MIN_PLAYLIST_COUNT, playlistAcrossSessions, playlistCountFromMap, playlistCountFromPacketizer, playlistCrossName, playlistDurationFromMap, playlistMap, playlistName, playlistTimeout, relativePlaylistsaddEndListOnDisconnect, 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| Constructor | Description |
|---|---|
PushPublishHTTPCupertinoGoogleHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
connect() |
|
int |
deleteMediaSegment(MediaSegmentModel mediaSegment) |
Deletes the media (chunk) at the destination URI.
|
int |
getChunkDurationTarget(ILiveStreamPacketizer liveStreamPacketizer) |
|
String |
getContextStr() |
|
String |
getDestinationDomain() |
|
String |
getDestinationPath() |
|
String |
getDestionationLogData() |
Get a JSON formatted string of data that represents the destination to include with the connect/disconnect logging
|
String |
getIngressURL() |
|
String |
getPlaybackDomain() |
|
String |
getPlaybackPath() |
|
String |
getPlaybackURL() |
|
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 masterPlaylist) |
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
|
getAdaptiveGroupName, isInAdaptiveGroup, isLogDebugManifestgetAppInstance, getDstStreamName, getSrcStreamName, isDebugLogclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addIOPerformance2, clearLoggingValues, createPushPublishSession, getAppInstance, getBandwidth, getBaseParams, 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, 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, updateUsageTrackergetAdaptiveGroupName, getCachecontrol, getPlaylistMap, getPlaylistTimeout, isInAdaptiveGroup, isLogDebugManifest, isPlaylistAcrossSessions, isRelativePlaylists, logDebugManifest, setAdaptiveGroupName, setCachecontrol, setPlaylistAcrossSessions, setPlaylistCountFromMap, setPlaylistCountFromPacketizer, setPlaylistTimeout, setRelativePlaylistsadaptiveGroupPlaylistNeedsUpdating, addTagToPlaylist, addTagToPlaylist, createGroupPlaylist, createMasterPlaylist, createMediaPlaylist, createMediaSegmentModel, createOutputItem, createTag, disconnect, disconnect, error, getConnectedState, getGroupPlaylistRenditionDescription, getLastChunkId, getLiveStreamPacketizerName, getMediaPlaylistPlaybackURL, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount, getPacketizerLock, getPlaylistCount, getPlaylistProperties, getRandomSessionStr, getRenditionsStr, isGroupReady, isInRedundancyPair, outputSend, printPlaylist, resetNewPacketizer, sendGroupPlaylist, setLiveStreamPacketizer, setRenditionsStr, writeTagToStringprotected String bucketName
public static final String BUCKETVAR
public static final String COMMANDPATHDEL
public static final String COMMANDPATHPOST
protected int connectionTimeout
public static final String DEFAULTGCEHOST
public static final int DEFAULTGCEPORT
protected boolean deleteSentChunks
protected static final String destinationPath
protected static final String destinationURLPrefix
protected boolean fakePosts
public static final String FILENAMEVAR
protected boolean httpWriterDebug
protected boolean isPlaybackSSL
protected boolean isSendSSL
protected static final String LINE_FEED
protected static final String playbackDomain
protected static final String playbackURLPrefix
protected String project
public static final String PROJECTQP
public static final String PROJECTQPVAR
public static final String PROJECTVAR
public static final String QUERYPARAMS
protected int readWriteTimeout
protected boolean sendToBackupServer
public PushPublishHTTPCupertinoGoogleHandler()
throws com.wowza.wms.server.LicensingException
com.wowza.wms.server.LicensingExceptionpublic void connect()
connect in interface IPushPublishconnect in class PushPublishHTTPCupertinopublic int deleteMediaSegment(MediaSegmentModel mediaSegment)
IPushPublishHTTPCupertinomediaSegment - the media destination URIpublic int getChunkDurationTarget(ILiveStreamPacketizer liveStreamPacketizer)
getChunkDurationTarget in interface IPushPublishHTTPOutputBuildergetChunkDurationTarget in class PushPublishHTTPCupertinopublic String getContextStr()
getContextStr in interface IPushPublishgetContextStr in class PushPublishHTTPCupertinopublic String getDestinationDomain()
public String getDestinationPath()
public String getDestionationLogData()
PushPublishHTTPCupertinogetDestionationLogData in interface IPushPublishHTTPCupertinogetDestionationLogData in class PushPublishHTTPCupertinopublic String getIngressURL()
public String getPlaybackDomain()
public String getPlaybackPath()
public String getPlaybackURL()
public 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 masterPlaylist)
IPushPublishHTTPCupertinogroupName - the group namemasterPlaylist - 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