mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
27 lines
436 B
Protocol Buffer
27 lines
436 B
Protocol Buffer
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);
|
|
}
|
|
|