PacketConsumerHardwareBufferFrameQueue.Listener


public interface PacketConsumerHardwareBufferFrameQueue.Listener


Listener for PacketConsumerHardwareBufferFrameQueue events.

The methods are called on an internal processing thread before packets are forwarded to the downstream PacketConsumer.

Summary

Public methods

abstract SurfaceInfo

Returns a SurfaceInfo based on the given Format.

abstract void

Called when the end of stream has been reached and is about to be signaled downstream.

abstract void

Called when an asynchronous error occurs.

Public methods

getRendererSurfaceInfo

abstract SurfaceInfo getRendererSurfaceInfo(Format format)

Returns a SurfaceInfo based on the given Format.

onEndOfStream

abstract void onEndOfStream()

Called when the end of stream has been reached and is about to be signaled downstream.

onError

abstract void onError(VideoFrameProcessingException e)

Called when an asynchronous error occurs.