summary refs log tree commit diff
path: root/src/protodefs/protos.proto
blob: 11face5f86d5a5fa3721bbbd9cd3d2abf7d434d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}