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 TCP/RTSP listener.
func New ¶
func New(port int, readTimeout time.Duration, writeTimeout time.Duration, readBufferCount uint64, udpRTPListener *gortsplib.ServerUDPListener, udpRTCPListener *gortsplib.ServerUDPListener, 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.