rtsp

package
v0.9.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Overview

Package rtsp implements an RTSP camera client for RDK

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRTSPCamera

func NewRTSPCamera(ctx context.Context, name resource.Name, conf *Config, logger golog.Logger) (camera.Camera, error)

NewRTSPCamera creates a camera client using RTSP given the server URL. Right now, only supports servers that have MJPEG video tracks.

Types

type Config added in v0.2.36

type Config struct {
	Address          string                             `json:"rtsp_address"`
	IntrinsicParams  *transform.PinholeCameraIntrinsics `json:"intrinsic_parameters,omitempty"`
	DistortionParams *transform.BrownConrady            `json:"distortion_parameters,omitempty"`
}

Config are the config attributes for an RTSP camera model.

func (*Config) Validate added in v0.2.36

func (conf *Config) Validate(path string) ([]string, error)

Validate checks to see if the attributes of the model are valid.

Jump to

Keyboard shortcuts

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