class OnOutputEndOfStream
Defined at line 1556 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/markers.h
After QueueInputEndOfStream() is sent by the StreamProcessor client,
within a reasonable duration the corresponding OnOutputEndOfStream()
will be sent by the StreamProcessor server. Similar to
QueueInputEndOfStream(), OnOutputEndOfStream() is sent a maximum of once
per stream.
No more stream data for this stream will be sent after this message. All
input data for this stream was processed.
While a StreamProcessor client is not required to
QueueInputEndOfStream() (unless the client wants to use
FlushEndOfStreamAndCloseStream()), if a StreamProcessor server receives
QueueInputEndOfStream(), and the client hasn't closed the stream, the
StreamProcessor server must generate a corresponding
OnOutputEndOfStream() if nothing went wrong, or must send
OnStreamFailed(), or must close the server end of the StreamProcessor
channel. An ideal StreamProcessor server would handle and report stream
errors via the error_ flags and complete stream processing without
sending OnStreamFailed(), but in any case, the above-listed options are
the only ways that an OnOutputEndOfStream() won't happen after
QueueInputEndOfStream().
There will be no more OnOutputPacket() or OnOutputConstraints() messages
for this stream_lifetime_ordinal after this message - if a server doesn't
follow this rule, a client should close the StreamProcessor channel.
The error_detected_before bool has the same semantics as the
error_detected_before bool in OnOutputPacket().
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal