feat(settings): 新增远程协助设置页与屏幕镜像推送处理
This commit is contained in:
@@ -3,6 +3,16 @@ package com.ttstd.dialer.config;
|
||||
public class CommonConfig {
|
||||
public static final String MMKV_ID = "InterProcessKV";
|
||||
|
||||
/**
|
||||
* WebRTC 信令服务器 WebSocket 地址(被控端/控制端连接)。
|
||||
* 协议:ws:// 或 wss://,指向后端 youlai-boot-ttstd 新增的 /ws/signal 端点。
|
||||
* TODO: 按实际部署环境替换主机与端口。
|
||||
*/
|
||||
public static final String SIGNAL_SERVER_URL = "ws://192.168.100.244:8000/ws/signal";
|
||||
|
||||
/** 允许远程控制的全局开关键(设备端设置,默认允许)。 */
|
||||
public static final String WERBTC_REMOTE_CONTROL_ENABLED = "webrtc_remote_control_enabled_key";
|
||||
|
||||
|
||||
public static final String CONTACT_HOME_PAGE = "contact_home_page_key";
|
||||
|
||||
@@ -21,6 +31,15 @@ public class CommonConfig {
|
||||
public static final String WECHAT_AUTO_ACCEPT_CALL= "wechat_auto_accept_call_key";
|
||||
public static final String WECHAT_AUTO_HNADS_FREE= "wechat_auto_hands_free_key";
|
||||
|
||||
/**
|
||||
* 远程协助总开关(1=开启后台信令连接,0=关闭)。
|
||||
*/
|
||||
public static final String KEY_REMOTE_ASSISTANCE_ENABLE = "remote_assistance_key";
|
||||
/**
|
||||
* 自动接收协助开关(1=收到请求自动接受并采集,0=需用户确认)。
|
||||
*/
|
||||
public static final String KEY_AUTO_REMOTE_ASSISTANCE_ENABLE = "accept_remote_assistance_key";
|
||||
|
||||
/*是否手动选择地址*/
|
||||
public static final String MANUALLY_SELECT_LOCATION = "manually_select_location_key";
|
||||
public static final boolean MANUALLY_SELECT_LOCATION_DEFAULT_VALUE = false;
|
||||
|
||||
Reference in New Issue
Block a user