tencent cloud

All product documents
Quick Start Demo
Last updated: 2025-02-11 16:45:58
Quick Start Demo
Last updated: 2025-02-11 16:45:58

Apply Service

Enter the trro Console, fill in the information, and apply the service.

Quick Start Demo

Click Console > Development Tools > Quick Start Demo, follow the page guidance, and run the demo.

Manual Operation Steps

It is recommended to use the quick start demo guidance for the demo experience. If you want to learn the detailed operation steps, you can refer to the following steps.

Step 1: Create Projects and Devices

In the console, create projects, field devices, and remote devices in sequence with filling in the device ID and device password. Then revise the corresponding information in the configuration files (e.g. config.json) of the field and remote device demo.

Step 2: Bind Trial Licenses

In Console > License Management, click Free Trial to get 2 trial licenses. Then bind the licenses to the field device created in step 1.

Step 3: Demo Download

Run the field device demo (push video stream)

1. Modify the config.json configuration file in the demo directory. According to the Field Device Configuration Generation Tool, modify the config.json configuration file. The minimum nodes are as follows:
Note:
"//" Comments must be deleted before use.
{ "device_id":"dev1", //Change to the on-site device ID created in the console "device_name":"vin234", "device_streams":1, //If there are multiple inputs, change the number of streams here, and increase the number of elements in the streams_config array "cloud_mode":"public", "certificate":"./device.pem", "projectid" : "xxxxx", //Change to the project ID created in the console "password": "xxxxx", //Change to the password created in the console "streams_config": [ { "fps":30, "bps":2000, "width":1920, "height":1080, "camera":0, //Change to the actual camera accessed, corresponding to /dev/videox "protocol":"v4l2" //If it is external input YUV data, change to outside. If it is external input encoded stream data, change to outenc } ] }
2. Start the Linux run script run_loader.sh, wait for the remote device to pull the stream, and after a successful startup, a connection to the server will be established successful.




Run the remote device demo (pull video stream)

1. Modify the config.json configuration file in the demo directory. According to the Remote Device Configuration Generation Tool, modify the config.json configuration file.
Note:
"//" Comments must be deleted during use.
{
"device_id":"dev1", //change to the remote device ID created in the console
"device_name":"vin99",
"max_streams":8,
"cloud_mode":"public", "certificate":"./device.pem", "projectid" : "xxxxx", //change to the project ID created in the console "password": "xxxxx" //change to the password created in the console
}
2. Start the demo program:
Double-click to run QtApplicationWidget1.exe on the Windows system.
On Linux, run the script run.sh:./run.sh
Click select to choose the field device, then confirm. Click connect to start pulling the video stream.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support