Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferTransportGenerator ¶
BufferTransportGenerator generates a new channel for the associated SSRC This channel is used to send RTP packets to users of pion-WebRTC
type ICENotifier ¶
type ICENotifier func(*Port)
ICENotifier notifies the RTCPeerConnection if ICE state has changed for this port
type Port ¶
type Port struct { ListeningAddr *stun.TransportAddr ICEState ice.ConnectionState // contains filtered or unexported fields }
Port represents a UDP listener that handles incoming/outgoing traffic
func NewPort ¶
func NewPort(address string, remoteKey []byte, tlscfg *dtls.TLSCfg, b BufferTransportGenerator, i ICENotifier) (*Port, error)
NewPort creates a new Port
Click to show internal directories.
Click to hide internal directories.