summary refs log tree commit diff
path: root/src/protodefs/protos.proto
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-21 19:21:32 +0200
committerGitHub <noreply@github.com>2021-05-21 19:21:32 +0200
commit9c9c948ae9eb1959aabd70eff968dd49272a05fb (patch)
tree096bacda4fc8b765a7712330850b2b50657112bb /src/protodefs/protos.proto
parentMerge branch 'master' of https://github.com/discord-open-source/discord-voice (diff)
parent[del] Removed protobuf build files (diff)
downloadserver-9c9c948ae9eb1959aabd70eff968dd49272a05fb.tar.xz
Merge pull request #19 from ItsNewe/master
Set up the initial project structure
Diffstat (limited to '')
-rw-r--r--src/protodefs/protos.proto24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/protodefs/protos.proto b/src/protodefs/protos.proto
new file mode 100644

index 00000000..11face5f --- /dev/null +++ b/src/protodefs/protos.proto
@@ -0,0 +1,24 @@ +syntax = "proto3"; + +package fosscordMedia; + +service fosscordInternals{ + rpc vRequest(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