rtsp

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 8 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(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