forked from borconi/AAProto
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
2,926 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
import "AVStreamTypeEnum.proto"; | ||
import "AudioTypeEnum.proto"; | ||
import "AudioConfigData.proto"; | ||
import "VideoConfigData.proto"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.data; | ||
|
||
message AVChannel | ||
{ | ||
enums.AVStreamType.Enum stream_type = 1; | ||
enums.AudioType.Enum audio_type = 2; | ||
repeated AudioConfig audio_configs = 3; | ||
repeated VideoConfig video_configs = 4; | ||
bool available_while_in_call = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.ids; | ||
|
||
message AVChannelMessage | ||
{ | ||
enum Enum | ||
{ | ||
AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000; | ||
AV_MEDIA_INDICATION = 0x0001; | ||
SETUP_REQUEST = 0x8000; | ||
START_INDICATION = 0x8001; | ||
STOP_INDICATION = 0x8002; | ||
SETUP_RESPONSE = 0x8003; | ||
AV_MEDIA_ACK_INDICATION = 0x8004; | ||
AV_INPUT_OPEN_REQUEST = 0x8005; | ||
AV_INPUT_OPEN_RESPONSE = 0x8006; | ||
VIDEO_FOCUS_REQUEST = 0x8007; | ||
VIDEO_FOCUS_INDICATION = 0x8008; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVChannelSetupRequest | ||
{ | ||
uint32 config_index = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto2"; | ||
|
||
import "AVChannelSetupStatusEnum.proto"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVChannelSetupResponse | ||
{ | ||
required enums.AVChannelSetupStatus.Enum media_status = 1; | ||
required uint32 max_unacked = 2; | ||
repeated uint32 configs = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.enums; | ||
|
||
message AVChannelSetupStatus | ||
{ | ||
enum Enum | ||
{ | ||
NONE = 0; | ||
FAIL = 1; | ||
OK = 2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVChannelStartIndication | ||
{ | ||
int32 session = 1; | ||
uint32 config = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVChannelStopIndication | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
import "AVStreamTypeEnum.proto"; | ||
import "AudioConfigData.proto"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.data; | ||
|
||
message AVInputChannel | ||
{ | ||
enums.AVStreamType.Enum stream_type = 1; | ||
AudioConfig audio_config = 2; | ||
bool available_while_in_call = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVInputOpenRequest | ||
{ | ||
bool open = 1; | ||
bool anc = 2; | ||
bool ec = 3; | ||
int32 max_unacked = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto2"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVInputOpenResponse | ||
{ | ||
required int32 session = 1; | ||
required uint32 value = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto2"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.messages; | ||
|
||
message AVMediaAckIndication | ||
{ | ||
required int32 session = 1; | ||
required uint32 value = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.enums; | ||
|
||
message AVStreamType | ||
{ | ||
enum Enum | ||
{ | ||
NONE = 0; | ||
AUDIO = 1; | ||
VIDEO = 3; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file is part of aasdk library project. | ||
* Copyright (C) 2018 f1x.studio (Michal Szwaj) | ||
* | ||
* aasdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* aasdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
syntax="proto3"; | ||
|
||
package uk.co.borconi.emil.aagateway.proto.data; | ||
|
||
message AbsoluteInputEvent | ||
{ | ||
uint32 scan_code = 1; | ||
int32 value = 2; | ||
} |
Oops, something went wrong.