去除多余空格
parent
120eaa534e
commit
f5061aa7ff
|
@ -65,12 +65,9 @@ public class ZLMRunner implements CommandLineRunner {
|
||||||
saveZLMConfig();
|
saveZLMConfig();
|
||||||
mediaServerConfig = getMediaServerConfig();
|
mediaServerConfig = getMediaServerConfig();
|
||||||
storager.updateMediaInfo(mediaServerConfig);
|
storager.updateMediaInfo(mediaServerConfig);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public MediaServerConfig getMediaServerConfig() {
|
public MediaServerConfig getMediaServerConfig() {
|
||||||
JSONObject responseJSON = zlmresTfulUtils.getMediaServerConfig();
|
JSONObject responseJSON = zlmresTfulUtils.getMediaServerConfig();
|
||||||
MediaServerConfig mediaServerConfig = null;
|
MediaServerConfig mediaServerConfig = null;
|
||||||
|
|
|
@ -106,9 +106,9 @@ public class ApiStreamController {
|
||||||
result.put("DeviceID", device.getDeviceId());
|
result.put("DeviceID", device.getDeviceId());
|
||||||
result.put("ChannelID", code);
|
result.put("ChannelID", code);
|
||||||
result.put("ChannelName", deviceChannel.getName());
|
result.put("ChannelName", deviceChannel.getName());
|
||||||
result.put("ChannelCustomName ", "");
|
result.put("ChannelCustomName", "");
|
||||||
result.put("FLV ", streamInfo.getFlv());
|
result.put("FLV", streamInfo.getFlv());
|
||||||
result.put("WS_FLV ", streamInfo.getWs_flv());
|
result.put("WS_FLV", streamInfo.getWs_flv());
|
||||||
result.put("RTMP", streamInfo.getRtmp());
|
result.put("RTMP", streamInfo.getRtmp());
|
||||||
result.put("HLS", streamInfo.getHls());
|
result.put("HLS", streamInfo.getHls());
|
||||||
result.put("RTSP", streamInfo.getRtsp());
|
result.put("RTSP", streamInfo.getRtsp());
|
||||||
|
@ -178,9 +178,9 @@ public class ApiStreamController {
|
||||||
result.put("DeviceID", device.getDeviceId());
|
result.put("DeviceID", device.getDeviceId());
|
||||||
result.put("ChannelID", code);
|
result.put("ChannelID", code);
|
||||||
result.put("ChannelName", deviceChannel.getName());
|
result.put("ChannelName", deviceChannel.getName());
|
||||||
result.put("ChannelCustomName ", "");
|
result.put("ChannelCustomName", "");
|
||||||
result.put("FLV ", streamInfo.getFlv());
|
result.put("FLV", streamInfo.getFlv());
|
||||||
result.put("WS_FLV ", streamInfo.getWs_flv());
|
result.put("WS_FLV", streamInfo.getWs_flv());
|
||||||
result.put("RTMP", streamInfo.getRtmp());
|
result.put("RTMP", streamInfo.getRtmp());
|
||||||
result.put("HLS", streamInfo.getHls());
|
result.put("HLS", streamInfo.getHls());
|
||||||
result.put("RTSP", streamInfo.getRtsp());
|
result.put("RTSP", streamInfo.getRtsp());
|
||||||
|
|
Loading…
Reference in New Issue