You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
640 B
28 lines
640 B
package archive |
|
|
|
import ( |
|
"go-common/library/time" |
|
) |
|
|
|
//Track archive track info |
|
type Track struct { |
|
// common values |
|
Timestamp time.Time `json:"timestamp"` |
|
// archive stat |
|
State int `json:"state"` |
|
Round int `json:"round"` |
|
// AID int64 `json:"aid,omitempty"` |
|
Remark string `json:"remark,omitempty"` |
|
Attribute int32 `json:"attribute"` |
|
} |
|
|
|
//VideoTrack video track info |
|
type VideoTrack struct { |
|
// common values |
|
Timestamp time.Time `json:"timestamp"` |
|
XCodeState int8 `json:"xcode_state"` |
|
// video status |
|
Status int16 `json:"status"` |
|
AID int64 `json:"aid,omitempty"` |
|
Remark string `json:"remark,omitempty"` |
|
}
|
|
|