合并主线通道编辑样式
This commit is contained in:
@@ -16,7 +16,7 @@ public interface JTChannelMapper {
|
||||
"UPDATE wvp_jt_channel " +
|
||||
"SET update_time=#{updateTime}, terminal_db_id=#{terminalDbId}, has_audio=#{hasAudio}, name=#{name}" +
|
||||
", channel_id=#{channelId}" +
|
||||
"WHERE id=#{id}"+
|
||||
" WHERE id=#{id}"+
|
||||
" </script>"})
|
||||
void update(JTChannel channel);
|
||||
|
||||
|
||||
@@ -398,6 +398,9 @@ public class jt1078PlayServiceImpl implements Ijt1078PlayService {
|
||||
StreamInfo info = onPublishHandler(mediaServer, hookData, phoneNumber, channelId);
|
||||
|
||||
for (GeneralCallback<StreamInfo> errorCallback : errorCallbacks) {
|
||||
if (errorCallback == null) {
|
||||
continue;
|
||||
}
|
||||
errorCallback.run(InviteErrorCode.SUCCESS.getCode(), InviteErrorCode.SUCCESS.getMsg(), info);
|
||||
}
|
||||
subscribe.removeSubscribe(hookSubscribe);
|
||||
@@ -456,6 +459,9 @@ public class jt1078PlayServiceImpl implements Ijt1078PlayService {
|
||||
List<GeneralCallback<StreamInfo>> generalCallbacks = inviteErrorCallbackMap.get(playKey);
|
||||
if (generalCallbacks != null && !generalCallbacks.isEmpty()) {
|
||||
for (GeneralCallback<StreamInfo> callback : generalCallbacks) {
|
||||
if (callback == null) {
|
||||
continue;
|
||||
}
|
||||
callback.run(InviteErrorCode.ERROR_FOR_FINISH.getCode(), InviteErrorCode.ERROR_FOR_FINISH.getMsg(), null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user