扩展兼容接口,支持HTTPS接口
parent
cb24ce13da
commit
a39ac45bcc
|
@ -239,7 +239,7 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent
|
||||||
}
|
}
|
||||||
|
|
||||||
private void executeSave(){
|
private void executeSave(){
|
||||||
System.out.println("定时存储数据");
|
executeSaveForAdd();
|
||||||
executeSaveForUpdate();
|
executeSaveForUpdate();
|
||||||
executeSaveForDelete();
|
executeSaveForDelete();
|
||||||
executeSaveForOnline();
|
executeSaveForOnline();
|
||||||
|
|
|
@ -120,11 +120,17 @@ public class ApiStreamController {
|
||||||
result.put("ChannelName", deviceChannel.getName());
|
result.put("ChannelName", deviceChannel.getName());
|
||||||
result.put("ChannelCustomName", "");
|
result.put("ChannelCustomName", "");
|
||||||
result.put("FLV", streamInfo.getFlv().getUrl());
|
result.put("FLV", streamInfo.getFlv().getUrl());
|
||||||
|
result.put("HTTPS_FLV", streamInfo.getHttps_flv().getUrl());
|
||||||
result.put("WS_FLV", streamInfo.getWs_flv().getUrl());
|
result.put("WS_FLV", streamInfo.getWs_flv().getUrl());
|
||||||
|
result.put("WSS_FLV", streamInfo.getWss_flv().getUrl());
|
||||||
result.put("RTMP", streamInfo.getRtmp().getUrl());
|
result.put("RTMP", streamInfo.getRtmp().getUrl());
|
||||||
|
result.put("RTMPS", streamInfo.getRtmps().getUrl());
|
||||||
result.put("HLS", streamInfo.getHls().getUrl());
|
result.put("HLS", streamInfo.getHls().getUrl());
|
||||||
|
result.put("HTTPS_HLS", streamInfo.getHttps_hls().getUrl());
|
||||||
result.put("RTSP", streamInfo.getRtsp().getUrl());
|
result.put("RTSP", streamInfo.getRtsp().getUrl());
|
||||||
|
result.put("RTSPS", streamInfo.getRtsps().getUrl());
|
||||||
result.put("WEBRTC", streamInfo.getRtc().getUrl());
|
result.put("WEBRTC", streamInfo.getRtc().getUrl());
|
||||||
|
result.put("HTTPS_WEBRTC", streamInfo.getRtcs().getUrl());
|
||||||
result.put("CDN", "");
|
result.put("CDN", "");
|
||||||
result.put("SnapURL", "");
|
result.put("SnapURL", "");
|
||||||
result.put("Transport", device.getTransport());
|
result.put("Transport", device.getTransport());
|
||||||
|
|
Loading…
Reference in New Issue