|  | @@ -134,7 +134,6 @@ export function initListener(vue) {
 | 
	
		
			
				|  |  |          success(stream) {
 | 
	
		
			
				|  |  |            // 订阅流成功
 | 
	
		
			
				|  |  |            let streamType = stream.streamType();
 | 
	
		
			
				|  |  | -          vue.remoteStreamType = streamType;
 | 
	
		
			
				|  |  |            console.log('订阅流成功', streamType);
 | 
	
		
			
				|  |  |            let id = streamType === 0 ? 'live' : 'student';
 | 
	
		
			
				|  |  |            stream.show(id, 'contain'); // 将流显示到指定 id 的盒子中
 | 
	
	
		
			
				|  | @@ -227,11 +226,8 @@ export function initListener(vue) {
 | 
	
		
			
				|  |  |    // 监听通知移除流事件
 | 
	
		
			
				|  |  |    rtc.on('stream_removed', stream => {
 | 
	
		
			
				|  |  |      console.log('监听通知移除流事件', stream);
 | 
	
		
			
				|  |  | -    if (stream.streamType() === 10) {
 | 
	
		
			
				|  |  | -      vue.connect = false;
 | 
	
		
			
				|  |  | -      vue.remoteStreamType = -1;
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -    if (stream.streamType() === 1) {
 | 
	
		
			
				|  |  | +    let streamType = stream.streamType();
 | 
	
		
			
				|  |  | +    if (streamType === 10 || streamType === 1) {
 | 
	
		
			
				|  |  |        vue.connect = false;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    });
 |