Class PushPublishHTTPCupertinoWowzaVideoHandler

Object
com.wowza.wms.pushpublish.model.PushPublishBase
com.wowza.wms.pushpublish.model.PushPublishHTTPBase
com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertino
com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoCloudStorageHandler
com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
com.wowza.wms.pushpublish.protocol.cupertino.PushPublishHTTPCupertinoWowzaVideoHandler
All Implemented Interfaces:
IPushPublish, IPushPublishHTTPGroupMember, IPushPublishHTTPOutputBuilder, IPushPublishHTTPCupertino

public class PushPublishHTTPCupertinoWowzaVideoHandler extends com.wowza.video.pushpublish.protocol.cupertino.PushPublishVideoHTTPCupertinoCloudStorageHandler
  • Constructor Details

    • PushPublishHTTPCupertinoWowzaVideoHandler

      public PushPublishHTTPCupertinoWowzaVideoHandler() throws com.wowza.wms.server.LicensingException
      Throws:
      com.wowza.wms.server.LicensingException
  • Method Details

    • init

      public void init(IApplicationInstance appInstance, String streamName, IMediaStream stream, Map<String,String> profileData, 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(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
    • getDstStreamName

      public String getDstStreamName()
      Description copied from class: PushPublishBase
      Get destination stream name.
      Specified by:
      getDstStreamName in interface IPushPublish
      Specified by:
      getDstStreamName in interface IPushPublishHTTPOutputBuilder
      Overrides:
      getDstStreamName in class PushPublishBase
      Returns:
      destination stream name
    • 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)
    • sendMediaSegment

      public int sendMediaSegment(MediaSegmentModel mediaSegment)
      Description copied from interface: IPushPublishHTTPCupertino
      Sends the media (chunk) to the destination; media provided as a fragment list.
      Specified by:
      sendMediaSegment in interface IPushPublishHTTPCupertino
      Overrides:
      sendMediaSegment in class PushPublishHTTPCupertinoCloudStorageHandler
      Parameters:
      mediaSegment - the media file in fragment list form
      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