Fix invoking RemoveParticipant on live-kit server

This commit is contained in:
Antonio Scandurra 2022-10-18 14:35:06 +02:00
parent bf98300547
commit 47be340cac

View file

@ -68,9 +68,13 @@ impl Client {
"twirp/livekit.RoomService/RemoveParticipant",
token::VideoGrant {
room_admin: Some(true),
room: Some(&room),
..Default::default()
},
proto::RoomParticipantIdentity { room, identity },
proto::RoomParticipantIdentity {
room: room.clone(),
identity,
},
);
async move {
let _: proto::RemoveParticipantResponse = response.await?;