Home / Docs Center / Device API Reference / Building the XSTRIVE Cloud Storage Service

Building the XSTRIVE Cloud Storage Service

Device API Reference · Self-hosted Cloud Storage

Project: Device API Documentation (New) | page_id: 358

  1. Recording receiving service /xswupload/upload
    Start the program: nohup ./upload -c ./conf/upload.ini >>logs.txt 2>&1 &
    Stop: kill process ID
    conf/upload.ini is the configuration file, where the port and file storage path can be modified

  2. Upload address
    http://service IP:service port/putObject/
    The service IP and port can be replaced according to the server configuration file conf/upload.ini

  3. Recording upload path
    /xswupload/media/record/serial number/channel number (starting from 1)/date (20060102)/current milliseconds-duration.ts

    The /xswupload/media part can be configured via file_path in /xswupload/conf/upload.ini; the following part varies by device
    record is a fixed folder
    
  4. File access is done by configuring nginx

    http://server IP:port/record/serial number/channel number (starting from 1)/date (20060102)/current milliseconds-duration.ts
    
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.