Skip to content

Commit 410a0f3

Browse files
Remove participant check for data packets (#757)
Removed check for participant existence before processing data packets.
1 parent 455cac4 commit 410a0f3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

livekit/src/room/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,11 +1429,6 @@ impl RoomSession {
14291429
.unwrap_or(None);
14301430
}
14311431

1432-
if participant.is_none() && (participant_identity.is_some() || participant_sid.is_some()) {
1433-
// We received a data packet from a participant that is not in the participants list
1434-
return;
1435-
}
1436-
14371432
// Update participant's data encryption status for regular data messages
14381433
if let Some(ref p) = participant {
14391434
use crate::e2ee::EncryptionType;

0 commit comments

Comments
 (0)