mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Add TODO: Should not wait for NACK packets.
This commit is contained in:
		
							parent
							
								
									f04e63edbf
								
							
						
					
					
						commit
						d462b750fb
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -372,6 +372,7 @@ void SrsRtpAudioQueue::collect_frames(SrsRtpNackForReceiver* nack, vector<SrsRtp | |||
|     for (; next != queue_->end; ++next) { | ||||
|         SrsRtpPacket2* pkt = queue_->at(next); | ||||
| 
 | ||||
|         // TODO: FIXME: Should not wait for NACK packets.
 | ||||
|         // Not found or in NACK, stop collecting frame.
 | ||||
|         if (!pkt || nack->find(next) != NULL) { | ||||
|             srs_trace("wait for nack seq=%u", next); | ||||
|  | @ -514,6 +515,7 @@ void SrsRtpVideoQueue::collect_frame(SrsRtpNackForReceiver* nack, SrsRtpPacket2* | |||
|     for (; next != queue_->end; ++next) { | ||||
|         SrsRtpPacket2* pkt = queue_->at(next); | ||||
| 
 | ||||
|         // TODO: FIXME: Should not wait for NACK packets.
 | ||||
|         // Not found or in NACK, stop collecting frame.
 | ||||
|         if (!pkt || nack->find(next) != NULL) { | ||||
|             srs_trace("wait for nack seq=%u", next); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue