Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadToArc_FixMe ¶
func UploadToArc_FixMe(credentials *ArcServerCredentials, lowRes, highRes string, cameraName string) error
Share the recording with an Arc server. TODO: Fix this. It was originally written for our old 'eventdb' package, but it would need to change to use our new 'videodb' and 'fsv' packages. func UploadToArc(credentials *ArcServerCredentials, eventDBVideoRoot string, recording *eventdb.Recording, cameraName string) error {
Types ¶
type ArcServerCredentials ¶
type ArcServerCredentials struct { ServerUrl string // eg https://arc.cyclopcam.org (no trailing slash) ApiKey string // secret key "sk-..." }
func (*ArcServerCredentials) IsConfigured ¶
func (a *ArcServerCredentials) IsConfigured() bool
Click to show internal directories.
Click to hide internal directories.