[推流列表] 播放时根据实际状态更新状态
parent
c231faeff6
commit
f2c7a06516
|
@ -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(), "通道未推流");
|
||||
|
|
Loading…
Reference in New Issue