Class PushPublishHTTPYouTubeBase

    • Field Detail

      • YOUTUBE_DEFAULT_HOSTID

        public static final String YOUTUBE_DEFAULT_HOSTID
        See Also:
        Constant Field Values
      • httpIngressDomainSuffix

        protected String httpIngressDomainSuffix
      • httpPlaybackDomainSuffix

        protected String httpPlaybackDomainSuffix
      • youtubePlaybackURLPrefix

        protected String youtubePlaybackURLPrefix
      • youtubeProtocolName

        protected String youtubeProtocolName
      • httpIngressDomainOverride

        protected String httpIngressDomainOverride
      • httpPlaybackDomainOverride

        protected String httpPlaybackDomainOverride
      • maxRetries

        protected int maxRetries
      • connectionTimeout

        protected int connectionTimeout
      • readWriteTimeout

        protected int readWriteTimeout
      • httpWriterLogOptions

        protected int httpWriterLogOptions
      • protocol

        protected String protocol
      • youtubeStreamId

        protected String youtubeStreamId
      • youtubeEventName

        protected String youtubeEventName
      • sendToBackupServer

        protected boolean sendToBackupServer
      • fakePosts

        protected boolean fakePosts
      • reuseSockets

        protected boolean reuseSockets
      • youtubeHostId

        protected String youtubeHostId
      • userAgent

        protected String userAgent
    • Constructor Detail

      • PushPublishHTTPYouTubeBase

        public PushPublishHTTPYouTubeBase()
                                   throws com.wowza.wms.server.LicensingException
        Throws:
        com.wowza.wms.server.LicensingException
    • Method Detail

      • init

        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)
        Description copied from class: PushPublishHTTPBase
        Inits the instance.
        Specified by:
        init in interface IPushPublish
        Overrides:
        init in class PushPublishHTTPBase
        Parameters:
        appInstance - the app instance
        streamName - the source stream name
        profileData - the profile params
        maps - the map entry params
        streamDebug - stream debug flag
      • getResolvedYouTubeStreamId

        protected String getResolvedYouTubeStreamId()
      • getDestinationDomain

        public String getDestinationDomain()
      • isSendToBackupServer

        public boolean isSendToBackupServer()
      • setSendToBackupServer

        public void setSendToBackupServer​(boolean sendToBackupServer)
      • isInRedundancyPair

        public boolean isInRedundancyPair()
      • getYouTubeStreamId

        public String getYouTubeStreamId()
      • setYouTubeStreamId

        public void setYouTubeStreamId​(String youtubeStreamId)
      • getYouTubePlaybackDomain

        public String getYouTubePlaybackDomain()
      • getDestinationPath

        public String getDestinationPath()
      • getDestinationURL

        public String getDestinationURL()
      • getDestinationAdaptiveGroupPath

        public String getDestinationAdaptiveGroupPath​(String groupName)
      • getDestinationAdaptiveGroupURL

        public String getDestinationAdaptiveGroupURL​(String groupName)
      • getYouTubePlaybackAdaptiveGroupURL

        public String getYouTubePlaybackAdaptiveGroupURL​(String groupName)
      • getYouTubePlaybackURL

        public String getYouTubePlaybackURL()
      • resetConnection

        public void resetConnection()
      • getYouTubeHostId

        public String getYouTubeHostId()
      • setYouTubeHostId

        public void setYouTubeHostId​(String youtubeHostId)
      • getYouTubeEventName

        public String getYouTubeEventName()
      • setYouTubeEventName

        public void setYouTubeEventName​(String youtubeEventName)
      • isDeleteSentChunks

        public boolean isDeleteSentChunks()
      • setDeleteSentChunks

        public void setDeleteSentChunks​(boolean deleteSentChunks)
      • getYouTubePlaybackURLPrefix

        public String getYouTubePlaybackURLPrefix()
      • setYouTubePlaybackURLPrefix

        public void setYouTubePlaybackURLPrefix​(String youtubePlaybackURLPrefix)
      • isFakePosts

        public boolean isFakePosts()
      • setFakePosts

        public void setFakePosts​(boolean fakePosts)
      • isReuseSockets

        public boolean isReuseSockets()
      • setReuseSockets

        public void setReuseSockets​(boolean reuseSockets)
      • getConnectionTimeout

        public int getConnectionTimeout()
      • setConnectionTimeout

        public void setConnectionTimeout​(int connectionTimeout)
      • getReadWriteTimeout

        public int getReadWriteTimeout()
      • setReadWriteTimeout

        public void setReadWriteTimeout​(int readTimeout)
      • getMaxRetries

        public int getMaxRetries()
      • setMaxRetries

        public void setMaxRetries​(int maxRetries)
      • getUserAgent

        public String getUserAgent()
      • setUserAgent

        public void setUserAgent​(String userAgent)
      • getDestinationPort

        public int getDestinationPort()
      • isDestinationSecure

        public boolean isDestinationSecure()
      • load

        public void load​(java.util.HashMap<String,​String> dataMap)
        Description copied from class: PushPublishHTTPBase
        Loads map and profile parameters
        Overrides:
        load in class PushPublishHTTPBase
        Parameters:
        dataMap - the data map