nothing big
This commit is contained in:
		
							parent
							
								
									b9d8de1ec1
								
							
						
					
					
						commit
						362b5594a2
					
				| @ -254,7 +254,7 @@ impl Connection { | ||||
|                     if latency > 1000 { | ||||
|                         match &msg.union { | ||||
|                             Some(message::Union::audio_frame(_)) => { | ||||
|                                 log::info!("audio frame latency {}", instant.elapsed().as_secs_f32()); | ||||
|                                 // log::info!("audio frame latency {}", instant.elapsed().as_secs_f32());
 | ||||
|                                 continue; | ||||
|                             } | ||||
|                             _ => {} | ||||
|  | ||||
| @ -98,7 +98,7 @@ impl VideoFrameController { | ||||
|                 { | ||||
|                     Err(_) => { | ||||
|                         // break if timeout
 | ||||
|                         log::error!("blocking wait frame receiving timeout {}", timeout_millis); | ||||
|                         // log::error!("blocking wait frame receiving timeout {}", timeout_millis);
 | ||||
|                         break; | ||||
|                     } | ||||
|                     Ok(Some((id, instant))) => { | ||||
| @ -289,7 +289,8 @@ fn run(sp: GenericService) -> ResultType<()> { | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         frame_controller.blocking_wait_next(1000 * 5); | ||||
|         // i love 3, 6, 8
 | ||||
|         frame_controller.blocking_wait_next(3_000); | ||||
| 
 | ||||
|         let elapsed = now.elapsed(); | ||||
|         // may need to enable frame(timeout)
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user