Merge pull request #1082 from DavidSche/Live_streaming_push

推流列表-->添加通道 补充播放需要的默认参数  媒体服务器ID,是否本平台推送,是否正在推送(影响播放按钮是否显示)
pull/1138/head
648540858 2023-10-27 15:47:27 +08:00 committed by GitHub
commit f4f3e60a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -506,6 +506,9 @@ public class StreamPushServiceImpl implements IStreamPushService {
stream.setUpdateTime(DateUtil.getNow());
stream.setCreateTime(DateUtil.getNow());
stream.setServerId(userSetting.getServerId());
stream.setMediaServerId(mediaConfig.getId());
stream.setSelf(true);
stream.setPushIng(true);
// 放在事务内执行
boolean result = false;