Skip to content

Commit

Permalink
some unused
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Oct 8, 2024
1 parent d18b1ca commit a9f4d97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions livekit-ffi/src/server/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ async fn forward_event(
data_ptr: payload.as_ptr() as u64,
data_len: payload.len() as u64,
};
let (sid, identity) = match participant {
let (_sid, identity) = match participant {
Some(p) => (Some(p.sid().to_string()), p.identity().to_string()),
None => (None, String::new()),
};
Expand Down Expand Up @@ -954,7 +954,7 @@ async fn forward_event(
));
}
RoomEvent::SipDTMFReceived { code, digit, participant } => {
let (sid, identity) = match participant {
let (_sid, identity) = match participant {
Some(p) => (Some(p.sid().to_string()), p.identity().to_string()),
None => (None, String::new()),
};
Expand Down
2 changes: 1 addition & 1 deletion livekit-ffi/src/server/video_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl FfiVideoStream {

let track_source = request.track_source();
let (track_tx, mut track_rx) = mpsc::channel::<Track>(1);
let (track_finished_tx, track_finished_rx) = broadcast::channel::<Track>(1);
let (track_finished_tx, _track_finished_rx) = broadcast::channel::<Track>(1);
server.async_runtime.spawn(utils::track_changed_trigger(
ffi_participant,
track_source.into(),
Expand Down

0 comments on commit a9f4d97

Please sign in to comment.