Documentation ¶
Index ¶
- type AppQualityInfo
- type BandwidthInfo
- type CreateRecordConfigRequest
- type CreateRecordConfigResponse
- type CreateStreamForbiddenRequest
- type CreateStreamForbiddenResponse
- type CreateTranscodingsTemplateRequest
- type CreateTranscodingsTemplateResponse
- type DeleteRecordConfigRequest
- type DeleteRecordConfigResponse
- type DeleteStreamForbiddenRequest
- type DeleteStreamForbiddenResponse
- type DeleteTranscodingsTemplateRequest
- type DeleteTranscodingsTemplateResponse
- type ListLiveStreamsOnlineRequest
- type ListLiveStreamsOnlineResponse
- type ListRecordConfigsRequest
- type ListRecordConfigsRequestRecordType
- type ListRecordConfigsRequestRecordTypeEnum
- type ListRecordConfigsResponse
- type ListStreamForbiddenRequest
- type ListStreamForbiddenResponse
- type ObsFileAddr
- type OnlineInfo
- type OnlineInfoAudioCodec
- type OnlineInfoAudioCodecEnum
- type OnlineInfoVideoCodec
- type OnlineInfoVideoCodecEnum
- type QualityInfo
- type QualityInfoCodec
- type QualityInfoCodecEnum
- type QualityInfoHdlb
- type QualityInfoHdlbEnum
- type QualityInfoProtocol
- type QualityInfoProtocolEnum
- type QualityInfoPvc
- type QualityInfoPvcEnum
- type RecordConfigInfo
- type RecordConfigInfoRecordFormat
- type RecordConfigInfoRecordFormatEnum
- type RecordConfigInfoRecordLocation
- type RecordConfigInfoRecordLocationEnum
- type RecordConfigInfoRecordType
- type RecordConfigInfoRecordTypeEnum
- type ShowBandwidthRequest
- type ShowBandwidthResponse
- type ShowOnlineUsersRequest
- type ShowOnlineUsersResponse
- type ShowTrafficRequest
- type ShowTrafficResponse
- type ShowTranscodingsTemplateRequest
- type ShowTranscodingsTemplateResponse
- type StreamForbiddenList
- type StreamForbiddenSetting
- type StreamTranscodingTemplate
- type TrafficInfo
- type UpdateStreamForbiddenRequest
- type UpdateStreamForbiddenResponse
- type UpdateTranscodingsTemplateRequest
- type UpdateTranscodingsTemplateResponse
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppQualityInfo ¶
type AppQualityInfo struct { // 应用名称 AppName *string `json:"app_name,omitempty"` // 视频质量信息 QualityInfo *[]QualityInfo `json:"quality_info,omitempty"` }
func (AppQualityInfo) String ¶
func (o AppQualityInfo) String() string
type BandwidthInfo ¶
type BandwidthInfo struct { // 带宽峰值,单位:bps BwBps int32 `json:"bw_bps"` // 带宽数据采样周期起始时刻,UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ Timestamp string `json:"timestamp"` }
func (BandwidthInfo) String ¶
func (o BandwidthInfo) String() string
type CreateRecordConfigRequest ¶
type CreateRecordConfigRequest struct {
Body *RecordConfigInfo `json:"body,omitempty"`
}
Request Object
func (CreateRecordConfigRequest) String ¶
func (o CreateRecordConfigRequest) String() string
type CreateRecordConfigResponse ¶
type CreateRecordConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateRecordConfigResponse) String ¶
func (o CreateRecordConfigResponse) String() string
type CreateStreamForbiddenRequest ¶
type CreateStreamForbiddenRequest struct { SpecifyProject *string `json:"specify_project,omitempty"` Body *StreamForbiddenSetting `json:"body,omitempty"` }
Request Object
func (CreateStreamForbiddenRequest) String ¶
func (o CreateStreamForbiddenRequest) String() string
type CreateStreamForbiddenResponse ¶
type CreateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateStreamForbiddenResponse) String ¶
func (o CreateStreamForbiddenResponse) String() string
type CreateTranscodingsTemplateRequest ¶
type CreateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
Request Object
func (CreateTranscodingsTemplateRequest) String ¶
func (o CreateTranscodingsTemplateRequest) String() string
type CreateTranscodingsTemplateResponse ¶
type CreateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateTranscodingsTemplateResponse) String ¶
func (o CreateTranscodingsTemplateResponse) String() string
type DeleteRecordConfigRequest ¶
type DeleteRecordConfigRequest struct { Domain string `json:"domain"` AppName string `json:"app_name"` }
Request Object
func (DeleteRecordConfigRequest) String ¶
func (o DeleteRecordConfigRequest) String() string
type DeleteRecordConfigResponse ¶
type DeleteRecordConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRecordConfigResponse) String ¶
func (o DeleteRecordConfigResponse) String() string
type DeleteStreamForbiddenRequest ¶
type DeleteStreamForbiddenRequest struct { SpecifyProject *string `json:"specify_project,omitempty"` Domain string `json:"domain"` AppName string `json:"app_name"` StreamName string `json:"stream_name"` }
Request Object
func (DeleteStreamForbiddenRequest) String ¶
func (o DeleteStreamForbiddenRequest) String() string
type DeleteStreamForbiddenResponse ¶
type DeleteStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteStreamForbiddenResponse) String ¶
func (o DeleteStreamForbiddenResponse) String() string
type DeleteTranscodingsTemplateRequest ¶
type DeleteTranscodingsTemplateRequest struct { Domain string `json:"domain"` AppName string `json:"app_name"` }
Request Object
func (DeleteTranscodingsTemplateRequest) String ¶
func (o DeleteTranscodingsTemplateRequest) String() string
type DeleteTranscodingsTemplateResponse ¶
type DeleteTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTranscodingsTemplateResponse) String ¶
func (o DeleteTranscodingsTemplateResponse) String() string
type ListLiveStreamsOnlineRequest ¶
type ListLiveStreamsOnlineRequest struct { PublishDomain string `json:"publish_domain"` App *string `json:"app,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Stream *string `json:"stream,omitempty"` }
Request Object
func (ListLiveStreamsOnlineRequest) String ¶
func (o ListLiveStreamsOnlineRequest) String() string
type ListLiveStreamsOnlineResponse ¶
type ListLiveStreamsOnlineResponse struct { // 总条页数 TotalPage *int64 `json:"total_page,omitempty"` // 总条目数 TotalNum *int64 `json:"total_num,omitempty"` // 偏移量 Offset *int64 `json:"offset,omitempty"` // 每页条目数 Limit *int64 `json:"limit,omitempty"` // 请求唯一标识 RequestId *string `json:"request_id,omitempty"` Streams *OnlineInfo `json:"streams,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveStreamsOnlineResponse) String ¶
func (o ListLiveStreamsOnlineResponse) String() string
type ListRecordConfigsRequest ¶
type ListRecordConfigsRequest struct { Domain string `json:"domain"` AppName *string `json:"app_name,omitempty"` StreamName *string `json:"stream_name,omitempty"` Page *int32 `json:"page,omitempty"` Size *int32 `json:"size,omitempty"` RecordType *ListRecordConfigsRequestRecordType `json:"record_type,omitempty"` }
Request Object
func (ListRecordConfigsRequest) String ¶
func (o ListRecordConfigsRequest) String() string
type ListRecordConfigsRequestRecordType ¶
type ListRecordConfigsRequestRecordType struct {
// contains filtered or unexported fields
}
func (ListRecordConfigsRequestRecordType) MarshalJSON ¶
func (c ListRecordConfigsRequestRecordType) MarshalJSON() ([]byte, error)
func (*ListRecordConfigsRequestRecordType) UnmarshalJSON ¶
func (c *ListRecordConfigsRequestRecordType) UnmarshalJSON(b []byte) error
type ListRecordConfigsRequestRecordTypeEnum ¶
type ListRecordConfigsRequestRecordTypeEnum struct {
CONFIGER_RECORD ListRecordConfigsRequestRecordType
}
func GetListRecordConfigsRequestRecordTypeEnum ¶
func GetListRecordConfigsRequestRecordTypeEnum() ListRecordConfigsRequestRecordTypeEnum
type ListRecordConfigsResponse ¶
type ListRecordConfigsResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 录制配置数组 RecordConfig *[]RecordConfigInfo `json:"record_config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRecordConfigsResponse) String ¶
func (o ListRecordConfigsResponse) String() string
type ListStreamForbiddenRequest ¶
type ListStreamForbiddenRequest struct { SpecifyProject *string `json:"specify_project,omitempty"` Domain string `json:"domain"` AppName *string `json:"app_name,omitempty"` StreamName *string `json:"stream_name,omitempty"` Page *int32 `json:"page,omitempty"` Size *int32 `json:"size,omitempty"` }
Request Object
func (ListStreamForbiddenRequest) String ¶
func (o ListStreamForbiddenRequest) String() string
type ListStreamForbiddenResponse ¶
type ListStreamForbiddenResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 禁播黑名单列表 Blocks *[]StreamForbiddenList `json:"blocks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStreamForbiddenResponse) String ¶
func (o ListStreamForbiddenResponse) String() string
type ObsFileAddr ¶
type ObsFileAddr struct { // OBS的bucket名称 Bucket string `json:"bucket"` // OBS Bucket所在数据中心(OBS Location) Location string `json:"location"` // OBS对象路径,遵守OSS Object定义,当用于指示input时,需要指定到具体对象;当用于指示output时, 只需指定到转码结果期望存放的路径 Object string `json:"object"` }
func (ObsFileAddr) String ¶
func (o ObsFileAddr) String() string
type OnlineInfo ¶
type OnlineInfo struct { // 域名 PublishDomain string `json:"publish_domain"` // 应用名 App string `json:"app"` // 流名 Stream string `json:"stream"` // 视频编码方式 - H264 - H265 VideoCodec OnlineInfoVideoCodec `json:"video_codec"` // 音频编码方式 - AAC AudioCodec OnlineInfoAudioCodec `json:"audio_codec"` // 推流设备的ip ClientIp string `json:"client_ip"` // 开始推流时刻 UTC格式 2006-01-02T15:04:05Z StartTime string `json:"start_time"` }
func (OnlineInfo) String ¶
func (o OnlineInfo) String() string
type OnlineInfoAudioCodec ¶
type OnlineInfoAudioCodec struct {
// contains filtered or unexported fields
}
func (OnlineInfoAudioCodec) MarshalJSON ¶
func (c OnlineInfoAudioCodec) MarshalJSON() ([]byte, error)
func (*OnlineInfoAudioCodec) UnmarshalJSON ¶
func (c *OnlineInfoAudioCodec) UnmarshalJSON(b []byte) error
type OnlineInfoAudioCodecEnum ¶
type OnlineInfoAudioCodecEnum struct {
AAC OnlineInfoAudioCodec
}
func GetOnlineInfoAudioCodecEnum ¶
func GetOnlineInfoAudioCodecEnum() OnlineInfoAudioCodecEnum
type OnlineInfoVideoCodec ¶
type OnlineInfoVideoCodec struct {
// contains filtered or unexported fields
}
func (OnlineInfoVideoCodec) MarshalJSON ¶
func (c OnlineInfoVideoCodec) MarshalJSON() ([]byte, error)
func (*OnlineInfoVideoCodec) UnmarshalJSON ¶
func (c *OnlineInfoVideoCodec) UnmarshalJSON(b []byte) error
type OnlineInfoVideoCodecEnum ¶
type OnlineInfoVideoCodecEnum struct { H264 OnlineInfoVideoCodec H265 OnlineInfoVideoCodec }
func GetOnlineInfoVideoCodecEnum ¶
func GetOnlineInfoVideoCodecEnum() OnlineInfoVideoCodecEnum
type QualityInfo ¶
type QualityInfo struct { // 模板名称。 TemplateName *string `json:"templateName,omitempty"` // 包含如下取值: - FHD: 超高清,系统缺省名称 - HD: 高清,系统缺省名称 - SD: 标清,系统缺省名称 - LD: 流畅,系统缺省名称 - XXX: 租户自定义名称。用户自定义名称不能与系统缺省名称冲突;多个自定义名称不能重复 Quality string `json:"quality"` // 是否使用窄带高清转码,模板组里不同模板的PVC选项必须相同。 - on:启用。 - off:不启用。 默认为off Pvc *QualityInfoPvc `json:"PVC,omitempty"` // 是否启用高清低码,较PVC相比画质增强。 - on:启用。 - off:不启用。 默认为off。 Hdlb *QualityInfoHdlb `json:"hdlb,omitempty"` // 视频编码格式,模板组里不同模板的编码格式必须相同。 - H264:使用H.264。 - H265:使用H.265。 默认为H264。 Codec *QualityInfoCodec `json:"codec,omitempty"` // 视频宽度(单位:像素) - H264 取值范围:32-3840,必须为2的倍数 。 - H265 取值范围:320-3840 ,必须为4的倍数。 Width int32 `json:"width"` // 视频高度(单位:像素) - H264 取值范围:32-2160,必须为2的倍数。 - H265 取值范围:240-2160,必须为4的倍数。 Height int32 `json:"height"` // 转码视频的码率(单位:Kbps)。 取值范围:40-30000。 Bitrate int32 `json:"bitrate"` // 转码视频帧率(单位:fps)。 取值范围:0-30,0表示保持帧率不变。 VideoFrameRate *int32 `json:"video_frame_rate,omitempty"` // 转码输出支持的协议类型。当前只支持RTMP和HLS,且模板组里不同模板的输出协议类型必须相同。 - RTMP - HLS - DASH 默认为RTMP。 Protocol *QualityInfoProtocol `json:"protocol,omitempty"` // I帧间隔(单位:帧)。 取值范围:0-500。 默认为25。 IFrameInterval *int32 `json:"iFrameInterval,omitempty"` // 按时间设置I帧间隔,与“iFrameInterval”选择一个设置即可。 取值范围:[0,10] 默认值:4 Gop *int32 `json:"gop,omitempty"` }
func (QualityInfo) String ¶
func (o QualityInfo) String() string
type QualityInfoCodec ¶
type QualityInfoCodec struct {
// contains filtered or unexported fields
}
func (QualityInfoCodec) MarshalJSON ¶
func (c QualityInfoCodec) MarshalJSON() ([]byte, error)
func (*QualityInfoCodec) UnmarshalJSON ¶
func (c *QualityInfoCodec) UnmarshalJSON(b []byte) error
type QualityInfoCodecEnum ¶
type QualityInfoCodecEnum struct { H264 QualityInfoCodec H265 QualityInfoCodec }
func GetQualityInfoCodecEnum ¶
func GetQualityInfoCodecEnum() QualityInfoCodecEnum
type QualityInfoHdlb ¶
type QualityInfoHdlb struct {
// contains filtered or unexported fields
}
func (QualityInfoHdlb) MarshalJSON ¶
func (c QualityInfoHdlb) MarshalJSON() ([]byte, error)
func (*QualityInfoHdlb) UnmarshalJSON ¶
func (c *QualityInfoHdlb) UnmarshalJSON(b []byte) error
type QualityInfoHdlbEnum ¶
type QualityInfoHdlbEnum struct { ON QualityInfoHdlb OFF QualityInfoHdlb }
func GetQualityInfoHdlbEnum ¶
func GetQualityInfoHdlbEnum() QualityInfoHdlbEnum
type QualityInfoProtocol ¶
type QualityInfoProtocol struct {
// contains filtered or unexported fields
}
func (QualityInfoProtocol) MarshalJSON ¶
func (c QualityInfoProtocol) MarshalJSON() ([]byte, error)
func (*QualityInfoProtocol) UnmarshalJSON ¶
func (c *QualityInfoProtocol) UnmarshalJSON(b []byte) error
type QualityInfoProtocolEnum ¶
type QualityInfoProtocolEnum struct { RTMP QualityInfoProtocol HLS QualityInfoProtocol DASH QualityInfoProtocol }
func GetQualityInfoProtocolEnum ¶
func GetQualityInfoProtocolEnum() QualityInfoProtocolEnum
type QualityInfoPvc ¶
type QualityInfoPvc struct {
// contains filtered or unexported fields
}
func (QualityInfoPvc) MarshalJSON ¶
func (c QualityInfoPvc) MarshalJSON() ([]byte, error)
func (*QualityInfoPvc) UnmarshalJSON ¶
func (c *QualityInfoPvc) UnmarshalJSON(b []byte) error
type QualityInfoPvcEnum ¶
type QualityInfoPvcEnum struct { ON QualityInfoPvc OFF QualityInfoPvc }
func GetQualityInfoPvcEnum ¶
func GetQualityInfoPvcEnum() QualityInfoPvcEnum
type RecordConfigInfo ¶
type RecordConfigInfo struct { // 直播播放域名 Domain string `json:"domain"` // 应用名称。 默认为“live”,若您需要自定义应用名称,请先提交工单申请。 AppName string `json:"app_name"` // 秒,周期录制时常,最小15分钟,最大6小时,默认1小时 RecordDuration *int32 `json:"record_duration,omitempty"` // 录制格式flv,hls,mp4,默认flv(目前仅支持flv) RecordFormat *RecordConfigInfoRecordFormat `json:"record_format,omitempty"` // 录制类型,configer_record,默认configer_record。表示录制配置好后,只要有流就录制 RecordType *RecordConfigInfoRecordType `json:"record_type,omitempty"` // 录制位置vod, 默认vod(目前暂只支持vod) RecordLocation *RecordConfigInfoRecordLocation `json:"record_location,omitempty"` // 录制文件前缀, DomainName,AppName,StreamName必须,默认{DomainName}/{AppName}/{StreamName}/{StartTime}-{EndTime} RecordPrefix *string `json:"record_prefix,omitempty"` ObsAddr *ObsFileAddr `json:"obs_addr,omitempty"` // 录制配置创建时间,样例2020-02-14T10:45:16.947+08:00 CreateTime *string `json:"create_time,omitempty"` }
func (RecordConfigInfo) String ¶
func (o RecordConfigInfo) String() string
type RecordConfigInfoRecordFormat ¶
type RecordConfigInfoRecordFormat struct {
// contains filtered or unexported fields
}
func (RecordConfigInfoRecordFormat) MarshalJSON ¶
func (c RecordConfigInfoRecordFormat) MarshalJSON() ([]byte, error)
func (*RecordConfigInfoRecordFormat) UnmarshalJSON ¶
func (c *RecordConfigInfoRecordFormat) UnmarshalJSON(b []byte) error
type RecordConfigInfoRecordFormatEnum ¶
type RecordConfigInfoRecordFormatEnum struct { FLV RecordConfigInfoRecordFormat HLS RecordConfigInfoRecordFormat MP4 RecordConfigInfoRecordFormat }
func GetRecordConfigInfoRecordFormatEnum ¶
func GetRecordConfigInfoRecordFormatEnum() RecordConfigInfoRecordFormatEnum
type RecordConfigInfoRecordLocation ¶
type RecordConfigInfoRecordLocation struct {
// contains filtered or unexported fields
}
func (RecordConfigInfoRecordLocation) MarshalJSON ¶
func (c RecordConfigInfoRecordLocation) MarshalJSON() ([]byte, error)
func (*RecordConfigInfoRecordLocation) UnmarshalJSON ¶
func (c *RecordConfigInfoRecordLocation) UnmarshalJSON(b []byte) error
type RecordConfigInfoRecordLocationEnum ¶
type RecordConfigInfoRecordLocationEnum struct { VOD RecordConfigInfoRecordLocation OBS RecordConfigInfoRecordLocation }
func GetRecordConfigInfoRecordLocationEnum ¶
func GetRecordConfigInfoRecordLocationEnum() RecordConfigInfoRecordLocationEnum
type RecordConfigInfoRecordType ¶
type RecordConfigInfoRecordType struct {
// contains filtered or unexported fields
}
func (RecordConfigInfoRecordType) MarshalJSON ¶
func (c RecordConfigInfoRecordType) MarshalJSON() ([]byte, error)
func (*RecordConfigInfoRecordType) UnmarshalJSON ¶
func (c *RecordConfigInfoRecordType) UnmarshalJSON(b []byte) error
type RecordConfigInfoRecordTypeEnum ¶
type RecordConfigInfoRecordTypeEnum struct {
CONFIGER_RECORD RecordConfigInfoRecordType
}
func GetRecordConfigInfoRecordTypeEnum ¶
func GetRecordConfigInfoRecordTypeEnum() RecordConfigInfoRecordTypeEnum
type ShowBandwidthRequest ¶
type ShowBandwidthRequest struct { Domain *string `json:"domain,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Step *int32 `json:"step,omitempty"` }
Request Object
func (ShowBandwidthRequest) String ¶
func (o ShowBandwidthRequest) String() string
type ShowBandwidthResponse ¶
type ShowBandwidthResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 带宽信息 BandwidthInfo *[]BandwidthInfo `json:"bandwidth_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBandwidthResponse) String ¶
func (o ShowBandwidthResponse) String() string
type ShowOnlineUsersRequest ¶
type ShowOnlineUsersRequest struct { Domain string `json:"domain"` AppName *string `json:"app_name,omitempty"` StreamName *string `json:"stream_name,omitempty"` StartTime *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `json:"end_time,omitempty"` Step *int32 `json:"step,omitempty"` }
Request Object
func (ShowOnlineUsersRequest) String ¶
func (o ShowOnlineUsersRequest) String() string
type ShowOnlineUsersResponse ¶
type ShowOnlineUsersResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 正在推流的音视频信息 UserInfo *[]UserInfo `json:"user_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowOnlineUsersResponse) String ¶
func (o ShowOnlineUsersResponse) String() string
type ShowTrafficRequest ¶
type ShowTrafficRequest struct { Domain *string `json:"domain,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Step *int32 `json:"step,omitempty"` }
Request Object
func (ShowTrafficRequest) String ¶
func (o ShowTrafficRequest) String() string
type ShowTrafficResponse ¶
type ShowTrafficResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 流量信息 TrafficInfo *[]TrafficInfo `json:"traffic_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTrafficResponse) String ¶
func (o ShowTrafficResponse) String() string
type ShowTranscodingsTemplateRequest ¶
type ShowTranscodingsTemplateRequest struct { Domain string `json:"domain"` AppName *string `json:"app_name,omitempty"` Page *int32 `json:"page,omitempty"` Size *int32 `json:"size,omitempty"` }
Request Object
func (ShowTranscodingsTemplateRequest) String ¶
func (o ShowTranscodingsTemplateRequest) String() string
type ShowTranscodingsTemplateResponse ¶
type ShowTranscodingsTemplateResponse struct { // 查询结果的总元素数量 Total *int32 `json:"total,omitempty"` // 播放域名 Domain *string `json:"domain,omitempty"` // 转码模板 Templates *[]AppQualityInfo `json:"templates,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTranscodingsTemplateResponse) String ¶
func (o ShowTranscodingsTemplateResponse) String() string
type StreamForbiddenList ¶
type StreamForbiddenList struct { // 流应用名称 AppName string `json:"app_name"` // 流名称 StreamName string `json:"stream_name"` // 恢复流时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间,不指定则默认7天,最大禁推为90天 ResumeTime *string `json:"resume_time,omitempty"` }
func (StreamForbiddenList) String ¶
func (o StreamForbiddenList) String() string
type StreamForbiddenSetting ¶
type StreamForbiddenSetting struct { // 直播播放域名或推流域名 Domain string `json:"domain"` // 流应用名称 AppName string `json:"app_name"` // 流名称 StreamName string `json:"stream_name"` // 恢复流时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间,不指定则默认7天,最大禁推为90天 ResumeTime *sdktime.SdkTime `json:"resume_time,omitempty"` }
func (StreamForbiddenSetting) String ¶
func (o StreamForbiddenSetting) String() string
type StreamTranscodingTemplate ¶
type StreamTranscodingTemplate struct { // 播放域名 Domain string `json:"domain"` // 应用名称。 默认为“live”,若您需要自定义应用名称,请先提交工单申请。 AppName string `json:"app_name"` // 视频质量信息 QualityInfo []QualityInfo `json:"quality_info"` }
func (StreamTranscodingTemplate) String ¶
func (o StreamTranscodingTemplate) String() string
type TrafficInfo ¶
type TrafficInfo struct { // 采样周期内的总流量,单位:byte Traffic int32 `json:"traffic"` // 流量数据采样周期起始时刻,UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ Timestamp *sdktime.SdkTime `json:"timestamp"` }
func (TrafficInfo) String ¶
func (o TrafficInfo) String() string
type UpdateStreamForbiddenRequest ¶
type UpdateStreamForbiddenRequest struct { SpecifyProject *string `json:"specify_project,omitempty"` Body *StreamForbiddenSetting `json:"body,omitempty"` }
Request Object
func (UpdateStreamForbiddenRequest) String ¶
func (o UpdateStreamForbiddenRequest) String() string
type UpdateStreamForbiddenResponse ¶
type UpdateStreamForbiddenResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateStreamForbiddenResponse) String ¶
func (o UpdateStreamForbiddenResponse) String() string
type UpdateTranscodingsTemplateRequest ¶
type UpdateTranscodingsTemplateRequest struct {
Body *StreamTranscodingTemplate `json:"body,omitempty"`
}
Request Object
func (UpdateTranscodingsTemplateRequest) String ¶
func (o UpdateTranscodingsTemplateRequest) String() string
type UpdateTranscodingsTemplateResponse ¶
type UpdateTranscodingsTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTranscodingsTemplateResponse) String ¶
func (o UpdateTranscodingsTemplateResponse) String() string
Source Files ¶
- model_app_quality_info.go
- model_bandwidth_info.go
- model_create_record_config_request.go
- model_create_record_config_response.go
- model_create_stream_forbidden_request.go
- model_create_stream_forbidden_response.go
- model_create_transcodings_template_request.go
- model_create_transcodings_template_response.go
- model_delete_record_config_request.go
- model_delete_record_config_response.go
- model_delete_stream_forbidden_request.go
- model_delete_stream_forbidden_response.go
- model_delete_transcodings_template_request.go
- model_delete_transcodings_template_response.go
- model_list_live_streams_online_request.go
- model_list_live_streams_online_response.go
- model_list_record_configs_request.go
- model_list_record_configs_response.go
- model_list_stream_forbidden_request.go
- model_list_stream_forbidden_response.go
- model_obs_file_addr.go
- model_online_info.go
- model_quality_info.go
- model_record_config_info.go
- model_show_bandwidth_request.go
- model_show_bandwidth_response.go
- model_show_online_users_request.go
- model_show_online_users_response.go
- model_show_traffic_request.go
- model_show_traffic_response.go
- model_show_transcodings_template_request.go
- model_show_transcodings_template_response.go
- model_stream_forbidden_list.go
- model_stream_forbidden_setting.go
- model_stream_transcoding_template.go
- model_traffic_info.go
- model_update_stream_forbidden_request.go
- model_update_stream_forbidden_response.go
- model_update_transcodings_template_request.go
- model_update_transcodings_template_response.go
- model_user_info.go
Click to show internal directories.
Click to hide internal directories.