@@ -9,8 +9,8 @@ import "options.proto";
9
9
import "livekit_internal.proto" ;
10
10
import "livekit_rtc.proto" ;
11
11
12
- service RTCRest {
13
- rpc Create (RTCRestCreateRequest ) returns (RTCRestCreateResponse ) {
12
+ service WHIP {
13
+ rpc Create (WHIPCreateRequest ) returns (WHIPCreateResponse ) {
14
14
option (psrpc.options ) = {
15
15
topics : true
16
16
queue : true
@@ -23,7 +23,7 @@ service RTCRest {
23
23
}
24
24
}
25
25
26
- message RTCRestCreateRequest {
26
+ message WHIPCreateRequest {
27
27
message TrackList {
28
28
repeated string track_names = 1 ;
29
29
}
@@ -33,7 +33,7 @@ message RTCRestCreateRequest {
33
33
map <string , TrackList > subscribed_participant_tracks = 3 ;
34
34
}
35
35
36
- message RTCRestCreateResponse {
36
+ message WHIPCreateResponse {
37
37
string answer_sdp = 1 ;
38
38
string participant_id = 2 ;
39
39
repeated livekit.ICEServer ice_servers = 3 ;
@@ -42,8 +42,8 @@ message RTCRestCreateResponse {
42
42
43
43
// ----------------------------------
44
44
45
- service RTCRestParticipant {
46
- rpc ICETrickle (RTCRestParticipantICETrickleRequest ) returns (google .protobuf .Empty ) {
45
+ service WHIPParticipant {
46
+ rpc ICETrickle (WHIPParticipantICETrickleRequest ) returns (google .protobuf .Empty ) {
47
47
option (psrpc.options ) = {
48
48
topics : true
49
49
topic_params : {
@@ -54,7 +54,7 @@ service RTCRestParticipant {
54
54
};
55
55
}
56
56
57
- rpc ICERestart (RTCRestParticipantICERestartRequest ) returns (RTCRestParticipantICERestartResponse ) {
57
+ rpc ICERestart (WHIPParticipantICERestartRequest ) returns (WHIPParticipantICERestartResponse ) {
58
58
option (psrpc.options ) = {
59
59
topics : true
60
60
topic_params : {
@@ -65,7 +65,7 @@ service RTCRestParticipant {
65
65
};
66
66
}
67
67
68
- rpc DeleteSession (RTCRestParticipantDeleteSessionRequest ) returns (google .protobuf .Empty ) {
68
+ rpc DeleteSession (WHIPParticipantDeleteSessionRequest ) returns (google .protobuf .Empty ) {
69
69
option (psrpc.options ) = {
70
70
topics : true
71
71
topic_params : {
@@ -77,27 +77,27 @@ service RTCRestParticipant {
77
77
}
78
78
}
79
79
80
- message RTCRestParticipantICETrickleRequest {
80
+ message WHIPParticipantICETrickleRequest {
81
81
string room = 1 ;
82
82
string participant_identity = 2 ;
83
83
string participant_id = 3 ;
84
84
string ice_session_id = 4 ;
85
85
string sdp_fragment = 5 ;
86
86
}
87
87
88
- message RTCRestParticipantICERestartRequest {
88
+ message WHIPParticipantICERestartRequest {
89
89
string room = 1 ;
90
90
string participant_identity = 2 ;
91
91
string participant_id = 3 ;
92
92
string sdp_fragment = 4 ;
93
93
}
94
94
95
- message RTCRestParticipantICERestartResponse {
95
+ message WHIPParticipantICERestartResponse {
96
96
string ice_session_id = 1 ;
97
97
string sdp_fragment = 2 ;
98
98
}
99
99
100
- message RTCRestParticipantDeleteSessionRequest {
100
+ message WHIPParticipantDeleteSessionRequest {
101
101
string room = 1 ;
102
102
string participant_identity = 2 ;
103
103
string participant_id = 3 ;
0 commit comments