Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PlayAuthSign1 ... PlayAuthSign1 = []int{52, 58, 53, 121, 116, 102} // PlayAuthSign2 ... PlayAuthSign2 = []int{90, 91} )
Functions ¶
func BuildVodGetPlayInfoURL ¶
BuildVodGetPlayInfoURL ...
Types ¶
type PlayInfo ¶
type PlayInfo struct { Format string `json:"Format" xml:"Format"` BitDepth int `json:"BitDepth" xml:"BitDepth"` NarrowBandType string `json:"NarrowBandType" xml:"NarrowBandType"` Fps string `json:"Fps" xml:"Fps"` Encrypt int64 `json:"Encrypt" xml:"Encrypt"` Rand string `json:"Rand" xml:"Rand"` StreamType string `json:"StreamType" xml:"StreamType"` WatermarkID string `json:"WatermarkId" xml:"WatermarkId"` Size int64 `json:"Size" xml:"Size"` Definition string `json:"Definition" xml:"Definition"` Plaintext string `json:"Plaintext" xml:"Plaintext"` JobID string `json:"JobId" xml:"JobId"` EncryptType string `json:"EncryptType" xml:"EncryptType"` PreprocessStatus string `json:"PreprocessStatus" xml:"PreprocessStatus"` ModificationTime string `json:"ModificationTime" xml:"ModificationTime"` Bitrate string `json:"Bitrate" xml:"Bitrate"` CreationTime string `json:"CreationTime" xml:"CreationTime"` Height int64 `json:"Height" xml:"Height"` Complexity string `json:"Complexity" xml:"Complexity"` Duration string `json:"Duration" xml:"Duration"` HDRType string `json:"HDRType" xml:"HDRType"` Width int64 `json:"Width" xml:"Width"` Status string `json:"Status" xml:"Status"` Specification string `json:"Specification" xml:"Specification"` PlayURL string `json:"PlayURL" xml:"PlayURL"` }
PlayInfo is a nested struct in vod response
type PlayInfoListInGetPlayInfo ¶
type PlayInfoListInGetPlayInfo struct {
PlayInfo []PlayInfo `json:"PlayInfo" xml:"PlayInfo"`
}
PlayInfoListInGetPlayInfo is a nested struct in vod response
type VideoBase ¶
type VideoBase struct { CreationTime string `json:"CreationTime" xml:"CreationTime"` Status string `json:"Status" xml:"Status"` TranscodeMode string `json:"TranscodeMode" xml:"TranscodeMode"` OutputType string `json:"OutputType" xml:"OutputType"` VideoID string `json:"VideoId" xml:"VideoId"` CoverURL string `json:"CoverURL" xml:"CoverURL"` Duration string `json:"Duration" xml:"Duration"` Title string `json:"Title" xml:"Title"` MediaType string `json:"MediaType" xml:"MediaType"` DanMuURL string `json:"DanMuURL" xml:"DanMuURL"` }
VideoBase is a nested struct in vod response
Click to show internal directories.
Click to hide internal directories.