Skip to content

Commit afef3ef

Browse files
HTTP DELETE to delete a participant session - relay signal message for (#1143)
* HTTP DELETE to delete a participant session - relay signal message for that. Also, doing a basic signal cache and building server message and client message cache on top of it. * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8cf93fe commit afef3ef

File tree

10 files changed

+479
-180
lines changed

10 files changed

+479
-180
lines changed

protobufs/rpc/signalv2.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package rpc;
1818

1919
option go_package = "github.com/livekit/protocol/rpc";
2020

21+
import "google/protobuf/empty.proto";
2122
import "options.proto";
2223
import "rpc/signalv2_types.proto";
2324

@@ -48,4 +49,15 @@ service Signalv2Participant {
4849
};
4950
};
5051
}
52+
53+
rpc RelaySignalv2ParticipantDeleteSession(RelaySignalv2ParticipantDeleteSessionRequest) returns (google.protobuf.Empty) {
54+
option (psrpc.options) = {
55+
topics: true
56+
topic_params: {
57+
group: "common"
58+
names: ["topic"]
59+
typed: true
60+
};
61+
};
62+
}
5163
}

protobufs/rpc/signalv2_types.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ message RelaySignalv2ParticipantRequest {
4242
message RelaySignalv2ParticipantResponse {
4343
livekit.Signalv2WireMessage wire_message = 1;
4444
}
45+
46+
message RelaySignalv2ParticipantDeleteSessionRequest {
47+
string room = 1;
48+
string participant_identity = 2;
49+
string participant_id = 3;
50+
}

rpc/signalv2.pb.go

Lines changed: 17 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/signalv2.psrpc.go

Lines changed: 43 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/signalv2_types.pb.go

Lines changed: 79 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)