|
LiveKit C++ SDK
Real-time audio/video SDK for C++
|
Reader for incoming byte streams. More...
#include <data_stream.h>
Public Member Functions | |
| ByteStreamReader (const ByteStreamInfo &info) | |
| Construct a reader from initial stream metadata. | |
| ByteStreamReader (const ByteStreamReader &)=delete | |
| ByteStreamReader & | operator= (const ByteStreamReader &)=delete |
| bool | readNext (std::vector< std::uint8_t > &out) |
| const ByteStreamInfo & | info () const noexcept |
| Metadata associated with this stream. | |
Friends | |
| class | Room |
Reader for incoming byte streams.
| bool livekit::ByteStreamReader::readNext | ( | std::vector< std::uint8_t > & | out | ) |
Blocking read of next byte chunk. Returns false when the stream has ended.