Fix invoking RemoveParticipant on live-kit server
This commit is contained in:
@@ -68,9 +68,13 @@ impl Client {
|
|||||||
"twirp/livekit.RoomService/RemoveParticipant",
|
"twirp/livekit.RoomService/RemoveParticipant",
|
||||||
token::VideoGrant {
|
token::VideoGrant {
|
||||||
room_admin: Some(true),
|
room_admin: Some(true),
|
||||||
|
room: Some(&room),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
proto::RoomParticipantIdentity { room, identity },
|
proto::RoomParticipantIdentity {
|
||||||
|
room: room.clone(),
|
||||||
|
identity,
|
||||||
|
},
|
||||||
);
|
);
|
||||||
async move {
|
async move {
|
||||||
let _: proto::RemoveParticipantResponse = response.await?;
|
let _: proto::RemoveParticipantResponse = response.await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user