Previous page Working with Axxon Camera mobile client on Android OS  (Deprecated) AxxonNext Android Mobile Client. User Guide Next page

On this page:

Configuring the Intellect/Axxon Next server

The mobile client has two modes of operation: RTSP server and RTMP. The mode is selected in the mobile client settings.

To transfer video from the Android device camera to the Intellect/Axxon Next server in the RTMP mode, do the following:

  1. Make sure that the Java Runtime Environment and Node.js. are installed on the Intellect/Axxon Next server.
  2. Download and install the livestream_setup.exe distribution kit with the Livestream and rtmp2rtsp services. The default services installation directory is C:\Program Files (x86)\Livestream.

    Note

    The Livestream service creates several virtual ONVIF cameras that are added to the Intellect/Axxon Next server configuration. The rtmp2rtsp service receives the RTMP stream, then converts it to RTSP and directs it to the server's virtual ONVIF camera.

  3. After you install the services, you can set the following parameters using the Windows system variables:

    LIVESTREAM_ONVIF_COUNT \\ number of virtual ONVIF cameras, default = 5
    LIVESTREAM_ONVIF_PORT \\ port of the first virtual camera. All other cameras receive the port in order, default = 1961.

    Attention!

    • The specified ports should not be blocked by a firewall.
    • To apply the changes, it is necessary to restart the services using the restart.bat batch file located in the services installation directory.
  4. After you start the services, the livestream.out.log file will appear in the installation directory. This file contains url for each camera to send and receive video from the Android device, for example:

    onvif device started at port 1961
    onvif device url = http://host:1961/onvif/device_service
    push video to url = rtmp://host:1935/TOKEN/1961
    video url = rtsp://localhost:1937/TOKEN/1961
  5. Manually add IP cameras to Intellect/Axxon Next and specify the following parameters:
    • Type (manufacturer) - ONVIF 2.x;
    • IP address - 127.0.0.1;
    • Port - the camera port number from the "onvif device url" string in the livestream.out.log file.

      Note

      For details about configuring IP cameras in Axxon Next see Adding and removing IP devices, in Intellect see Configuring IP devices.

To transfer video from the Android device camera to the Intellect/Axxon Next server in the RTSP server mode, do the following:

  1. Create a video capture device operating over the RTSP protocol (for Axxon Next see Configuring connection of video cameras via RTSP, for Intellect see Configuring multimedia receipt using RTSP protocol).
  2. Specify the URL from the application in the settings of this device:

Configuring the Axxon Camera mobile client

  1. Go to the mobile application settings by clicking the  button.
  2. In the Network settings group, set the parameters as follows:
    1. In the RTSP server field (1), move the switch to the position  to use the RTSP server mode. If the switch is in the position , then the RTMP mode will be used.

    2. In the RTMP push url field (2), specify the value of the "push video to url" string from the file on the livestream.out.log server to use the RTMP mode. In the RTSP server mode, you can skip this parameter.

    3. In the RTSP server port field (3) set the port number of the RTSP server. In the RTMP mode, you can skip this parameter.

    4. The RTSP server url field (4) field contains the URL of the video stream in the RTSP mode. To copy it, tap on the field once.

  3. In the Video settings group, set the parameters as follows:
    1. In the Resolution back field (5) select the resolution of the main camera.
    2. In the Resolution front field (6) select the resolution of the front camera.
    3. In the FPS field (7) set the frame rate.
    4. In the Bitrate field (8) set the bitrate of the video.

Attention!

To ensure the correct operation of the application, make sure the time on the Android device and the Intellect/Axxon Next server is synchronized.

  • No labels