Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Opts Opts
SessionStore *session.Store
BabyStateManager *baby.StateManager
RestClient *client.NanitClient
MQTTConnection *mqtt.Connection
}
App - application container
type DataDirectories ¶
DataDirectories - dictionary of dir paths
type EventPollingOpts ¶
type NanitCredentials ¶
NanitCredentials - user credentials for Nanit account
type Opts ¶
type Opts struct {
NanitCredentials NanitCredentials
SessionFile string
DataDirectories DataDirectories
HTTPEnabled bool
MQTT *mqtt.Opts
RTMP *RTMPOpts
EventPolling EventPollingOpts
}
Opts - application run options
type RTMPOpts ¶
type RTMPOpts struct {
// IP:Port of the interface on which we should listen
ListenAddr string
// IP:Port under which can Cam reach the RTMP server
PublicAddr string
// Path where the cam can reach the RTMP server
Path string
// Key for this stream
Key string
}
RTMPOpts - options for RTMP streaming
Click to show internal directories.
Click to hide internal directories.