| | |
| | | //获取返回结果 |
| | | ServiceReply receiveReply = this.publishLiveStart(respTopic, liveParam); |
| | | |
| | | LiveDTO live = new LiveDTO(); |
| | | live.setVideoId(liveParam.getVideoId()); |
| | | //相机已经在直播中,请勿重复开启直播 |
| | | if (receiveReply.getResult() == 513003) { |
| | | LiveDTO live = new LiveDTO(); |
| | | |
| | | live.setUrl(liveParam.getUrl().replace("rtmp", "https").replace("735", "700") + ".flv"); |
| | | // LiveUrlGB28181DTO gb28181 = urlToGB28181(liveParam.getUrl()); |
| | | // live.setUrl(new StringBuilder() |
| | |
| | | } |
| | | |
| | | LiveUrlTypeEnum urlType = LiveUrlTypeEnum.find(liveParam.getUrlType()); |
| | | LiveDTO live = new LiveDTO(); |
| | | |
| | | //对不同的协议类型做处理 |
| | | switch (urlType) { |