初始
This commit is contained in:
31
third/plane/mqtt/entity.go
Normal file
31
third/plane/mqtt/entity.go
Normal file
@ -0,0 +1,31 @@
|
||||
package mqtt
|
||||
|
||||
// LiveStreamingCapabilityUpdateEntity 直播能力更新 UP
|
||||
type LiveStreamingCapabilityUpdateEntity struct {
|
||||
Tid string `json:"tid"`
|
||||
Bid string `json:"bid"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
Gateway string `json:"gateway"`
|
||||
Method string `json:"method"`
|
||||
Data struct {
|
||||
LiveCapacity struct {
|
||||
AvailableVideoNumber int `json:"available_video_number"`
|
||||
CoexistVideoNumberMax int `json:"coexist_video_number_max"`
|
||||
DeviceList []struct {
|
||||
Sn string `json:"sn"`
|
||||
AvailableVideoNumber int `json:"available_video_number"`
|
||||
CoexistVideoNumberMax int `json:"coexist_video_number_max"`
|
||||
CameraList []struct {
|
||||
CameraIndex string `json:"camera_index"`
|
||||
AvailableVideoNumber int `json:"available_video_number"`
|
||||
CoexistVideoNumberMax int `json:"coexist_video_number_max"`
|
||||
VideoList []struct {
|
||||
VideoIndex string `json:"video_index"`
|
||||
VideoType string `json:"video_type"`
|
||||
SwitchableVideoTypes []string `json:"switchable_video_types"`
|
||||
} `json:"video_list"`
|
||||
} `json:"camera_list"`
|
||||
} `json:"device_list"`
|
||||
} `json:"live_capacity"`
|
||||
} `json:"data"`
|
||||
}
|
Reference in New Issue
Block a user