切换生成开场白触发时机
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m53s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m53s
				
			This commit is contained in:
		
							parent
							
								
									3e97e3031f
								
							
						
					
					
						commit
						31877b8729
					
				| @ -538,8 +538,6 @@ class WebRTCChat { | |||||||
| 
 | 
 | ||||||
|     // 预创建重要视频流
 |     // 预创建重要视频流
 | ||||||
|     async precreateImportantVideos() { |     async precreateImportantVideos() { | ||||||
|         // 在初始化完成后生成开场白音频
 |  | ||||||
|         await this.initializeOpeningAudio(); |  | ||||||
| 
 | 
 | ||||||
|         if (this.isInitialized) return; |         if (this.isInitialized) return; | ||||||
|          |          | ||||||
| @ -1261,6 +1259,9 @@ class WebRTCChat { | |||||||
|             // 切换到通话中图标
 |             // 切换到通话中图标
 | ||||||
|             this.switchToCallingIcon(); |             this.switchToCallingIcon(); | ||||||
| 
 | 
 | ||||||
|  |             // 在初始化完成后生成开场白音频
 | ||||||
|  |             await this.initializeOpeningAudio(); | ||||||
|  |              | ||||||
|             // 现在才开始显示视频
 |             // 现在才开始显示视频
 | ||||||
|             await this.startDefaultVideoStream(); |             await this.startDefaultVideoStream(); | ||||||
|              |              | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Song367
						Song367