IPushPublishcom.wowza.wms.pushpublish.akamai.PushPublishHTTPAkamaiBase, PushPublishHTTPCupertino, PushPublishHTTPYouTubeBasepublic abstract class PushPublishHTTPBase extends PushPublishBase
| Modifier and Type | Field | Description |
|---|---|---|
static Float |
CACHE_CONTROL_FACTOR |
|
static String |
CACHE_CONTROL_HEADER |
|
static String |
CACHE_CONTROL_HEADER_KEY |
|
static String |
CACHE_CONTROL_HEADER_NONE |
|
static Integer |
CACHE_CONTROL_MEDIA_DEFAULT |
Cache Control header constants, used in push publish file cache control .e.g Cloud Storage ( S3, Azure, GCS )
|
protected boolean |
httpLogManifests |
Enables logging of the manifest itself.
|
protected boolean |
httpManifestDebug |
Enables manifest playlist debug logging.
|
protected static int |
INDETERMINATE_PLAYLIST_COUNT |
|
protected static int |
MIN_PLAYLIST_COUNT |
The minimum allowable playlist size.
|
protected boolean |
playlistAcrossSessions |
Indicates whether instance-specific playlists should be maintained across source stream interruptions and app restarts.
|
protected int |
playlistCountFromMap |
The playlist size from the map entry.
|
protected int |
playlistCountFromPacketizer |
The playlist size used by the associated live stream packetizer.
|
protected String |
playlistCrossName |
The instance-specific name for the playlist, allowing the playlist to be maintained across session restarts.
|
protected long |
playlistDurationFromMap |
The playlist duration from the map entry.
|
protected PushPublishHTTPPlaylistMap |
playlistMap |
The playlist map.
|
protected String |
playlistName |
The actual name of playlist file that is to be pushed to the destination (e.g.
|
protected int |
playlistTimeout |
The timeout value used to delete orphaned playlists from the vhost.
|
protected boolean |
relativePlaylists |
use only relative URL references in the playlist/manifest
|
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_UNKNOWNappInstance, 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| Constructor | Description |
|---|---|
PushPublishHTTPBase() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAdaptiveGroupName() |
|
String |
getCachecontrol() |
|
int |
getPlaylistCount() |
Get the playlist count.
|
PushPublishHTTPPlaylistMap |
getPlaylistMap() |
Get the playlist map.
|
int |
getPlaylistTimeout() |
Get the playlist timeout value.
|
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 |
isInAdaptiveGroup() |
Is the entry in an adaptive group.
|
boolean |
isLogDebugManifest() |
Get the current setting of the HTTP Manifest debug logging
This is controlled by the pushPublishHTTPPlayListDebug boolean property in the application.xml
and by the http.manifestDebug setting in the pushpublish map file
|
boolean |
isPlaylistAcrossSessions() |
Is the playlist maintained across recurring pushpublish sessions.
|
boolean |
isRelativePlaylists() |
|
void |
load(java.util.HashMap<String,String> dataMap) |
Loads map and profile parameters
|
void |
logDebugManifest(String methodName,
String log) |
Log the provided log str if the HTTP Manifest logging is enabled
|
void |
setAdaptiveGroupName(String adaptiveGroup) |
|
void |
setCachecontrol(String cachecontrol) |
|
protected void |
setLiveStreamPacketizer(ILiveStreamPacketizer liveStreamPacketizer) |
|
void |
setPlaylistAcrossSessions(boolean playlistAcrossSessions) |
Set whether the playlist is maintained across recurring pushpublish sessions.
|
void |
setPlaylistCountFromMap(int playlistCountFromMap) |
Set the playlist count value from the map file.
|
void |
setPlaylistCountFromPacketizer(int playlistCountFromPacketizer) |
Set the playlist count value from the live stream packetizer.
|
void |
setPlaylistTimeout(int playlistTimeout) |
Set the playlist timeout value.
|
void |
setRelativePlaylists(boolean relativePlaylists) |
connect, disconnect, getConnectedState, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount, resetConnectionclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, 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, 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, updateUsageTrackerpublic static final Float CACHE_CONTROL_FACTOR
public static final String CACHE_CONTROL_HEADER
public static final String CACHE_CONTROL_HEADER_KEY
public static final String CACHE_CONTROL_HEADER_NONE
public static final Integer CACHE_CONTROL_MEDIA_DEFAULT
protected boolean httpLogManifests
protected boolean httpManifestDebug
protected static final int INDETERMINATE_PLAYLIST_COUNT
protected static final int MIN_PLAYLIST_COUNT
protected boolean playlistAcrossSessions
protected int playlistCountFromMap
protected int playlistCountFromPacketizer
protected String playlistCrossName
protected long playlistDurationFromMap
protected PushPublishHTTPPlaylistMap playlistMap
protected String playlistName
protected int playlistTimeout
protected boolean relativePlaylists
public PushPublishHTTPBase()
throws com.wowza.wms.server.LicensingException
com.wowza.wms.server.LicensingExceptionpublic String getAdaptiveGroupName()
public String getCachecontrol()
public int getPlaylistCount()
public PushPublishHTTPPlaylistMap getPlaylistMap()
public int getPlaylistTimeout()
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)
init in interface IPushPublishinit in class PushPublishBaseappInstance - the app instancestreamName - the source stream namemaps - the map entry paramsprofileData - the profile paramsstreamDebug - stream debug flagpublic boolean isInAdaptiveGroup()
public boolean isLogDebugManifest()
public boolean isPlaylistAcrossSessions()
public boolean isRelativePlaylists()
public void load(java.util.HashMap<String,String> dataMap)
load in class PushPublishBasedataMap - the data mappublic void logDebugManifest(String methodName,
String log)
methodName - name of the class method using the loglog - string to log if enabledpublic void setAdaptiveGroupName(String adaptiveGroup)
public void setCachecontrol(String cachecontrol)
protected void setLiveStreamPacketizer(ILiveStreamPacketizer liveStreamPacketizer)
public void setPlaylistAcrossSessions(boolean playlistAcrossSessions)
playlistAcrossSessions - is the playlist maintained across recurring pushpublish sessionspublic void setPlaylistCountFromMap(int playlistCountFromMap)
playlistCountFromMap - the playlist countpublic void setPlaylistCountFromPacketizer(int playlistCountFromPacketizer)
playlistCountFromPacketizer - the playlist countpublic void setPlaylistTimeout(int playlistTimeout)
playlistTimeout - the playlist timeoutpublic void setRelativePlaylists(boolean relativePlaylists)