mirror of
				https://github.com/pion/webrtc.git
				synced 2025-10-31 10:46:39 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			265 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			265 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package network
 | |
| 
 | |
| import "github.com/pions/webrtc/pkg/rtp"
 | |
| 
 | |
| // BufferTransportGenerator generates a new channel for the associated SSRC
 | |
| // This channel is used to send RTP packets to users of pion-WebRTC
 | |
| type BufferTransportGenerator func(uint32) chan<- *rtp.Packet
 | 
