This commit is contained in:
shikong 2023-10-13 20:29:02 +08:00
parent 44470dddb7
commit a66c66119b
2 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ public class RegisterRequestProcessor implements MessageProcessor {
DigestServerAuthenticationHelper.doAuthenticatePlainTextPassword(request,password); DigestServerAuthenticationHelper.doAuthenticatePlainTextPassword(request,password);
if(!authPass){ if(!authPass){
Response response = getMessageFactory().createResponse(Response.FORBIDDEN, request); Response response = getMessageFactory().createResponse(Response.FORBIDDEN, request);
response.setReasonPhrase("认证失败"); response.setReasonPhrase("Forbidden");
log.info("设备注册信息认证失败 deviceId => {}", deviceId); log.info("设备注册信息认证失败 deviceId => {}", deviceId);
sender.send(senderIp,response); sender.send(senderIp,response);
return; return;

View File

@ -56,8 +56,8 @@ proxy:
port: 5063 port: 5063
ip: ip:
- 10.10.10.20 - 10.10.10.20
stream-mode: tcp_passive stream-mode: udp
use-playback-to-download: false use-playback-to-download: true
# - 192.168.1.241 # - 192.168.1.241
ffmpeg-support: ffmpeg-support:
ffmpeg: D:\Soft\Captura\ffmpeg\ffmpeg.exe ffmpeg: D:\Soft\Captura\ffmpeg\ffmpeg.exe