Merge pull request #691 from xiaoQQya/wvp-28181-2.0
修复视频播放页地址显示错误与截图模糊问题
This commit is contained in:
commit
723b253e3a
@ -271,7 +271,7 @@ public class PlayServiceImpl implements IPlayService {
|
|||||||
onPublishHandlerForPlay(mediaServerItemInuse, response, device.getDeviceId(), channelId);
|
onPublishHandlerForPlay(mediaServerItemInuse, response, device.getDeviceId(), channelId);
|
||||||
hookEvent.response(mediaServerItemInuse, response);
|
hookEvent.response(mediaServerItemInuse, response);
|
||||||
logger.info("[点播成功] deviceId: {}, channelId: {}", device.getDeviceId(), channelId);
|
logger.info("[点播成功] deviceId: {}, channelId: {}", device.getDeviceId(), channelId);
|
||||||
String streamUrl = String.format("rtsp://127.0.0.1:%s/%s/%s", mediaServerItemInuse.getRtspPort(), "rtp", ssrcInfo.getStream());
|
String streamUrl = String.format("http://127.0.0.1:%s/%s/%s.live.flv", mediaServerItemInuse.getHttpPort(), "rtp", ssrcInfo.getStream());
|
||||||
String path = "snap";
|
String path = "snap";
|
||||||
String fileName = device.getDeviceId() + "_" + channelId + ".jpg";
|
String fileName = device.getDeviceId() + "_" + channelId + ".jpg";
|
||||||
// 请求截图
|
// 请求截图
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="streamInfo.rtcs" :command="streamInfo.rtcs.url">
|
<el-dropdown-item v-if="streamInfo.rtcs" :command="streamInfo.rtcs.url">
|
||||||
<el-tag >RTCS:</el-tag>
|
<el-tag >RTCS:</el-tag>
|
||||||
<span>{{ streamInfo.rtcs }}</span>
|
<span>{{ streamInfo.rtcs.url }}</span>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="streamInfo.rtmp" :command="streamInfo.rtmp.url">
|
<el-dropdown-item v-if="streamInfo.rtmp" :command="streamInfo.rtmp.url">
|
||||||
<el-tag >RTMP:</el-tag>
|
<el-tag >RTMP:</el-tag>
|
||||||
|
Loading…
Reference in New Issue
Block a user