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
  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://server-ip:server-port/putObject/
    The server IP and port can be replaced according to conf/upload.ini

  3. Recording upload path
    Recording upload path

    /xswupload/media 这部分可以在/xswupload/conf/upload.ini 里面 file_path 配置, 后面部分根据设备变化
    record 固定文件夹
    
  4. File access is served through an nginx configuration

    http://服务器IP:端口/record/序列号/通道号(从1开始)/日期(20060102)/当前毫秒-时长.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.