648540858
2023-06-01 614eaa8f4fd1b8b6cedd1d737c67da17a0a33c29
src/main/resources/all-application.yml
@@ -43,6 +43,14 @@
            idle-timeout: 300000                  # 允许连接在连接池中空闲的最长时间(以毫秒为单位)
            max-lifetime: 1200000                 # 是池中连接关闭后的最长生命周期(以毫秒为单位)
# 修改为数据库字段下划线分隔直接对应java驼峰命名
mybatis:
    configuration:
        map-underscore-to-camel-case: true
# 修改分页插件为 postgresql, 数据库类型为mysql不需要
#pagehelper:
#    helper-dialect: postgresql
# [可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
server:
@@ -186,6 +194,8 @@
    sip-use-source-ip-as-remote-address: false
    # 是否开启sip日志
    sip-log: true
    # 是否开启sql日志
    sql-log: true
    # 消息通道功能-缺少国标ID是否给所有上级发送消息
    send-to-platforms-when-id-lost: true
    # 保持通道状态,不接受notify通道状态变化, 兼容海康平台发送错误消息
@@ -194,6 +204,8 @@
    max-notify-count-queue: 10000
    # 设备/通道状态变化时发送消息
    device-status-notify: false
    # 上级平台点播时不使用上级平台指定的ssrc,使用自定义的ssrc,参考国标文档-点播外域设备媒体流SSRC处理方式
    use-custom-ssrc-for-parent-invite: true
    # 跨域配置,配置你访问前端页面的地址即可, 可以配置多个
    allowed-origins:
        - http://localhost:8008