Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = 8084 VersionMajor = 0 VersionMinor = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { AssignedMediaPort int MediaAddr *net.UDPAddr MediaConn *net.UDPConn // contains filtered or unexported fields }
type FtlConnection ¶
type FtlConnection struct { Connected bool Callbacks Callbacks Metadata *FtlConnectionMetadata // contains filtered or unexported fields }
func (*FtlConnection) Disconnect ¶
func (conn *FtlConnection) Disconnect() error
func (*FtlConnection) ProcessCommand ¶
func (conn *FtlConnection) ProcessCommand(command string)
func (*FtlConnection) SendMessage ¶
func (conn *FtlConnection) SendMessage(message string) error
type FtlConnectionMetadata ¶
type Manager ¶
type Manager struct {
Clients map[int]*FtlConnection
}
func NewManager ¶
func NewManager() *Manager
func (*Manager) AddChannel ¶
func (manager *Manager) AddChannel(channelId int, ftlConn *FtlConnection)
func (*Manager) WatchChannel ¶
type MediaConnection ¶
type MediaConnection struct { Connected bool ChannelId int StreamId int // RTP Packet Payload Type VideoPayloadType uint8 VideoIngestSsrc uint // RTP Packet Payload Type AudioPayloadType uint8 AudioIngestSsrc uint // contains filtered or unexported fields }
func (*MediaConnection) Close ¶
func (conn *MediaConnection) Close() error
func (*MediaConnection) Listen ¶
func (conn *MediaConnection) Listen() error
Click to show internal directories.
Click to hide internal directories.