Browse Source

mqtt切换

S0025136190 1 year ago
parent
commit
1726f52744
1 changed files with 9 additions and 8 deletions
  1. 9 8
      Backend/sample/src/main/resources/application-test.yml

+ 9 - 8
Backend/sample/src/main/resources/application-test.yml

@@ -45,20 +45,20 @@ mqtt:
   # BASIC parameters are required.
   BASIC:
     protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
-    host: xia0miduo.gicp.net
+    host: 49.234.30.234
     port: 1883
-    username: mqttUser
-    password: 123456
+    username: admin
+    password: T1SqDxbdSPVV24
     client-id: testServer
     # If the protocol is ws/wss, this value is required.
     path:
   DRC:
     protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
-    host: xia0miduo.gicp.net
+    host: 49.234.30.234
     port: 8083
     path: /mqtt
-    username: mqttUser
-    password: 123456
+    username: admin
+    password: T1SqDxbdSPVV24
 
 cloud-sdk:
   mqtt:
@@ -125,7 +125,7 @@ oss:
 
 logging:
   level:
-    com.dji: info
+    com.dji: debug
   file:
     name: logs/cloud-api-sample.log
 
@@ -150,7 +150,8 @@ livestream:
 
     # RTMP  Note: This IP is the address of the streaming server. If you want to see livestream on web page, you need to convert the RTMP stream to WebRTC stream.
     rtmp:
-      url: rtmp://203.156.230.22:19350/rlive/stream_27?sign=nwo03DJb  # Example: 'rtmp://192.168.1.1/live/'
+      url: rtmp://smsp.jkec.info:19354/rlive/stream_37?sign=v0TEfRTU
+     # url: rtmp://203.156.230.22:19350/rlive/stream_27?sign=nwo03DJb  # Example: 'rtmp://192.168.1.1/live/'
     #    rtsp:
 #      username: Please enter the username.
 #      password: Please enter the password.