Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a RTSP listener.
func New ¶
func New( listenIP string, port int, readTimeout time.Duration, writeTimeout time.Duration, readBufferCount int, readBufferSize int, useUDP bool, rtpPort int, rtcpPort int, useTLS bool, serverCert string, serverKey string, parent Parent) (*Server, error)
New allocates a Server.
func (*Server) Accept ¶
func (s *Server) Accept() chan *gortsplib.ServerConn
Accept returns a channel to accept incoming connections.
Click to show internal directories.
Click to hide internal directories.