Package com.wowza.wms.transcoder.model
Interface ITranscoderFrameGrabProvider
public interface ITranscoderFrameGrabProvider
ITranscoderFrameGrabProvider: interface used to grab frames froom the live stream transcoder.
-
Method Summary
Modifier and TypeMethodDescriptionList<com.wowza.wms.transcoder.model.TranscoderFrameGrabHolder>
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 Details
-
grabFrame
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
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
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
-