tencent cloud

All product documents
DocumentationReal-time TeleoperationRemote Device SDKRemote Device Configuration Description
Remote Device Configuration Description
Last updated: 2025-02-11 16:51:10
Remote Device Configuration Description
Last updated: 2025-02-11 16:51:10

Sample JSON Configuration File

Configuring File Overview
File Name: config.json
File Location: ${workspace}/config.json
File Type: json
Note: Remove comments after "//". Minimum node as follows
{
"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
}

Meaning of JSON Configuration Node

Node Name
Type
Meaning
Default Value
Remarks
Parameter Range
device_id
String
Device ID, a unique code used for registering to the server
-
Required
-
device_name
String
Device name, used to identify device information
-
Required
-
max_streams
Number
maximum number of streams connected to remote devices
-
Required
None, recommended demo support >=8
projectid
String
Project ID
-
Required for public cloud
-
cloud_mode
String
Cloud mode
-
Required
public: Public cloud
private: Private cloud
password
String
device key
-
Required for public cloud
-
certificate
String
server public key certificate
-
Required for public cloud, device.pem file path
-
force_login
Number
Whether to force login
0
Whether to remove previous device login for the same ID
0: When the same ID is already logged in, the current device login is removed
1: When the same ID is already logged in, the current device will force login, removing the previous device
server_ip
String
TRRO server-side IP
-
Not required for public cloud
Required for privatization
-
server_port
Number
TRRO server port number
-
Not required for public cloud
Required for privatization
-
log_enable
Boolean
Log switch
1
Optional
0: disabled
1: info log
2: info + debug log
sdk_mode
String
Stream transmission mode
"server2"
Optional
Public cloud requires server2
rtc_server_ip
String
Media server IP
-
No need to specify for public cloud, required for privatization
-
rtc_server_port
Number
Media server port number
-
No need to specify for public cloud, required for privatization
-
audio_enable
Number
Audio capture enabled
0
Optional
0: disabled
1: Enabled
audio_receive
Number
Audio reception enabled
1
Optional
0: disabled
1: Enabled
auto_permission
Number
Automatic request for permissions
1
Optional
0: Application request for permissions
1: Automatic request for permissions
play_mode
Number
Viewing mode
0
Optional
0: Ultra low-latency viewing
1: Smooth viewing
decode_hw_acc
Number
Whether hardware decoding is prioritized
0
Optional
0: Software decoding
1: Hardware decoding prioritized
file_path
String
Save file path
-
Optional, enable recording during configuration, ensure the configuration path exists
-
min_port
Number
local port range minimum value for video transmission
50000
Optional
-
max_port
Number
local port range maximum value for video transmission
50100
Optional
-


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
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon