Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
livekit: patch
livekit-data-stream: patch
livekit-ffi: patch
---

Move the concept of "internal" data streams into `livekit` crate from `livekit-data-stream` - #1304 (@1egoman)
10 changes: 10 additions & 0 deletions livekit-data-stream/src/incoming/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,23 @@ pub struct StreamOpened {
pub struct ChunkReceived {
pub chunk: Chunk,
pub participant_identity: ParticipantIdentity,

/// Topic of the stream this chunk belongs to, or `None` if the associated stream id could
/// not be mapped to a topic.
pub topic: Option<String>,
}
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.

/// A "raw trailer received" notification, which is used to trigger
/// the deprecated [RoomEvent:::StreamTrailerReceived] event.
pub struct TrailerReceived {
pub trailer: Trailer,
pub participant_identity: ParticipantIdentity,

/// Topic of the stream this chunk belongs to, or `None` if the associated stream id could
/// not be mapped to a topic.
///
/// See [`ChunkReceived::topic`].
pub topic: Option<String>,
}

/// An event emitted by [`IncomingStreamManager::run`] for the host crate to surface. The manager
Expand Down
Loading
Loading