Home / Docs Center / Device API Reference / Building the XSTRIVE Cloud Storage Service
Building the XSTRIVE Cloud Storage Service
Project: Device API Documentation (New) | page_id: 358
-
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 -
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 -
Recording upload path
/xswupload/media/record/serial number/channel number (starting from 1)/date (20060102)/current milliseconds-duration.tsThe /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 -
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.