[推流列表] 播放时根据实际状态更新状态
This commit is contained in:
@@ -66,6 +66,10 @@ public class StreamPushPlayServiceImpl implements IStreamPushPlayService {
|
||||
}
|
||||
callback.run(ErrorCode.SUCCESS.getCode(), ErrorCode.SUCCESS.getMsg(), mediaServerService.getStreamInfoByAppAndStream(mediaServer,
|
||||
streamPush.getApp(), streamPush.getStream(), mediaInfo, callId));
|
||||
if (!streamPush.isPushing()) {
|
||||
streamPush.setPushing(true);
|
||||
streamPushMapper.update(streamPush);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Assert.isTrue(streamPush.isStartOfflinePush(), "通道未推流");
|
||||
|
||||
Reference in New Issue
Block a user