Package com.wowza.wms.transcoder.model
Interface ITranscoderFrameGrabProvider
-
public interface ITranscoderFrameGrabProvider
ITranscoderFrameGrabProvider: interface used to grab frames froom the live stream transcoder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<com.wowza.wms.transcoder.model.TranscoderFrameGrabHolder>
getAndClearPendingFrameGrabs()
Returns a list of all grab frame requests that are pending and clears the pending list.void
grabFrame(ITranscoderFrameGrabResult grabResult)
Call to grab a frame.void
grabFrame(ITranscoderFrameGrabResult grabResult, int width, int height)
Call to grab a frame.
-
-
-
Method Detail
-
grabFrame
void grabFrame(ITranscoderFrameGrabResult grabResult)
Call to grab a frame. The size of the frame will be the full size of the video frame.- Parameters:
grabResult
- the class that will be called back when frame is available
-
grabFrame
void grabFrame(ITranscoderFrameGrabResult grabResult, int width, int height)
Call to grab a frame. The size of the frame is controled by width and height.- Parameters:
grabResult
- the class that will be called back when frame is availablewidth
- frame widthheight
- frame height
-
getAndClearPendingFrameGrabs
java.util.List<com.wowza.wms.transcoder.model.TranscoderFrameGrabHolder> getAndClearPendingFrameGrabs()
Returns a list of all grab frame requests that are pending and clears the pending list.- Returns:
- list of pendinig grab frames
-
-