Class PushPublishRTMPProfileHandler

Object
com.wowza.wms.pushpublish.model.PushPublishBase
com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP
com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMPProfileHandler
All Implemented Interfaces:
IPushPublish
Direct Known Subclasses:
PushPublishRTMPAkamaiHandler

public class PushPublishRTMPProfileHandler extends PushPublishRTMP
  • Field Details

  • Constructor Details

    • PushPublishRTMPProfileHandler

      public PushPublishRTMPProfileHandler() throws com.wowza.wms.server.LicensingException
      Instantiates a new push publisher rtmp.
      Throws:
      com.wowza.wms.server.LicensingException - the licensing exception
  • Method Details

    • setConnectionTimeout

      public void setConnectionTimeout(String connectionTimeout)
    • setSendFCPublish

      public void setSendFCPublish(String sendFCPublish)
      Sets the send fc publish.
      Parameters:
      sendFCPublish - the new send fc publish
    • setSendReleaseStream

      public void setSendReleaseStream(String sendReleaseStream)
      Sets the send release stream.
      Parameters:
      sendReleaseStream - the new send release stream
    • setConnectionInfoQueryString

      public void setConnectionInfoQueryString(String connectionQueryStr)
      Set the connection query string.
      Parameters:
      connectionQueryStr - connection query string
    • setConnectionFlashVersion

      public void setConnectionFlashVersion(String connectionFlashVersion)
      Set Flash version used in connection metadata.
      Overrides:
      setConnectionFlashVersion in class PushPublishRTMP
      Parameters:
      connectionFlashVersion - Flash version used in connection metadata
    • setConnectionInfoSwfURL

      public void setConnectionInfoSwfURL(String connectionSwfURL)
      Set SWF URL used in connection metadata.
      Parameters:
      connectionSwfURL - SWF URL used in connection metadata
    • setConnectionInfoPageURL

      public void setConnectionInfoPageURL(String connectionPageURL)
      Set Page URL used in connection metadata.
      Parameters:
      connectionPageURL - Page URL used in connection metadata
    • setSecureTokenSharedSecret

      public void setSecureTokenSharedSecret(String secureTokenSharedSecret)
      Set SecureToken shared secret.
      Overrides:
      setSecureTokenSharedSecret in class PushPublishRTMP
      Parameters:
      secureTokenSharedSecret - SecureToken shared secret
    • setSendFCAnnounce

      public void setSendFCAnnounce(String sendFCAnnounce)
    • setValidationFrequency

      public void setValidationFrequency(String validationFrequency)
    • setConnectLastAttempt

      public void setConnectLastAttempt(String connectLastAttempt)
    • setReconnectWaitTime

      public void setReconnectWaitTime(String reconnectWaitTime)
    • setConnectLastSuccess

      public void setConnectLastSuccess(String connectLastSuccess)
    • setSendOriginalTimecodes

      public void setSendOriginalTimecodes(String sendOriginalTimecodes)
      Sets the send original timecodes.
      Parameters:
      sendOriginalTimecodes - the new send original timecodes
    • setSendOnMetadata

      public void setSendOnMetadata(String sendOnMetadata)
    • setRemoveDefaultAppInstance

      public void setRemoveDefaultAppInstance(String removeDefaultAppInstance)
      Sets the removes the default app instance.
      Parameters:
      removeDefaultAppInstance - the new removes the default app instance
    • setHowToPublish

      public void setHowToPublish(String howToPublish)
      Description copied from class: PushPublishRTMP
      Set the howToPublish string (valid values are "live", "record" and "append")
      Overrides:
      setHowToPublish in class PushPublishRTMP
      Parameters:
      howToPublish - howToPublish string
    • setOnMetadataToSetDataFrame

      public void setOnMetadataToSetDataFrame(String onMetadataToSetDataFrame)
    • setSendStreamCloseCommands

      public void setSendStreamCloseCommands(String sendStreamCloseCommands)
      Sets the send stream close commands.
      Parameters:
      sendStreamCloseCommands - the new send stream close commands
    • setStreamCloseWaitTime

      public void setStreamCloseWaitTime(String streamCloseWaitTime)
    • setOriginalTimecodeThreshold

      public void setOriginalTimecodeThreshold(String originalTimecodeThreshold)
      Sets the original timecode threshold.
      Overrides:
      setOriginalTimecodeThreshold in class PushPublishRTMP
      Parameters:
      originalTimecodeThreshold - the new original timecode threshold
    • setQueryString

      public void setQueryString(String queryString)
      Description copied from class: PushPublishRTMP
      Set the queryString, as set in the map file
      Overrides:
      setQueryString in class PushPublishRTMP
    • setResetOnTimecodeOutOfOrder

      public void setResetOnTimecodeOutOfOrder(String resetOnTimecodeOutOfOrder)
      Set to true if you wish push to reset if timecodes jump out of order.
      Parameters:
      resetOnTimecodeOutOfOrder - true if you wish push to reset if timecodes jump out of order
    • setTimecodesOutOfOrderThreshold

      public void setTimecodesOutOfOrderThreshold(String timecodesOutOfOrderThreshold)
    • setWaitOnMetadataTimeout

      public void setWaitOnMetadataTimeout(String waitOnMetadataTimeout)
      Timeout (milliseconds) that the wait on onMetadata system will wait looking for video and audio data to be populated.
      Parameters:
      waitOnMetadataTimeout - the new timeout value (milliseconds-string)
    • setWaitOnMetadataAvailable

      public void setWaitOnMetadataAvailable(String waitOnMetadataAvailable)
    • setWaitOnMetadataVideo

      public void setWaitOnMetadataVideo(String waitOnMetadataVideo)
    • setWaitOnMetadataAudio

      public void setWaitOnMetadataAudio(String waitOnMetadataAudio)
    • setWaitOnMetadataVideoDatarate

      public void setWaitOnMetadataVideoDatarate(String waitOnMetadataVideoDatarate)
    • setWaitOnMetadataAudioDatarate

      public void setWaitOnMetadataAudioDatarate(String waitOnMetadataAudioDatarate)
    • setSSL

      public void setSSL(String sslStr)
    • load

      public void load(HashMap<String,String> dataMap)
      Description copied from class: PushPublishBase
      Loads map and profile parameters
      Overrides:
      load in class PushPublishBase
      Parameters:
      dataMap - the data map
    • isDebugPackets

      public boolean isDebugPackets()
      Checks if is debug packets.
      Overrides:
      isDebugPackets in class PushPublishRTMP
      Returns:
      true, if is debug packets
    • setDebugPackets

      public void setDebugPackets(boolean debugPackets)
      Sets the debug packets.
      Overrides:
      setDebugPackets in class PushPublishRTMP
      Parameters:
      debugPackets - the new debug packets
    • setDebugPackets

      public void setDebugPackets(String debugPacketsIn)
      Sets the debug packets.
      Parameters:
      debugPacketsIn - the new debug packets
    • isUsePingPong

      public boolean isUsePingPong()
      Is RTMP ping pong support enabled.
      Returns:
      true if ping pong support is enabled
    • setUsePingPong

      public void setUsePingPong(boolean usePingPong)
      Sets the RTMP ping pong support parameter.
      Parameters:
      usePingPong - true to enable RTMP ping pong support
    • setUsePingPong

      public void setUsePingPong(String usePingPong)
      Sets the RTMP ping pong support parameter.
      Parameters:
      usePingPong - "true" to enable RTMP ping pong support
    • isDebugLog

      public boolean isDebugLog()
      Is debug logging turned on.
      Specified by:
      isDebugLog in interface IPushPublish
      Overrides:
      isDebugLog in class PushPublishRTMP
      Returns:
      true if debug logging is turned on
    • getDstApplicationName

      public String getDstApplicationName()
      Get destination application name.
      Overrides:
      getDstApplicationName in class PushPublishRTMP
      Returns:
      destination application name
    • setApplication

      public void setApplication(String dstApplicationNameIN)
      Set destination application name.
      Parameters:
      dstApplicationNameIN - destination application name
    • setDstApplicationName

      public void setDstApplicationName(String string)
      Sets the dst application name.
      Overrides:
      setDstApplicationName in class PushPublishRTMP
      Parameters:
      string - the new dst application name
    • getDstAppInstanceName

      public String getDstAppInstanceName()
      Get destination appInstance name.
      Overrides:
      getDstAppInstanceName in class PushPublishRTMP
      Returns:
      destination appInstance name
    • setlocalBindAddress

      public void setlocalBindAddress(String bindAddress)
      Sets the local bind address for the connection.
      Parameters:
      bindAddress - the local bind address for the connection
    • getLocalBindAddress

      public String getLocalBindAddress()
      Get local bind address for the connection.
      Returns:
      local bind address for the connection
    • init

      public void init(IApplicationInstance appInstance2, String streamName, IMediaStream stream, Map<String,String> profileData, 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 interface IPushPublish
      Overrides:
      init in class PushPublishBase
      Parameters:
      appInstance2 - the app instance
      streamName - the source stream name
      profileData - the profile params
      maps - the map entry params
      debug - stream debug flag
    • setDstStreamName

      public void setDstStreamName(String dstStreamNameIn)
      Description copied from class: PushPublishRTMP
      Set destination stream name
      Specified by:
      setDstStreamName in interface IPushPublish
      Overrides:
      setDstStreamName in class PushPublishRTMP
      Parameters:
      dstStreamNameIn - destination stream name
    • setDstAppInstanceName

      public void setDstAppInstanceName(String dstAppInstanceName)
      Description copied from class: PushPublishRTMP
      Set destination appInstance name
      Overrides:
      setDstAppInstanceName in class PushPublishRTMP
      Parameters:
      dstAppInstanceName - destination appInstance name