This commit is contained in:
wangchuxiao
2022-03-14 18:33:00 +08:00
parent fb22b8bba5
commit 347b1dd31c
6 changed files with 501 additions and 18 deletions
+26
View File
@@ -0,0 +1,26 @@
syntax = "proto3";
option go_package = "./rtc;rtc";
package rtc;
message CommonResp{
int32 errCode = 1;
string errMsg = 2;
}
message GetJoinTokenReq{
string apiKey = 1;
string apiSecret = 2;
string room = 3;
string identity = 4;
string operationID = 5;
}
message GetJoinTokenResp{
CommonResp CommonResp = 1;
string jwt = 2;
}
service RtcService {
rpc GetJoinToken(GetJoinTokenReq) returns(GetJoinTokenResp);
}