Class PushPublishHTTPCupertinoWowzaVideoHandler

    • Constructor Detail

      • PushPublishHTTPCupertinoWowzaVideoHandler

        public PushPublishHTTPCupertinoWowzaVideoHandler()
                                                  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 com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
        Parameters:
        appInstance - the app instance
        streamName - the source stream name
        profileData - the profile params
        maps - the map entry params
        streamDebug - stream debug flag
      • load

        public void load​(java.util.HashMap<String,​String> dataMap)
        Description copied from class: PushPublishHTTPBase
        Loads map and profile parameters
        Overrides:
        load in class com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
        Parameters:
        dataMap - the data map
      • deleteMediaSegment

        public int deleteMediaSegment​(MediaSegmentModel mediaSegment)
        Description copied from interface: IPushPublishHTTPCupertino
        Deletes the media (chunk) at the destination URI. Default implementation assumes the URI uses the HTTP schema and deletes the media using the WSE HTTPByteWriter. Implementations not using the HTTP schema or not wanting to use the default HTTPByteWriter should override the default method.
        Specified by:
        deleteMediaSegment in interface IPushPublishHTTPCupertino
        Overrides:
        deleteMediaSegment in class com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
        Parameters:
        mediaSegment - the media destination URI
        Returns:
        number of bytes sent if successful (less than zero implies the implementation does not support, 0 is a failure, > 0 is success)
      • sendMediaPlaylist

        public int sendMediaPlaylist​(PlaylistModel playlist)
        Description copied from interface: IPushPublishHTTPCupertino
        Sends the media playlist to the destination.
        Specified by:
        sendMediaPlaylist in interface IPushPublishHTTPCupertino
        Overrides:
        sendMediaPlaylist in class com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
        Parameters:
        playlist - the media playlist model
        Returns:
        number of bytes sent to output (less than zero implies the implementation does not support, 0 is a failure, > 0 is success)
      • getPlaylistCount

        public int getPlaylistCount()
        Description copied from class: PushPublishHTTPBase
        Get the playlist count. The value from the map file is returned if defined, else the packetizer value is returned return the playlist count
        Overrides:
        getPlaylistCount in class PushPublishHTTPCupertino