LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
livekit::ByteStreamReader Class Reference

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
 
ByteStreamReaderoperator= (const ByteStreamReader &)=delete
 
bool readNext (std::vector< std::uint8_t > &out)
 
const ByteStreamInfoinfo () const noexcept
 Metadata associated with this stream.
 

Friends

class Room
 

Detailed Description

Reader for incoming byte streams.

Member Function Documentation

◆ readNext()

bool livekit::ByteStreamReader::readNext ( std::vector< std::uint8_t > &  out)

Blocking read of next byte chunk. Returns false when the stream has ended.


The documentation for this class was generated from the following file: