mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Clock: Use one system wall clock
This commit is contained in:
		
							parent
							
								
									9db7126eb4
								
							
						
					
					
						commit
						f987198af0
					
				
					 3 changed files with 3 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -2271,8 +2271,9 @@ srs_error_t SrsRtcConnection::notify(int type, srs_utime_t interval, srs_utime_t
 | 
			
		|||
 | 
			
		||||
    // For publisher to send NACK.
 | 
			
		||||
    if (type == SRS_TICKID_SEND_NACKS) {
 | 
			
		||||
        // TODO: FIXME: Merge with hybrid system clock.
 | 
			
		||||
        srs_update_system_time();
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        std::map<std::string, SrsRtcPublishStream*>::iterator it;
 | 
			
		||||
        for (it = publishers_.begin(); it != publishers_.end(); it++) {
 | 
			
		||||
            SrsRtcPublishStream* publisher = it->second;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue