Documentation
¶
Overview ¶
Package webrtcutil provides utilities to complement github.com/pion/webrtc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
NewConnection creates a new connection object (that implements net.Conn) using the specified data channel as its underlying transport. The data channel must support stream detaching (which it will if created from this package's API instance), otherwise a panic will occur. If provided, the closure callback will be invoked the first time (and only the first time) that the connections Close method is called.
func NewLoggerFactory ¶
func NewLoggerFactory(name string) logging.LoggerFactory
NewLoggerFactory creates a LoggerFactory that uses Mutagen's logging infrastructure. The factory contains a sublogger of the root logger with the specified name. Derived LeveledLogger instances are created as subloggers of the factory's logger.
Types ¶
This section is empty.