32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
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"`
|
|
}
|