chore: 修改ws地址
This commit is contained in:
@@ -75,7 +75,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
localView = findViewById(R.id.local_view);
|
||||
|
||||
// 默认服务器地址
|
||||
etServerUrl.setText("ws://192.168.100.222:8080/ws/signal");
|
||||
etServerUrl.setText("ws://175.178.213.60:8088/ws/signal");
|
||||
// 生成设备ID
|
||||
// etDeviceId.setText("controlled_" + UUID.randomUUID().toString().substring(0, 8));
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:hint="ws://192.168.100.222:8080/ws/signal"
|
||||
android:hint="ws://175.178.213.60:8088/ws/signal"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -81,7 +81,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
tvStats = findViewById(R.id.tv_stats);
|
||||
|
||||
// 默认服务器地址
|
||||
etServerUrl.setText("ws://192.168.100.222:8080/ws/signal");
|
||||
etServerUrl.setText("ws://175.178.213.60:8088/ws/signal");
|
||||
// 生成设备ID
|
||||
myDeviceId = "controller_" + UUID.randomUUID().toString().substring(0, 8);
|
||||
etDeviceId.setText(myDeviceId);
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:hint="ws://192.168.100.222:8080/ws/signal"
|
||||
android:hint="ws://175.178.213.60:8088/ws/signal"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -20,7 +20,7 @@ const List<Map<String, dynamic>> kIceServers = [
|
||||
];
|
||||
|
||||
/// 信令 WebSocket 默认地址。
|
||||
const String kDefaultSignalServer = 'ws://192.168.100.222:8080/ws/signal';
|
||||
const String kDefaultSignalServer = 'ws://175.178.213.60:8088/ws/signal';
|
||||
|
||||
/// DataChannel 标签,控制端与被控端需一致。
|
||||
const String kDataChannelLabel = 'control_channel';
|
||||
|
||||
@@ -145,7 +145,7 @@ class _ControllerHomeState extends State<ControllerHome> {
|
||||
TextField(
|
||||
controller: _serverUrlController,
|
||||
decoration: const InputDecoration(
|
||||
hintText: 'ws://192.168.100.222:8080/ws/signal',
|
||||
hintText: 'ws://175.178.213.60:8088/ws/signal',
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
Reference in New Issue
Block a user