RenderingPacketConsumer


@ExperimentalApi
interface RenderingPacketConsumer<I : Any?, O : Any?> : PacketConsumer


A PacketConsumer that renders input Packets to an output O.

Summary

Public functions

Unit
setRenderOutput(output: O?)

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

Inherited functions

From androidx.media3.effect.PacketConsumer
suspend Unit

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

suspend Unit

Releases all resources.

Public functions

setRenderOutput

fun setRenderOutput(output: O?): Unit

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