tencent cloud

Real-time Teleoperation

Product Introduction
Overview
Features
Use Cases
Purchase Guide
Free Trial
Billing Overview
Renewal and discontinuation
Quick Start Demo
Development Guide
Multi-Path Network Transmission
Control data transfer
Operation Permission Management
Voice Interaction
Video Viewing and Stream Switching
Field Device SDK
Basic Introduction
SDK Call Procedure
C Field Device SDK API
Field Device Configuration Instructions
Error Codes
Remote Device SDK
Basic Introduction
SDK Call Procedure
C Remote Device SDK API
Remote Device Configuration Description
Error Codes
API Documentation
History
Introduction
API Category
Making API Requests
Project APIs
Device APIs
Session APIs
Authorization APIs
Other APIs
Data Types
Error Codes
SDK and Demo Download
Field Device Side
Remote Device Side
FAQs
Common Issues
Service Agreement
Privacy Policy Module Real-Time Teleoperation
Data Processing and Security Agreement Module Real-Time Teleoperation
Service Level Agreement
DocumentaçãoReal-time TeleoperationRemote Device SDKRemote Device Configuration Description

Remote Device Configuration Description

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 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
-



Ajuda e Suporte

Esta página foi útil?

comentários