Files
open-im-server/pkg/proto/rtc/rtc.proto
T

28 lines
533 B
Protocol Buffer
Raw Normal View History

2022-03-14 18:33:00 +08:00
syntax = "proto3";
2022-03-16 14:59:15 +08:00
import "Open_IM/pkg/proto/sdk_ws/ws.proto";
2022-03-14 18:33:00 +08:00
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;
2022-03-16 14:59:15 +08:00
server_api_params.ParticipantMetaData metaData = 5;
string operationID = 6;
2022-03-14 18:33:00 +08:00
}
message GetJoinTokenResp{
CommonResp CommonResp = 1;
string jwt = 2;
}
service RtcService {
rpc GetJoinToken(GetJoinTokenReq) returns(GetJoinTokenResp);
}