Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a RTMP client.
func New ¶
func New( rtspPort int, readTimeout time.Duration, writeTimeout time.Duration, readBufferCount int, runOnConnect string, runOnConnectRestart bool, wg *sync.WaitGroup, stats *stats.Stats, conn *rtmputils.Conn, parent Parent) *Client
New allocates a Client.
func (*Client) Authenticate ¶
func (c *Client) Authenticate(authMethods []headers.AuthMethod, pathName string, ips []interface{}, user string, pass string, req interface{}) error
Authenticate performs an authentication.
func (*Client) OnIncomingFrame ¶
func (c *Client) OnIncomingFrame(trackID int, streamType gortsplib.StreamType, buf []byte)
OnIncomingFrame implements path.Reader.
Click to show internal directories.
Click to hide internal directories.