From 7d40250c11077d6717388412479a65bb8826960b Mon Sep 17 00:00:00 2001 From: Newe Date: Fri, 21 May 2021 11:13:17 +0200 Subject: [add] Basic project structure --- src/protodefs/protos.proto | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/protodefs/protos.proto (limited to 'src/protodefs/protos.proto') diff --git a/src/protodefs/protos.proto b/src/protodefs/protos.proto new file mode 100644 index 00000000..a8c9f845 --- /dev/null +++ b/src/protodefs/protos.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + +package fosscordMedia; + +service fosscordInternals{ + rpc requestProtocol(voiceRequest) returns (voiceAnswer) {} +} + +message voiceRequest{ //OP1 from gw + uint64 userid = 1; + uint64 guildid = 2; + string IP=3; + uint32 port=4; + string protocol=5; + string rtcConnectionId=6; +} + +message voiceAnswer{//OP2 and OP4 to gw + string ip=1; + uint32 port=3; + repeated string modes=2; + int32 ssrc=4; + string audioCodec=5; +} \ No newline at end of file -- cgit 1.5.1