chore: 更新默认信令服务器地址为 wss://www.ttstd.com/signal
This commit is contained in:
@@ -119,7 +119,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
btnDisconnectControl = findViewById(R.id.btn_disconnect_control);
|
||||
|
||||
// 默认服务器地址
|
||||
etServerUrl.setText("ws://175.178.213.60:8088/ws/signal");
|
||||
etServerUrl.setText("wss://www.ttstd.com/signal");
|
||||
// 生成设备ID(非系统签名,使用兜底方案获取设备标识)
|
||||
myDeviceId = DeviceUtils.getSerialNumber(this);
|
||||
etDeviceId.setText(myDeviceId);
|
||||
@@ -379,6 +379,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
public void onError(String error) {
|
||||
Log.e(TAG, "onError: " + error);
|
||||
tvStatus.setText("状态: 连接错误 - " + error);
|
||||
updateUI(false);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:hint="ws://175.178.213.60:8088/ws/signal"
|
||||
android:hint="wss://www.ttstd.com/signal"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user