File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ service RoomService {
7272 // The participant will be removed from the current room and added to the destination room.
7373 // From the other observers' perspective, the participant would've disconnected from the previous room and joined the new one.
7474 rpc MoveParticipant (MoveParticipantRequest ) returns (MoveParticipantResponse );
75+
76+ rpc PerformRpc (PerformRpcRequest ) returns (PerformRpcResponse );
7577}
7678
7779message CreateRoomRequest {
@@ -268,3 +270,16 @@ message MoveParticipantRequest {
268270
269271message MoveParticipantResponse {
270272}
273+
274+ message PerformRpcRequest {
275+ string room = 1 ;
276+ string destination_identity = 2 ;
277+ string method = 3 ;
278+ string payload = 4 ;
279+ uint32 response_timeout_ms = 5 ;
280+ }
281+
282+ message PerformRpcResponse {
283+ string payload = 1 ;
284+ }
285+
Original file line number Diff line number Diff line change @@ -83,4 +83,14 @@ service Participant {
8383 };
8484 };
8585 };
86+ rpc PerformRpc (livekit.PerformRpcRequest ) returns (livekit.PerformRpcResponse ) {
87+ option (psrpc.options ) = {
88+ topics : true
89+ topic_params : {
90+ group : "participant"
91+ names : ["participant" ]
92+ typed : true
93+ };
94+ };
95+ };
8696}
You can’t perform that action at this time.
0 commit comments