|  | @@ -713,6 +713,15 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
 | 
	
		
			
				|  |  |              //销毁直播间
 | 
	
		
			
				|  |  |              pluginService.chatRoomDestroy(roomUid);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            TencentWrapper.LiveStreamState liveStreamState = pluginService.liveStreamState(
 | 
	
		
			
				|  |  | +                getStreamId(room.getRoomUid(), room.getSpeakerId()));
 | 
	
		
			
				|  |  | +            if (liveStreamState == null) {
 | 
	
		
			
				|  |  | +                log.error("查询直播间流失败,返回结果为空");
 | 
	
		
			
				|  |  | +            } else if ("active".equals(liveStreamState.getStreamState())) {
 | 
	
		
			
				|  |  | +                pluginService.liveStreamStop(getStreamId(room.getRoomUid(), room.getSpeakerId()));
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              // 录制任务Id
 | 
	
		
			
				|  |  |              if (room.getServiceProvider().equals(TencentCloudLivePlugin.PLUGIN_NAME)) {
 | 
	
		
			
				|  |  |  
 |