Aqueti / mantis_examples

Example software to demonstrate functionality of the Aqueti MantisAPI
https://aqueti.tv/api
MIT License
5 stars 2 forks source link

About V2.log and camera_1181053543_clips.json #3

Closed anl13 closed 7 years ago

anl13 commented 7 years ago

After I run V2 (see last issue), I check /etc/aqueti/V2.log and /etc/aqueti/camera_1181053543_clips.json, find that: V2.log:

================================================================
  Starting V2 (2017-04-27_06:15AM)
----------------------------------------------------------------
1493360155480033 - INFO: V2.cpp::operator():212: Creating camera system 1181053543

1493360155480096 - INFO: V2.cpp::operator():235: Using storage directory: data_2/camera_1181053543 for camera 1181053543

1493360155482454 - INFO: AquetiCam.cpp::initialize:511: Opening hostfile: sync.cfg

1493360155482504 - INFO: AquetiCam.cpp::initialize:514: Loading hosts from: sync.cfg

1493360155883401 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124248 on 10.0.2.1:9999

1493360155883477 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124248 listening on port 11000

1493360157293165 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616123702 on 10.0.2.2:9999

1493360157293234 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616123702 listening on port 11001

1493360158704577 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124067 on 10.0.2.3:9999

1493360158704643 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124067 listening on port 11002

1493360160124534 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124039 on 10.0.2.4:9999

1493360160124616 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124039 listening on port 11003

1493360161549111 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616123777 on 10.0.2.5:9999

1493360161549180 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616123777 listening on port 11004

1493360162964902 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124284 on 10.0.2.6:9999

1493360162964990 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124284 listening on port 11005

1493360164372504 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124058 on 10.0.2.7:9999

1493360164372575 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124058 listening on port 11006

1493360166757557 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616123991 on 10.0.2.8:9999

1493360166757625 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616123991 listening on port 11007

1493360168180256 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616124295 on 10.0.2.9:9999

1493360168180324 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616124295 listening on port 11008

1493360169582925 - INFO: AquetiCam.cpp::initialize:536: Connected to PropertyManager 323616123903 on 10.0.2.10:9999

1493360169582992 - INFO: AquetiCam.cpp::initialize:548: ContainerServer for Tegra 323616123903 listening on port 11009

1493360170585943 - INFO: V2.cpp::operator():291: Calling V2_CAMERA_CREATED_INTERRUPT for camera 1181053543

1493360485496877 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616123702

1493360485530541 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616123777

1493360486530864 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616123903

1493360486554009 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616123991

1493360487533746 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124039

1493360487543262 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124058

1493360488535512 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124067

1493360488540815 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124248

1493360489536215 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124284

1493360490536246 - INFO: AquetiCam.cpp::~AquetiCam:480: Deleting server for 323616124295

----------------------------------------------------------------
  Closing V2 (2017-04-27_06:21AM)
================================================================

And /etc/aqueti/camera_1181053543_clips.json :

{
    "clips" : []
}

Questions:

  1. There is a line in V2.log,

    1493360170585943 - INFO: V2.cpp::operator():291: Calling V2_CAMERA_CREATED_INTERRUPT for camera 1181053543

    What does it mean? Why does it happen?

  2. Why is camera_1181053543_clips.json file nearly empty?

camerongivler commented 7 years ago

In general, anything that starts with INFO: is for debugging purposes. If there are any messages that say WARNING:, ERROR:, or CRITICAL ERROR:, those are important. I wouldn't worry about this.

The clips file is mostly empty because no clips have been recorded. There are API calls to start and stop recording clips. They can be seen at http://aqueti.tv/api/#clip-data-management but are not useful until you've started streaming.