Documentation
¶
Index ¶
- type App
- type AppList
- type Config
- type DomainDetails
- type DomainList
- type File
- type FileList
- type LiveRecordConfig
- type LiveStreamPublishInfo
- type LiveStreamRecordConfig
- type NotifyInfo
- type OnlineStreamInfo
- type PlayDomain
- type PublishDomain
- type RecordApp
- type RecordConfig
- type RecordTemplate
- type RecordTime
- type Snapshot
- type SnapshotConfig
- type SnapshotList
- type SnapshotTemplate
- type StreamInfo
- type TemplateConfig
- type TranscodeInfo
- type WatermarkTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainDetails ¶ added in v1.4.0
type DomainDetails struct { /* 推流域名集合 (Optional) */ PublishDomains []PublishDomain `json:"publishDomains"` /* 直播域名集合 (Optional) */ PlayDomains []PlayDomain `json:"playDomains"` }
type DomainList ¶
type DomainList struct { /* 推流域名集合 (Optional) */ PublishDomain []PublishDomain `json:"publishDomain"` /* 直播域名集合 (Optional) */ PlayDomain []PlayDomain `json:"playDomain"` }
type File ¶ added in v1.4.0
type File struct { /* 流所属加速域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 流所属应用名称 (Optional) */ AppName string `json:"appName"` /* 直播流名称 (Optional) */ StreamName string `json:"streamName"` /* 开始时间 (Optional) */ StartTime string `json:"startTime"` /* 结束时间 (Optional) */ EndTime string `json:"endTime"` /* 录制时长 (Optional) */ Duration int `json:"duration"` /* 视频高 (Optional) */ Height int `json:"height"` /* 视频宽 (Optional) */ Width int `json:"width"` /* OSSBucket的名称 (Optional) */ OssBucket string `json:"ossBucket"` /* OSSEndpoint域名 (Optional) */ OssEndpoint string `json:"ossEndpoint"` /* OSSObject (Optional) */ OssObject string `json:"ossObject"` }
type FileList ¶
type FileList struct { /* 流所属加速域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 流所属应用名称 (Optional) */ AppName string `json:"appName"` /* 直播流名称 (Optional) */ StreamName string `json:"streamName"` /* 开始时间 (Optional) */ StartTime string `json:"startTime"` /* 结束时间 (Optional) */ EndTime string `json:"endTime"` /* 录制时长 (Optional) */ Duration int `json:"duration"` /* 视频高 (Optional) */ Height int `json:"height"` /* 视频宽 (Optional) */ Width int `json:"width"` /* OSSBucket的名称 (Optional) */ OssBucket string `json:"ossBucket"` /* OSSEndpoint域名 (Optional) */ OssEndpoint string `json:"ossEndpoint"` /* OSSObject (Optional) */ OssObject string `json:"ossObject"` }
type LiveRecordConfig ¶
type LiveStreamPublishInfo ¶ added in v1.4.0
type LiveStreamPublishInfo struct { /* 您的加速域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 您的APP (Optional) */ AppName string `json:"appName"` /* 您的流名 (Optional) */ StreamName string `json:"streamName"` /* 开始推流时刻 UTC 时间 (Optional) */ PublishUpTime string `json:"publishUpTime"` /* 开始推流时刻 UTC 时间 (Optional) */ PublishDownTime string `json:"publishDownTime"` }
type LiveStreamRecordConfig ¶
type NotifyInfo ¶
type OnlineStreamInfo ¶ added in v1.4.0
type OnlineStreamInfo struct { /* 您的加速域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 您的APP (Optional) */ AppName string `json:"appName"` /* 您的流名 (Optional) */ StreamName string `json:"streamName"` /* 您的推流时间 (Optional) */ PublishTime string `json:"publishTime"` /* 您的推流地址 (Optional) */ PublishUrl string `json:"publishUrl"` }
type PlayDomain ¶
type PlayDomain struct { /* 播放域名 (Optional) */ PlayDomain string `json:"playDomain"` /* 播放域名(Cname) (Optional) */ PlayDomainCname string `json:"playDomainCname"` /* 直播域名状态 (Optional) */ DomainStatus string `json:"domainStatus"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 更新时间 (Optional) */ UpdateTime string `json:"updateTime"` }
type PublishDomain ¶
type PublishDomain struct { /* 推流域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 推流域名(Cname) (Optional) */ PublishDomainCname string `json:"publishDomainCname"` /* 直播域名状态 (Optional) */ DomainStatus string `json:"domainStatus"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* 更新时间 (Optional) */ UpdateTime string `json:"updateTime"` }
type RecordConfig ¶
type RecordConfig struct { /* 自动录制周期 (Optional) */ Mytemplate1 string `json:"mytemplate1"` }
type RecordTemplate ¶
type RecordTemplate struct { /* 自动录制周期 (Optional) */ RecordPeriod int `json:"recordPeriod"` /* null (Optional) */ SaveBucket string `json:"saveBucket"` /* null (Optional) */ SaveEndpoint string `json:"saveEndpoint"` /* 录制文件格式 (Optional) */ RecordFileType string `json:"recordFileType"` /* 录制模板自定义名称 (Optional) */ Template string `json:"template"` }
type RecordTime ¶ added in v1.4.0
type Snapshot ¶ added in v1.4.0
type Snapshot struct { /* 推流域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 流所属应用名称 (Optional) */ AppName string `json:"appName"` /* 直播流名称 (Optional) */ StreamName string `json:"streamName"` /* 截图时间 (Optional) */ SnapshotTime string `json:"snapshotTime"` /* 图片高 (Optional) */ Height int `json:"height"` /* 图片宽 (Optional) */ Width int `json:"width"` /* OSSBucket的名称 (Optional) */ OssBucket string `json:"ossBucket"` /* OSSEndpoint域名 (Optional) */ OssEndpoint string `json:"ossEndpoint"` /* OSSObject (Optional) */ OssObject string `json:"ossObject"` }
type SnapshotConfig ¶
type SnapshotList ¶
type SnapshotList struct { /* 推流域名 (Optional) */ PublishDomain string `json:"publishDomain"` /* 流所属应用名称 (Optional) */ AppName string `json:"appName"` /* 直播流名称 (Optional) */ StreamName string `json:"streamName"` /* 截图时间 (Optional) */ SnapshotTime string `json:"snapshotTime"` /* 图片高 (Optional) */ Height int `json:"height"` /* 图片宽 (Optional) */ Width int `json:"width"` /* OSSBucket的名称 (Optional) */ OssBucket string `json:"ossBucket"` /* OSSEndpoint域名 (Optional) */ OssEndpoint string `json:"ossEndpoint"` /* OSSObject (Optional) */ OssObject string `json:"ossObject"` }
type SnapshotTemplate ¶
type SnapshotTemplate struct { /* 截图格式 (Optional) */ Format string `json:"format"` /* 宽 (Optional) */ Width int `json:"width"` /* 高 (Optional) */ Height int `json:"height"` /* 文件类型 (Optional) */ FillType int `json:"fillType"` /* 截图 (Optional) */ SnapshotInterval int `json:"snapshotInterval"` /* 保存模式 (Optional) */ SaveMode int `json:"saveMode"` /* 存储桶 (Optional) */ SaveBucket string `json:"saveBucket"` /* 存储endPoint (Optional) */ SaveEndpoint string `json:"saveEndpoint"` /* 录制模板自定义名称 (Optional) */ Template string `json:"template"` }
type StreamInfo ¶
type StreamInfo struct { /* 直播流的音频帧率 (Optional) */ AudioFrameRate int `json:"audioFrameRate"` /* 直播流的 URL (Optional) */ StreamUrl string `json:"streamUrl"` /* 直播流的码率 (Optional) */ BitRate int `json:"bitRate"` /* 直播流的视频帧率 (Optional) */ VideoFrameRate int `json:"videoFrameRate"` /* 统计时刻 (Optional) */ Time string `json:"time"` }
type TemplateConfig ¶
type TranscodeInfo ¶
type TranscodeInfo struct { /* 转码输出的码率值 (Optional) */ VideoCodeRate int `json:"videoCodeRate"` /* 转码输出的帧率值 (Optional) */ VideoFrameRate string `json:"videoFrameRate"` /* 转码输出视频宽度 (Optional) */ Width int `json:"width"` /* 转码输出视频宽度 (Optional) */ Height int `json:"height"` /* 转码模板自定义名称 (Optional) */ Template string `json:"template"` /* 转码输出音频编码格式 (Optional) */ AudioCodec string `json:"audioCodec"` /* 转码输出音频格式 (Optional) */ AudioFormat string `json:"audioFormat"` /* 转码输出音频采样率 (Optional) */ AudioSampleRate int `json:"audioSampleRate"` /* 转码输出音频通道数 (Optional) */ AudioChannel int `json:"audioChannel"` /* 转码输出音频码率 (Optional) */ AudioCodeRate int `json:"audioCodeRate"` }
type WatermarkTemplate ¶
type WatermarkTemplate struct { /* x轴偏移量 (Optional) */ OffSetX int `json:"offSetX"` /* y轴偏移量 (Optional) */ OffSetY int `json:"offSetY"` /* 宽 (Optional) */ Width int `json:"width"` /* 高 (Optional) */ Height int `json:"height"` /* url (Optional) */ Url string `json:"url"` /* 录制模板自定义名称 (Optional) */ Template string `json:"template"` }
Source Files
¶
- App.go
- AppList.go
- Config.go
- DomainDetails.go
- DomainList.go
- File.go
- FileList.go
- LiveRecordConfig.go
- LiveStreamPublishInfo.go
- LiveStreamRecordConfig.go
- NotifyInfo.go
- OnlineStreamInfo.go
- PlayDomain.go
- PublishDomain.go
- RecordApp.go
- RecordConfig.go
- RecordTemplate.go
- RecordTime.go
- Snapshot.go
- SnapshotConfig.go
- SnapshotList.go
- SnapshotTemplate.go
- StreamInfo.go
- TemplateConfig.go
- TranscodeInfo.go
- WatermarkTemplate.go
Click to show internal directories.
Click to hide internal directories.