Fix invoking RemoveParticipant
on live-kit server
This commit is contained in:
parent
bf98300547
commit
47be340cac
1 changed files with 5 additions and 1 deletions
|
@ -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?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue