Class PushPublishRTMPAkamaiHandler
- Object
-
- com.wowza.wms.pushpublish.model.PushPublishBase
-
- com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP
-
- com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMPProfileHandler
-
- com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMPAkamaiHandler
-
- All Implemented Interfaces:
IPushPublish
public class PushPublishRTMPAkamaiHandler extends PushPublishRTMPProfileHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP
PushPublishRTMP.STATE
-
-
Field Summary
Fields Modifier and Type Field Description static Class<PushPublishRTMPAkamaiHandler>
CLASS
static String
CLASSNAME
protected boolean
SendToBackupServer
The is backup.-
Fields inherited from class com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMPProfileHandler
streamId
-
Fields inherited from class com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP
akamaiOriginIp, akamaiOriginPort, akamaiPassword, akamaiUserName, bindAddress, bytesAvg, connectAttemptCount, connectionFlashVersion, connectionPageURL, connectionQueryStr, connectionResetCount, connectionState, connectionSwfURL, connectionTimeout, connectLastAttempt, connectLastSuccess, connectMetaData, CURRENTFLASHVERSION, CURRENTFMLEVERSION, debugLogLastPacketCount, debugPackets, doSendOnMetaData, dstAppInstanceName, dstApplicationName, howToPublish, ioSessionToSessionHolder, isReconnectorRunning, isSSL, lastAudioTC, lastDataTC, lastIdleReadTime, lastIdleWriteTime, lastVideoKeyFrameTC, lastVideoTC, listeners, lock, netconnectToSessionHolder, offlineTime, onlineTime, onMetadataFilter, onMetadataItemsToAdd, onMetadataItemsToRemove, onMetadataToSetDataFrame, originalTimecodeOffset, originalTimecodeThreshold, outprint, packetsSentAudio, packetsSentData, packetsSentVideo, packetsSentVideoKeyFrame, pingPongListenerRegistered, queryString, removeDefaultAppInstance, resetOnTimecodeOutOfOrder, rtmpAuthProvider, rtmpDebugLog, secureTokenSharedSecret, sendFCAnnounce, sendFCPublish, sendOnMetadata, sendOriginalTimecodes, sendReleaseStream, sendStreamCloseCommands, sendStreamCloseCommandsSendTime, sessionOrder, srcStreamBufferSize, streamCloseWaitTime, syncPacketType, syncTimecode, timecodesOutOfOrderThreshold, totalPacketsSent, tryConnect, usePingPong, validationFrequency, waitOnMetadataAudio, waitOnMetadataAudioDatarate, waitOnMetadataAvailable, waitOnMetadataReady, waitOnMetadataStartime, waitOnMetadataTimeout, waitOnMetadataVideo, waitOnMetadataVideoDatarate
-
Fields 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, userName
-
Fields inherited from interface com.wowza.wms.pushpublish.model.IPushPublish
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_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description PushPublishRTMPAkamaiHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createAkamaiStreamName(String dstStreamName, IMediaStream stream)
String
getStreamAngle()
String
getStreamBandWidth()
void
init(IApplicationInstance appInstance2, String streamName, IMediaStream stream, java.util.Map<String,String> profileData, java.util.Map<String,String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean debug)
Inits the instance.void
load(java.util.HashMap<String,String> dataMap)
Loads map and profile parametersvoid
setAkamaiOriginIp(String akamaiOriginIp)
Set Akamai Origin IP.void
setAkamaiOriginPort(String akamaiOriginPort)
void
setAkamaiPassword(String string)
Set Akamai passwordvoid
setAkamaiStreamId(String id)
Sets the akamai stream id.void
setAkamaiUserName(String string)
Set Akamai user namevoid
setPassword(String password)
Set password.void
setStreamAngle(String streamAngleIn)
void
setStreamBandWidth(String streamBandWidth)
void
setStreamId(String id)
void
setUserName(String userName)
Set user name.-
Methods inherited from class com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMPProfileHandler
getDstAppInstanceName, getDstApplicationName, getLocalBindAddress, isDebugLog, isDebugPackets, isUsePingPong, setApplication, setConnectionFlashVersion, setConnectionInfoPageURL, setConnectionInfoQueryString, setConnectionInfoSwfURL, setConnectionTimeout, setConnectLastAttempt, setConnectLastSuccess, setDebugPackets, setDebugPackets, setDstAppInstanceName, setDstApplicationName, setDstStreamName, setHowToPublish, setlocalBindAddress, setOnMetadataToSetDataFrame, setOriginalTimecodeThreshold, setQueryString, setReconnectWaitTime, setRemoveDefaultAppInstance, setResetOnTimecodeOutOfOrder, setSecureTokenSharedSecret, setSendFCAnnounce, setSendFCPublish, setSendOnMetadata, setSendOriginalTimecodes, setSendReleaseStream, setSendStreamCloseCommands, setSSL, setStreamCloseWaitTime, setTimecodesOutOfOrderThreshold, setUsePingPong, setUsePingPong, setValidationFrequency, setWaitOnMetadataAudio, setWaitOnMetadataAudioDatarate, setWaitOnMetadataAvailable, setWaitOnMetadataTimeout, setWaitOnMetadataVideo, setWaitOnMetadataVideoDatarate
-
Methods inherited from class com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP
addConnectMetaData, addListener, addOnMetadataItemToRemove, addSession, bumpReconnectWaitTime, callConnect, connect, convertDataEvenToAMFData, convertOnMetadataToSetDataFrame, createNetConnectionPublisher, createPushPublishSession, disconnect, disconnect, filterOnMetadataEvent, getAkamaiOriginIp, getAkamaiOriginPort, getAkamaiPassword, getAkamaiSessionKey, getAkamaiUserName, getAppInstance, getBindAddress, getConnectAttemptCount, getConnectedState, getConnectionFlashVerion, getConnectionFlashVersion, getConnectionPageURL, getConnectionQueryStr, getConnectionSwfURL, getConnectionTimeout, getConnectLastAttempt, getConnectLastSuccess, getContextStr, getDstStreamName, getHowToPublish, getLastAudioTC, getLastDataTC, getLastSession, getLastVideoKeyFrameTC, getLastVideoTC, getLocalListeners, getLock, getMessagesAttemptedCount, getMessagesFailedCount, getMessagesRetriedCount, getNetConnection, getOnMetadataFilter, getOriginalTimecodeOffset, getOriginalTimecodeThreshold, getPacketsSentAudio, getPacketsSentData, getPacketsSentVideo, getPacketsSentVideoKeyFrame, getPort, getQueryString, getReconnectDelay, getRemoteIpAddress, getRTMPAuthProvider, getSecureTokenSharedSecret, getSessionHolderByNetConnection, getSessionHolderBySession, getSessionListDebug, getSrcStreamBufferSize, getSrcStreamName, getStreamCloseWaitTime, getSyncPacketType, getSyncTimecode, getTimecodesOutOfOrderThreshold, getTotalPacketsSent, getValidationFrequency, getWaitOnMetadataTimeout, internalConnect, isCurrentSession, isFlashVerionFMLE, isFlashVersionFMLE, isOnMetadataReady, isOnMetadataToSetDataFrame, isRemoveDefaultAppInstance, isResetOnTimecodeOutOfOrder, isSendFCAnnounce, isSendFCPublish, isSendOnMetadata, isSendOriginalTimecodes, isSendReleaseStream, isSendStreamCloseCommands, isSSL, isWaitOnMetadataAudio, isWaitOnMetadataAudioDatarate, isWaitOnMetadataAvailable, isWaitOnMetadataVideo, isWaitOnMetadataVideoDatarate, notifyAkamaiClientLogin, notifyAkamaiSetChallenge, notifyAkamaiSetOriginConnectionInfo, notifyConnect, notifyConnectFailure, notifyConnectStart, notifyConnectSuccess, notifyFCAnnounce, notifyFCPublish, notifyHandshakeResult, notifyPublishHandlerPlay, notifyPushPublisherSessionCreate, notifyPushPublisherSessionDestroy, notifySessionClosed, notifySessionIdle, notifySessionOpened, notifyStreamCreate, notifyStreamOnPlayStatus, notifyStreamOnStatus, notifyValidateSession, notifyValidateSessionResult, putOnMetadataItemToAdd, removeListener, removeSession, resetConnection, resetConnection, sessionClosed, sessionOpened, setAkamaiOriginPort, setAppInstance, setBindAddress, setConnectionFlashVerion, setConnectionPageURL, setConnectionQueryStr, setConnectionSwfURL, setConnectionTimeout, setConnectLastAttempt, setConnectLastSuccess, setDebugLog, setOnMetadataFilter, setOnMetadataToSetDataFrame, setOriginalTimecodeOffset, setOriginalTimecodeThreshold, setPort, setRemoveDefaultAppInstance, setResetOnTimecodeOutOfOrder, setRTMPAuthProvider, setSendFCAnnounce, setSendFCPublish, setSendOnMetadata, setSendOriginalTimecodes, setSendReleaseStream, setSendStreamCloseCommands, setSrcStreamBufferSize, setSrcStreamName, setSSL, setStreamCloseWaitTime, setStreamDebugLog, setSyncPacketType, setSyncTimecode, setTimecodesOutOfOrderThreshold, setValidationFrequency, setWaitOnMetadataAudio, setWaitOnMetadataAudioDatarate, setWaitOnMetadataAvailable, setWaitOnMetadataTimeout, setWaitOnMetadataVideo, setWaitOnMetadataVideoDatarate, tryToConnect
-
Methods inherited from class com.wowza.wms.pushpublish.model.PushPublishBase
add, addIOPerformance2, clearLoggingValues, getBandwidth, getBaseParams, getDestinationID, getDestinationName, getDestinationServer, getEntryName, getHostname, getImplementation, getInetAddr, getMap, getMessagesOutBytes, getMessagesOutCount, getPassword, getPlaybackHostname, getProfile, getProperties, getPushPublishType, getReconnectWaitTime, getSrcStream, getUserName, getWowzaStreamingEngineVersionStr, incrementMessagesOut, isAdaptiveStreaming, isExternalRedundancy, logDebug, logError, logError, logError, logInfo, logWarn, resolveHostName, setAdaptiveStreaming, setAdaptiveStreaming, setDestinationName, setDestinationServer, setDestinationServer, setEntryName, setExternalRedundancy, setExternalRedundancy, setHost, setHostname, setImplementation, setInetAddr, setPlaybackHostname, setPort, setProfile, setReconnectWaitTime, setSrcStream, setStreamName, updateLoggingValues, updateUsageTracker
-
-
-
-
Field Detail
-
CLASS
public static final Class<PushPublishRTMPAkamaiHandler> CLASS
-
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
-
SendToBackupServer
protected boolean SendToBackupServer
The is backup.
-
-
Method Detail
-
init
public void init(IApplicationInstance appInstance2, String streamName, IMediaStream stream, java.util.Map<String,String> profileData, java.util.Map<String,String> maps, com.wowza.wms.pushpublish.manager.IPushPublisher pushPublisher, boolean debug)
Description copied from class:PushPublishBase
Inits the instance.- Specified by:
init
in interfaceIPushPublish
- Overrides:
init
in classPushPublishRTMPProfileHandler
- Parameters:
appInstance2
- the app instancestreamName
- the source stream nameprofileData
- the profile paramsmaps
- the map entry paramsdebug
- stream debug flag
-
load
public void load(java.util.HashMap<String,String> dataMap)
Description copied from class:PushPublishBase
Loads map and profile parameters- Overrides:
load
in classPushPublishRTMPProfileHandler
- Parameters:
dataMap
- the data map
-
setUserName
public void setUserName(String userName)
Description copied from class:PushPublishBase
Set user name.- Overrides:
setUserName
in classPushPublishBase
- Parameters:
userName
- user name
-
setPassword
public void setPassword(String password)
Description copied from class:PushPublishBase
Set password.- Overrides:
setPassword
in classPushPublishBase
- Parameters:
password
- password
-
setAkamaiOriginIp
public void setAkamaiOriginIp(String akamaiOriginIp)
Set Akamai Origin IP.- Overrides:
setAkamaiOriginIp
in classPushPublishRTMP
- Parameters:
akamaiOriginIp
- Akamai Origin IP
-
setAkamaiOriginPort
public void setAkamaiOriginPort(String akamaiOriginPort)
-
setAkamaiStreamId
public void setAkamaiStreamId(String id)
Sets the akamai stream id.- Parameters:
id
- the new akamai stream id
-
setStreamId
public void setStreamId(String id)
-
setAkamaiUserName
public void setAkamaiUserName(String string)
Description copied from class:PushPublishRTMP
Set Akamai user name- Overrides:
setAkamaiUserName
in classPushPublishRTMP
- Parameters:
string
- Akamai user name
-
setAkamaiPassword
public void setAkamaiPassword(String string)
Description copied from class:PushPublishRTMP
Set Akamai password- Overrides:
setAkamaiPassword
in classPushPublishRTMP
- Parameters:
string
- Akamai password
-
getStreamAngle
public String getStreamAngle()
-
setStreamAngle
public void setStreamAngle(String streamAngleIn)
-
getStreamBandWidth
public String getStreamBandWidth()
-
setStreamBandWidth
public void setStreamBandWidth(String streamBandWidth)
-
createAkamaiStreamName
public String createAkamaiStreamName(String dstStreamName, IMediaStream stream)
-
-