2020-06-22 20:11:56 -05:00
|
|
|
package models
|
2020-06-02 17:35:49 -07:00
|
|
|
|
2020-10-06 01:07:09 +08:00
|
|
|
import "github.com/owncast/owncast/utils"
|
2020-06-24 22:52:05 -07:00
|
|
|
|
2020-11-13 00:14:59 +01:00
|
|
|
// Status represents the status of the system.
|
2020-06-02 17:35:49 -07:00
|
|
|
type Status struct {
|
2021-08-03 17:47:16 -07:00
|
|
|
LastConnectTime *utils.NullTime `json:"lastConnectTime"`
|
|
|
|
LastDisconnectTime *utils.NullTime `json:"lastDisconnectTime"`
|
2020-11-03 17:34:25 -08:00
|
|
|
|
2023-05-30 10:31:43 -07:00
|
|
|
VersionNumber string `json:"versionNumber"`
|
|
|
|
StreamTitle string `json:"streamTitle"`
|
|
|
|
ViewerCount int `json:"viewerCount"`
|
|
|
|
OverallMaxViewerCount int `json:"overallMaxViewerCount"`
|
|
|
|
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
|
|
|
|
|
|
|
|
Online bool `json:"online"`
|
2020-06-02 17:35:49 -07:00
|
|
|
}
|