mirror of
				https://github.com/aler9/gortsplib
				synced 2025-10-27 01:00:32 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			113 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			113 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package gortsplib
 | |
| 
 | |
| import (
 | |
| 	"time"
 | |
| )
 | |
| 
 | |
| func emptyTimer() *time.Timer {
 | |
| 	t := time.NewTimer(0)
 | |
| 	<-t.C
 | |
| 	return t
 | |
| }
 | 
