Skip to content

Commit 1b7e38e

Browse files
authored
Rename RTCRest -> WHIP. (#1149)
1 parent f44a41e commit 1b7e38e

File tree

7 files changed

+958
-958
lines changed

7 files changed

+958
-958
lines changed

magefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func Proto() error {
7777
"rpc/signal.proto",
7878
"rpc/signalv2.proto",
7979
"rpc/signalv2_types.proto",
80-
"rpc/rest_signal.proto",
80+
"rpc/whip_signal.proto",
8181
"rpc/sip.proto",
8282
}
8383

protobufs/rpc/rest_signal.proto renamed to protobufs/rpc/whip_signal.proto

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import "options.proto";
99
import "livekit_internal.proto";
1010
import "livekit_rtc.proto";
1111

12-
service RTCRest {
13-
rpc Create(RTCRestCreateRequest) returns (RTCRestCreateResponse) {
12+
service WHIP {
13+
rpc Create(WHIPCreateRequest) returns (WHIPCreateResponse) {
1414
option (psrpc.options) = {
1515
topics: true
1616
queue: true
@@ -23,7 +23,7 @@ service RTCRest {
2323
}
2424
}
2525

26-
message RTCRestCreateRequest {
26+
message WHIPCreateRequest {
2727
message TrackList {
2828
repeated string track_names = 1;
2929
}
@@ -33,7 +33,7 @@ message RTCRestCreateRequest {
3333
map<string, TrackList> subscribed_participant_tracks = 3;
3434
}
3535

36-
message RTCRestCreateResponse {
36+
message WHIPCreateResponse {
3737
string answer_sdp = 1;
3838
string participant_id = 2;
3939
repeated livekit.ICEServer ice_servers = 3;
@@ -42,8 +42,8 @@ message RTCRestCreateResponse {
4242

4343
// ----------------------------------
4444

45-
service RTCRestParticipant {
46-
rpc ICETrickle(RTCRestParticipantICETrickleRequest) returns (google.protobuf.Empty) {
45+
service WHIPParticipant {
46+
rpc ICETrickle(WHIPParticipantICETrickleRequest) returns (google.protobuf.Empty) {
4747
option (psrpc.options) = {
4848
topics: true
4949
topic_params: {
@@ -54,7 +54,7 @@ service RTCRestParticipant {
5454
};
5555
}
5656

57-
rpc ICERestart(RTCRestParticipantICERestartRequest) returns (RTCRestParticipantICERestartResponse) {
57+
rpc ICERestart(WHIPParticipantICERestartRequest) returns (WHIPParticipantICERestartResponse) {
5858
option (psrpc.options) = {
5959
topics: true
6060
topic_params: {
@@ -65,7 +65,7 @@ service RTCRestParticipant {
6565
};
6666
}
6767

68-
rpc DeleteSession(RTCRestParticipantDeleteSessionRequest) returns (google.protobuf.Empty) {
68+
rpc DeleteSession(WHIPParticipantDeleteSessionRequest) returns (google.protobuf.Empty) {
6969
option (psrpc.options) = {
7070
topics: true
7171
topic_params: {
@@ -77,27 +77,27 @@ service RTCRestParticipant {
7777
}
7878
}
7979

80-
message RTCRestParticipantICETrickleRequest {
80+
message WHIPParticipantICETrickleRequest {
8181
string room = 1;
8282
string participant_identity = 2;
8383
string participant_id = 3;
8484
string ice_session_id = 4;
8585
string sdp_fragment = 5;
8686
}
8787

88-
message RTCRestParticipantICERestartRequest {
88+
message WHIPParticipantICERestartRequest {
8989
string room = 1;
9090
string participant_identity = 2;
9191
string participant_id = 3;
9292
string sdp_fragment = 4;
9393
}
9494

95-
message RTCRestParticipantICERestartResponse {
95+
message WHIPParticipantICERestartResponse {
9696
string ice_session_id = 1;
9797
string sdp_fragment = 2;
9898
}
9999

100-
message RTCRestParticipantDeleteSessionRequest {
100+
message WHIPParticipantDeleteSessionRequest {
101101
string room = 1;
102102
string participant_identity = 2;
103103
string participant_id = 3;

0 commit comments

Comments
 (0)