rtsp

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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(ctx context.Context, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL