RenderingPacketConsumer


@ExperimentalApi
public interface RenderingPacketConsumer<I extends Object, O extends Object> extends PacketConsumer


A PacketConsumer that renders input Packets to an output O.

Summary

Public methods

abstract void
setRenderOutput(O output)

Sets the the target for where input frames are rendered to.

Inherited methods

From androidx.media3.effect.PacketConsumer
abstract void

Queues a Packet for processing, suspending the caller if the consumer is at capacity.

abstract void

Releases all resources.

Public methods

setRenderOutput

abstract void setRenderOutput(O output)

Sets the the target for where input frames are rendered to.