mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	RTC: Refine log
This commit is contained in:
		
							parent
							
								
									cc03449379
								
							
						
					
					
						commit
						26f73e7593
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1463,11 +1463,12 @@ block  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | 
			
		|||
    return err;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// TODO: FIXME: Use async request PLI to prevent dup requests.
 | 
			
		||||
void SrsRtcPublishStream::request_keyframe(uint32_t ssrc)
 | 
			
		||||
{
 | 
			
		||||
    SrsContextId scid = _srs_context->get_id();
 | 
			
		||||
    SrsContextId pcid = session_->context_id();
 | 
			
		||||
    srs_trace("RTC play=[%d][%s] request keyframe from publish=[%d][%s]", ::getpid(), scid.c_str(), ::getpid(), pcid.c_str());
 | 
			
		||||
    srs_trace("RTC play=[%d][%s] SSRC=%u PLI from publish=[%d][%s]", ::getpid(), scid.c_str(), ssrc, ::getpid(), pcid.c_str());
 | 
			
		||||
 | 
			
		||||
    SrsRtcVideoRecvTrack* video_track = get_video_track(ssrc);
 | 
			
		||||
    if (video_track) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue