actioncam: github.com/jonas-koeritz/actioncam/rtsp Index | Files

package rtsp

import "github.com/jonas-koeritz/actioncam/rtsp"

Index

Package Files

RTSPServer.go

type Server Uses

type Server struct {
    // contains filtered or unexported fields
}

Server implements the RTSP protocol to serve a H.264 stream

func CreateServer Uses

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

CreateServer creates a new Server instance

func (*Server) ListenAndServe Uses

func (s *Server) ListenAndServe() error

ListenAndServe starts listening for connections and handles them

func (*Server) Stop Uses

func (s *Server) Stop()

Stop stops listening for connections

Package rtsp imports 9 packages (graph) and is imported by 1 packages. Updated 2019-10-31. Refresh now. Tools for package owners.