|
LiveKit C++ Client SDK v1.1.0
Real-time audio/video/data SDK for C++
|
Header information for an incoming data stream. More...
#include <room_event_types.h>
Public Types | |
| enum class | ContentType { None , Text , Byte } |
| Content type carried by this stream. | |
| enum class | OperationType { Create = 0 , Update = 1 , Delete = 2 , Reaction = 3 } |
| Operation type for text streams. | |
Public Attributes | |
| std::string | stream_id |
| Unique stream identifier. | |
| std::int64_t | timestamp = 0 |
| Timestamp (ms since Unix epoch). | |
| std::string | mime_type |
| MIME type of the content (e.g. "application/json"). | |
| std::string | topic |
| Application-defined topic name. | |
| std::optional< std::uint64_t > | total_length |
| Optional total length in bytes, if known. | |
| std::map< std::string, std::string > | attributes |
| Custom attributes associated with this stream. | |
| enum livekit::DataStreamHeaderData::ContentType | content_type = ContentType::None |
| std::optional< OperationType > | operation_type |
| Optional operation type, for text content. | |
| std::optional< int > | version |
| Optional version number for the text stream. | |
| std::optional< std::string > | reply_to_stream_id |
| Optional ID of the stream this one replies to. | |
| std::vector< std::string > | attached_stream_ids |
| IDs of streams attached to this one. | |
| std::optional< bool > | generated |
| True if this stream was generated (e.g. by AI). | |
| std::optional< std::string > | name |
| Optional filename for byte streams. | |
Header information for an incoming data stream.
Represents proto_room.DataStream.Header in a C++-friendly form.