class StreamBufferSet

Defined at line 21944 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h

Manages a set of payload buffers for a stream. This interface is typically

inherited along with `StreamSink` or `StreamSource` to enable the transport

of elementary streams between clients and services.

Public Methods

void ~StreamBufferSet ()
void AddPayloadBuffer (uint32_t id, ::zx::vmo payload_buffer)

Adds a payload buffer to the current buffer set associated with the

connection. A `StreamPacket` struct reference a payload buffer in the

current set by ID using the `StreamPacket.payload_buffer_id` field.

A buffer with ID `id` must not be in the current set when this method is

invoked, otherwise the service will close the connection.

void RemovePayloadBuffer (uint32_t id)

Removes a payload buffer from the current buffer set associated with the

connection.

A buffer with ID `id` must exist in the current set when this method is

invoked, otherwise the service will will close the connection.