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 implements the RTSP protocol to serve a H.264 stream

    func CreateServer

    func CreateServer(localIP string, port int, camera *libipcamera.Camera) *Server

      CreateServer creates a new Server instance

      func (*Server) ListenAndServe

      func (s *Server) ListenAndServe() error

        ListenAndServe starts listening for connections and handles them

        func (*Server) Stop

        func (s *Server) Stop()

          Stop stops listening for connections

          Source Files