Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
borconi authored Jul 3, 2019
1 parent 41dd2b0 commit 57853a5
Show file tree
Hide file tree
Showing 97 changed files with 2,926 additions and 0 deletions.
35 changes: 35 additions & 0 deletions AVChannelData.proto
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;
}
39 changes: 39 additions & 0 deletions AVChannelMessageIdsEnum.proto
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;
}
}
26 changes: 26 additions & 0 deletions AVChannelSetupRequestMessage.proto
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;
}
30 changes: 30 additions & 0 deletions AVChannelSetupResponseMessage.proto
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;
}
31 changes: 31 additions & 0 deletions AVChannelSetupStatusEnum.proto
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;
}
}
27 changes: 27 additions & 0 deletions AVChannelStartIndicationMessage.proto
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;
}
25 changes: 25 additions & 0 deletions AVChannelStopIndicationMessage.proto
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
{
}
31 changes: 31 additions & 0 deletions AVInputChannelData.proto
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;
}
29 changes: 29 additions & 0 deletions AVInputOpenRequestMessage.proto
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;
}
27 changes: 27 additions & 0 deletions AVInputOpenResponseMessage.proto
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;
}
27 changes: 27 additions & 0 deletions AVMediaAckIndicationMessage.proto
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;
}
31 changes: 31 additions & 0 deletions AVStreamTypeEnum.proto
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;
}
}
27 changes: 27 additions & 0 deletions AbsoluteInputEventData.proto
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;
}
Loading

0 comments on commit 57853a5

Please sign in to comment.