|
|
@@ -4,7 +4,7 @@ spring:
|
|
|
main:
|
|
|
allow-bean-definition-overriding: true
|
|
|
application:
|
|
|
- name: cloud-api-sample
|
|
|
+ name: uas-ryuiso-com
|
|
|
datasource:
|
|
|
druid:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
@@ -35,9 +35,9 @@ spring:
|
|
|
max-request-size: 2GB
|
|
|
|
|
|
jwt:
|
|
|
- issuer: DJI
|
|
|
- subject: CloudApiSample
|
|
|
- secret: CloudApiSample
|
|
|
+ issuer: Ryuiso
|
|
|
+ subject: UAS-RYUISO
|
|
|
+ secret: UAS-RYUISO
|
|
|
age: 86400
|
|
|
|
|
|
mqtt:
|
|
|
@@ -45,16 +45,16 @@ mqtt:
|
|
|
# BASIC parameters are required.
|
|
|
BASIC:
|
|
|
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
|
|
- host: 49.234.30.234
|
|
|
+ host: 118.195.177.247
|
|
|
port: 1883
|
|
|
username: admin
|
|
|
password: T1SqDxbdSPVV24
|
|
|
- client-id: testServer
|
|
|
+ client-id: ZYUAS
|
|
|
# If the protocol is ws/wss, this value is required.
|
|
|
path:
|
|
|
DRC:
|
|
|
protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
|
|
|
- host: 49.234.30.234
|
|
|
+ host: 118.195.177.247
|
|
|
port: 8083
|
|
|
path: /mqtt
|
|
|
username: admin
|
|
|
@@ -115,9 +115,11 @@ url:
|
|
|
oss:
|
|
|
enable: true
|
|
|
provider: minio
|
|
|
- endpoint: http://49.234.30.234:9002
|
|
|
- access-key: admin
|
|
|
- secret-key: Qwer~123.
|
|
|
+ endpoint: https://minio.ryuiso.com
|
|
|
+ # access-key: dji_media
|
|
|
+ # secret-key: W9AB^CJ*3WcBR6z#
|
|
|
+ access-key: 3dDsiNrJcXhP4Bjm
|
|
|
+ secret-key: DpC3hvqSS9va7ZJN
|
|
|
bucket: dji-cloudapi
|
|
|
bucket-logs: log-files
|
|
|
expire: 3600
|
|
|
@@ -128,7 +130,12 @@ logging:
|
|
|
level:
|
|
|
com.dji: info
|
|
|
file:
|
|
|
- name: logs/cloud-api-sample.log
|
|
|
+ name: logs/uas-ryuiso-com.log
|
|
|
+ logback:
|
|
|
+ rollingpolicy:
|
|
|
+ max-file-size: 50MB
|
|
|
+ max-history: 30
|
|
|
+ total-size-cap: 1GB
|
|
|
|
|
|
ntp:
|
|
|
server:
|
|
|
@@ -143,30 +150,30 @@ cloud-api:
|
|
|
|
|
|
livestream:
|
|
|
url:
|
|
|
- # It is recommended to use a program to create Token. https://github.com/AgoraIO/Tools/blob/master/DynamicKey/AgoraDynamicKey/java/src/main/java/io/agora/media/RtcTokenBuilder2.java
|
|
|
-# agora:
|
|
|
-# channel: Please enter the agora channel.
|
|
|
-# token: Please enter the agora temporary token.
|
|
|
-# uid: 654321
|
|
|
-
|
|
|
- # 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: Please enter the rtmp access address. # Example: 'rtmp://192.168.1.1/live/'
|
|
|
-# rtsp:
|
|
|
-# username: Please enter the username.
|
|
|
-# password: Please enter the password.
|
|
|
-# port: 8554
|
|
|
-
|
|
|
- # GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
|
|
|
-# gb28181:
|
|
|
-# serverIP: Please enter the server ip.
|
|
|
-# serverPort: Please enter the server port.
|
|
|
-# serverID: Please enter the server id.
|
|
|
-# agentID: Please enter the agent id.
|
|
|
-# agentPassword: Please enter the agent password.
|
|
|
-# localPort: Please enter the local port.
|
|
|
-# channel: Please enter the channel.
|
|
|
-
|
|
|
- # Webrtc: Only supports using whip standard
|
|
|
+ # It is recommended to use a program to create Token. https://github.com/AgoraIO/Tools/blob/master/DynamicKey/AgoraDynamicKey/java/src/main/java/io/agora/media/RtcTokenBuilder2.java
|
|
|
+ # agora:
|
|
|
+ # channel: Please enter the agora channel.
|
|
|
+ # token: Please enter the agora temporary token.
|
|
|
+ # uid: 654321
|
|
|
+
|
|
|
+ # 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: Please enter the rtmp access address. # Example: 'rtmp://192.168.1.1/live/'
|
|
|
+ # rtsp:
|
|
|
+ # username: Please enter the username.
|
|
|
+ # password: Please enter the password.
|
|
|
+ # port: 8554
|
|
|
+
|
|
|
+ # GB28181 Note:If you don't know what these parameters mean, you can go to Pilot2 and select the GB28181 page in the cloud platform. Where the parameters same as these parameters.
|
|
|
+ # gb28181:
|
|
|
+ # serverIP: Please enter the server ip.
|
|
|
+ # serverPort: Please enter the server port.
|
|
|
+ # serverID: Please enter the server id.
|
|
|
+ # agentID: Please enter the agent id.
|
|
|
+ # agentPassword: Please enter the agent password.
|
|
|
+ # localPort: Please enter the local port.
|
|
|
+ # channel: Please enter the channel.
|
|
|
+
|
|
|
+ # Webrtc: Only supports using whip standard
|
|
|
# whip:
|
|
|
# url: Please enter the rtmp access address. # Example:http://192.168.1.1:1985/rtc/v1/whip/?app=live&stream=
|