You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
syntax = "proto3";
|
|
|
|
import "Open-IM-Server/pkg/proto/sdkws/ws.proto";
|
|
|
|
option go_package = "OpenIM/pkg/proto/rtc;rtc";
|
|
|
|
package proto;
|
|
|
|
|
|
|
|
message SignalMessageAssembleReq {
|
|
|
|
sdkws.SignalReq signalReq = 1;
|
|
|
|
string operationID = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SignalMessageAssembleResp {
|
|
|
|
bool isPass = 1;
|
|
|
|
sdkws.SignalResp signalResp = 2;
|
|
|
|
sdkws.MsgData msgData = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SignalGetRoomsReq {
|
|
|
|
string roomID = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SignalGetRoomsResp {
|
|
|
|
repeated sdkws.SignalGetRoomByGroupIDReply rooms = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
service RtcService {
|
|
|
|
rpc SignalMessageAssemble(SignalMessageAssembleReq) returns(SignalMessageAssembleResp);
|
|
|
|
rpc SignalGetRooms(SignalGetRoomsReq) returns(SignalGetRoomsResp);
|
|
|
|
}
|