修复推流信息播放

This commit is contained in:
648540858
2024-07-16 17:44:27 +08:00
parent d7abe7fb75
commit 8c95485504
5 changed files with 12 additions and 26 deletions

View File

@@ -213,10 +213,6 @@ public class StreamPushController {
if (userInfo!= null) {
authority = true;
}
StreamPush push = streamPushService.getPush(app, stream);
if (push != null && !push.isSelf()) {
throw new ControllerException(ErrorCode.ERROR100.getCode(), "来自其他平台的推流信息");
}
StreamInfo streamInfo = mediaServerService.getStreamInfoByAppAndStreamWithCheck(app, stream, mediaServerId, authority);
if (streamInfo == null){
throw new ControllerException(ErrorCode.ERROR100.getCode(), "获取播放地址失败");