123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- syntax="proto3";
- package remote;
- enum cs_message
- {
- cs_none=0;
- cs_req=2001;
- cs_rep=2002;
- cs_offer=2004;
- cs_answer=2005;
- cs_candidate=2006;
- cs_leave=2007;
- cs_keepAlive=2008;
- cs_add=2009;
- cs_robot=2010;
- cs_closeVideo=2011;
- cs_state=2014;
- };
- enum sc_message
- {
- sc_none=0;
- sc_req=4001;
- sc_rep=4002;
- sc_offer=4004;
- sc_answer=4005;
- sc_candidate=4006;
- sc_add =4007;
- sc_robot=4008;
- sc_NotifyReq=4009;
- sc_NotifyRep=4010;
- sc_NotifyAnswer=4011;
- sc_NotifyOffer=4012;
- sc_NotifyCandidate=4013;
- sc_NotifyLeave=4014;
- sc_NotifyAdd=4016;
- sc_NotifyDel=4017;
- sc_NotifyCloseVideo=4018;
- sc_NotifyState=4025;
- };
- message Offer
- {
- int32 index=1;
- int32 peer=2;
- string type=3;
- string sdp=4;
-
- };
- message Answer
- {
- int32 index=1;
- int32 peer=2;
- string type=3;
- string sdp=4;
-
- };
- message Candidate
- {
- int32 index=1;
- int32 peer=2;
- string type=3;
- string candidate=4;
- int32 sdpMLineIndex =5;
- string sdpMid =6;
- int32 egotype=7;
- };
- message CSReq
- {
- int32 peer=1;
-
- int32 index=2;
- int32 egotype=3;
-
- };
- message SCReq
- {
- int32 desc=1;
- int32 peer=2;
- int32 egotype=3;
-
- };
- message CSRep
- {
-
- int32 desc=1;
- int32 peer=2;
- int32 index=3;
- int32 egotype=4;
- };
- message SCRep
- {
-
- int32 desc=1;
- int32 index=2;
- int32 egotype=3;
- int32 peer=4;
-
- };
- message CSAdd
- {
- string serial=1;
- int32 type=2;
- string name=3;
- int32 car=4;
-
- };
- message SCAdd
- {
- bool ret=1;
- int32 uid=2;
-
- string name=3;
- int32 car=4;
- };
- message Robot
- {
- int32 rid=1;
- string name=2;
- int32 type=3;
- int32 state=4;
-
-
- };
- message SCAddRobot
- {
- Robot robot=1;
- };
- message SCDelRobot
- {
- int32 peer=1;
- int32 egotype=2;
- };
- message CSRobot
- {
- };
- message SCRobot
- {
- repeated Robot robot=1;
- };
- message Leave
- {
- int32 peer=1;
- int32 egotype=2;
- };
|