apis

package
v1.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCustomLiveStreamQualityDetectionTemplateRequest added in v1.13.0

type AddCustomLiveStreamQualityDetectionTemplateRequest struct {
	core.JDCloudRequest

	/* 模板名称。长度不超过128个字符。UTF-8编码
	 */
	Template string `json:"template"`

	/* 检测项列表。取值范围:
	BlackScreen - 黑屏
	PureColor - 纯色
	ColorCast - 偏色
	FrozenFrame - 静帧
	Brightness - 亮度
	Contrast - 对比度
	*/
	Modules []string `json:"modules"`
}

func NewAddCustomLiveStreamQualityDetectionTemplateRequest added in v1.13.0

func NewAddCustomLiveStreamQualityDetectionTemplateRequest(
	template string,
	modules []string,
) *AddCustomLiveStreamQualityDetectionTemplateRequest

* param template: 模板名称。长度不超过128个字符。UTF-8编码 (Required)

  • param modules: 检测项列表。取值范围: BlackScreen - 黑屏 PureColor - 纯色 ColorCast - 偏色 FrozenFrame - 静帧 Brightness - 亮度 Contrast - 对比度

(Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddCustomLiveStreamQualityDetectionTemplateRequestWithAllParams added in v1.13.0

func NewAddCustomLiveStreamQualityDetectionTemplateRequestWithAllParams(
	template string,
	modules []string,
) *AddCustomLiveStreamQualityDetectionTemplateRequest

* param template: 模板名称。长度不超过128个字符。UTF-8编码 (Required)

  • param modules: 检测项列表。取值范围: BlackScreen - 黑屏 PureColor - 纯色 ColorCast - 偏色 FrozenFrame - 静帧 Brightness - 亮度 Contrast - 对比度

(Required)

func NewAddCustomLiveStreamQualityDetectionTemplateRequestWithoutParam added in v1.13.0

func NewAddCustomLiveStreamQualityDetectionTemplateRequestWithoutParam() *AddCustomLiveStreamQualityDetectionTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddCustomLiveStreamQualityDetectionTemplateRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddCustomLiveStreamQualityDetectionTemplateRequest) SetModules added in v1.13.0

param modules: 检测项列表。取值范围:
 BlackScreen - 黑屏
 PureColor - 纯色
 ColorCast - 偏色
 FrozenFrame - 静帧
 Brightness - 亮度
 Contrast - 对比度

(Required)

func (*AddCustomLiveStreamQualityDetectionTemplateRequest) SetTemplate added in v1.13.0

param template: 模板名称。长度不超过128个字符。UTF-8编码

(Required)

type AddCustomLiveStreamQualityDetectionTemplateResponse added in v1.13.0

type AddCustomLiveStreamQualityDetectionTemplateResponse struct {
	RequestID string                                            `json:"requestId"`
	Error     core.ErrorResponse                                `json:"error"`
	Result    AddCustomLiveStreamQualityDetectionTemplateResult `json:"result"`
}

type AddCustomLiveStreamQualityDetectionTemplateResult added in v1.13.0

type AddCustomLiveStreamQualityDetectionTemplateResult struct {
}

type AddCustomLiveStreamRecordTemplateRequest

type AddCustomLiveStreamRecordTemplateRequest struct {
	core.JDCloudRequest

	/* 自动录制周期
	- 取值: [15,360]
	- 单位: 分钟
	*/
	RecordPeriod int `json:"recordPeriod"`

	/* 存储桶
	 */
	SaveBucket string `json:"saveBucket"`

	/* endpoint
	(Optional) */
	SaveEndpoint *string `json:"saveEndpoint"`

	/* 录制文件格式:
	- 取值: ts,flv,mp4 (多种类型之间用;隔开)
	- 不区分大小写
	*/
	RecordFileType string `json:"recordFileType"`

	/* 录制模板自定义名称:
	- 取值要求:数字、大小写字母或短横线("-")、下划线("_"),
	  最大长度50个字符
	- <b>注意: 不能与已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddCustomLiveStreamRecordTemplateRequest

func NewAddCustomLiveStreamRecordTemplateRequest(
	recordPeriod int,
	saveBucket string,
	recordFileType string,
	template string,
) *AddCustomLiveStreamRecordTemplateRequest
  • param recordPeriod: 自动录制周期
  • 取值: [15,360]
  • 单位: 分钟 (Required)
  • param saveBucket: 存储桶 (Required)
  • param recordFileType: 录制文件格式:
  • 取值: ts,flv,mp4 (多种类型之间用;隔开)
  • 不区分大小写 (Required)
  • param template: 录制模板自定义名称:
  • 取值要求:数字、大小写字母或短横线("-")、下划线("_"), 最大长度50个字符
  • <b>注意: 不能与已定义命名重复</b> (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddCustomLiveStreamRecordTemplateRequestWithAllParams

func NewAddCustomLiveStreamRecordTemplateRequestWithAllParams(
	recordPeriod int,
	saveBucket string,
	saveEndpoint *string,
	recordFileType string,
	template string,
) *AddCustomLiveStreamRecordTemplateRequest
  • param recordPeriod: 自动录制周期
  • 取值: [15,360]
  • 单位: 分钟 (Required)
  • param saveBucket: 存储桶 (Required)
  • param saveEndpoint: endpoint (Optional)
  • param recordFileType: 录制文件格式:
  • 取值: ts,flv,mp4 (多种类型之间用;隔开)
  • 不区分大小写 (Required)
  • param template: 录制模板自定义名称:
  • 取值要求:数字、大小写字母或短横线("-")、下划线("_"), 最大长度50个字符
  • <b>注意: 不能与已定义命名重复</b> (Required)

func NewAddCustomLiveStreamRecordTemplateRequestWithoutParam

func NewAddCustomLiveStreamRecordTemplateRequestWithoutParam() *AddCustomLiveStreamRecordTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddCustomLiveStreamRecordTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddCustomLiveStreamRecordTemplateRequest) SetRecordFileType

func (r *AddCustomLiveStreamRecordTemplateRequest) SetRecordFileType(recordFileType string)
param recordFileType: 录制文件格式:

- 取值: ts,flv,mp4 (多种类型之间用;隔开) - 不区分大小写 (Required)

func (*AddCustomLiveStreamRecordTemplateRequest) SetRecordPeriod

func (r *AddCustomLiveStreamRecordTemplateRequest) SetRecordPeriod(recordPeriod int)
param recordPeriod: 自动录制周期

- 取值: [15,360] - 单位: 分钟 (Required)

func (*AddCustomLiveStreamRecordTemplateRequest) SetSaveBucket

func (r *AddCustomLiveStreamRecordTemplateRequest) SetSaveBucket(saveBucket string)
param saveBucket: 存储桶

(Required)

func (*AddCustomLiveStreamRecordTemplateRequest) SetSaveEndpoint

func (r *AddCustomLiveStreamRecordTemplateRequest) SetSaveEndpoint(saveEndpoint string)
param saveEndpoint: endpoint

(Optional)

func (*AddCustomLiveStreamRecordTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamRecordTemplateRequest) SetTemplate(template string)
param template: 录制模板自定义名称:
- 取值要求:数字、大小写字母或短横线("-")、下划线("_"),
  最大长度50个字符
- <b>注意: 不能与已定义命名重复</b>

(Required)

type AddCustomLiveStreamRecordTemplateResponse

type AddCustomLiveStreamRecordTemplateResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    AddCustomLiveStreamRecordTemplateResult `json:"result"`
}

type AddCustomLiveStreamRecordTemplateResult

type AddCustomLiveStreamRecordTemplateResult struct {
}

type AddCustomLiveStreamSnapshotTemplateRequest

type AddCustomLiveStreamSnapshotTemplateRequest struct {
	core.JDCloudRequest

	/* 截图格式
	- 取值: jpg, png
	- 不区分大小写
	*/
	Format string `json:"format"`

	/* 截图宽度
	- 取值: [8,8192]
	- 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图
	- 如果(width,height)都不设置,则按源流大小输出截图
	 (Optional) */
	Width *int `json:"width"`

	/* 截图高度
	- 取值: [8,8192]
	- 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图
	- 如果(width,height)都不设置,则按源流大小输出截图
	 (Optional) */
	Height *int `json:"height"`

	/* 截图与设定的宽高不匹配时的处理规则
	  1: 拉伸
	  2: 留黑
	  3: 留白
	  4: 高斯模糊
	- 1是按照设定宽高拉伸
	- 2,3,4是等比例的缩放多余或不足处按调置处理
	*/
	FillType int `json:"fillType"`

	/* 截图周期
	- 取值范围 [5,3600]
	- 单位: 秒
	*/
	SnapshotInterval int `json:"snapshotInterval"`

	/* 存储模式
	1: 覆盖存储
	2: 顺序存储
	*/
	SaveMode int `json:"saveMode"`

	/* 存储桶  */
	SaveBucket string `json:"saveBucket"`

	/* 存储地址 (Optional) */
	SaveEndpoint *string `json:"saveEndpoint"`

	/* 截图模板自定义名称:
	- 取值要求: 数字、大小写字母或短横线("-")、下划线("_"),
	  首尾不能有特殊字符("-")
	  最大长度50个字符
	- <b>注意: 不能与已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddCustomLiveStreamSnapshotTemplateRequest

func NewAddCustomLiveStreamSnapshotTemplateRequest(
	format string,
	fillType int,
	snapshotInterval int,
	saveMode int,
	saveBucket string,
	template string,
) *AddCustomLiveStreamSnapshotTemplateRequest
  • param format: 截图格式
  • 取值: jpg, png
  • 不区分大小写 (Required)
  • param fillType: 截图与设定的宽高不匹配时的处理规则 1: 拉伸 2: 留黑 3: 留白 4: 高斯模糊
  • 1是按照设定宽高拉伸
  • 2,3,4是等比例的缩放多余或不足处按调置处理 (Required)
  • param snapshotInterval: 截图周期
  • 取值范围 [5,3600]
  • 单位: 秒 (Required)
  • param saveMode: 存储模式 1: 覆盖存储 2: 顺序存储 (Required)
  • param saveBucket: 存储桶 (Required)
  • param template: 截图模板自定义名称:
  • 取值要求: 数字、大小写字母或短横线("-")、下划线("_"), 首尾不能有特殊字符("-") 最大长度50个字符
  • <b>注意: 不能与已定义命名重复</b> (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddCustomLiveStreamSnapshotTemplateRequestWithAllParams

func NewAddCustomLiveStreamSnapshotTemplateRequestWithAllParams(
	format string,
	width *int,
	height *int,
	fillType int,
	snapshotInterval int,
	saveMode int,
	saveBucket string,
	saveEndpoint *string,
	template string,
) *AddCustomLiveStreamSnapshotTemplateRequest
  • param format: 截图格式
  • 取值: jpg, png
  • 不区分大小写 (Required)
  • param width: 截图宽度
  • 取值: [8,8192]
  • 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图
  • 如果(width,height)都不设置,则按源流大小输出截图 (Optional)
  • param height: 截图高度
  • 取值: [8,8192]
  • 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图
  • 如果(width,height)都不设置,则按源流大小输出截图 (Optional)
  • param fillType: 截图与设定的宽高不匹配时的处理规则 1: 拉伸 2: 留黑 3: 留白 4: 高斯模糊
  • 1是按照设定宽高拉伸
  • 2,3,4是等比例的缩放多余或不足处按调置处理 (Required)
  • param snapshotInterval: 截图周期
  • 取值范围 [5,3600]
  • 单位: 秒 (Required)
  • param saveMode: 存储模式 1: 覆盖存储 2: 顺序存储 (Required)
  • param saveBucket: 存储桶 (Required)
  • param saveEndpoint: 存储地址 (Optional)
  • param template: 截图模板自定义名称:
  • 取值要求: 数字、大小写字母或短横线("-")、下划线("_"), 首尾不能有特殊字符("-") 最大长度50个字符
  • <b>注意: 不能与已定义命名重复</b> (Required)

func NewAddCustomLiveStreamSnapshotTemplateRequestWithoutParam

func NewAddCustomLiveStreamSnapshotTemplateRequestWithoutParam() *AddCustomLiveStreamSnapshotTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddCustomLiveStreamSnapshotTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetFillType

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetFillType(fillType int)
param fillType: 截图与设定的宽高不匹配时的处理规则
 1: 拉伸
 2: 留黑
 3: 留白
 4: 高斯模糊

- 1是按照设定宽高拉伸 - 2,3,4是等比例的缩放多余或不足处按调置处理 (Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetFormat

param format: 截图格式

- 取值: jpg, png - 不区分大小写 (Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetHeight

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetHeight(height int)
param height: 截图高度

- 取值: [8,8192] - 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图 - 如果(width,height)都不设置,则按源流大小输出截图 (Optional)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSaveBucket

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSaveBucket(saveBucket string)

param saveBucket: 存储桶(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSaveEndpoint

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSaveEndpoint(saveEndpoint string)

param saveEndpoint: 存储地址(Optional)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSaveMode

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSaveMode(saveMode int)
param saveMode: 存储模式
 1: 覆盖存储
 2: 顺序存储

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSnapshotInterval

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSnapshotInterval(snapshotInterval int)
param snapshotInterval: 截图周期

- 取值范围 [5,3600] - 单位: 秒 (Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetTemplate(template string)
param template: 截图模板自定义名称:
  • 取值要求: 数字、大小写字母或短横线("-")、下划线("_"), 首尾不能有特殊字符("-") 最大长度50个字符
  • <b>注意: 不能与已定义命名重复</b>

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetWidth

param width: 截图宽度

- 取值: [8,8192] - 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出截图 - 如果(width,height)都不设置,则按源流大小输出截图 (Optional)

type AddCustomLiveStreamSnapshotTemplateResponse

type AddCustomLiveStreamSnapshotTemplateResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    AddCustomLiveStreamSnapshotTemplateResult `json:"result"`
}

type AddCustomLiveStreamSnapshotTemplateResult

type AddCustomLiveStreamSnapshotTemplateResult struct {
}

type AddCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

type AddCustomLiveStreamTranscodeTemplateRequest struct {
	core.JDCloudRequest

	/* 转码模板名称
	- 长度范围:[1,50]
	 (Optional) */
	TemplateName *string `json:"templateName"`

	/* 视频编码格式,取值:h264,h265,默认h264
	- h264时,分辨率小于等于1080p
	- h265时,分辨率小于等于4k
	 (Optional) */
	VideoCodec *string `json:"videoCodec"`

	/* 转码输出的码率值
	- 取值范围: [128,15000]
	- 单位: kpbs
	*/
	VideoCodeRate int `json:"videoCodeRate"`

	/* 转码输出的帧率值
	- 取值:[1,30]
	*/
	VideoFrameRate string `json:"videoFrameRate"`

	/* 转码输出视频宽度
	- 取值: [128,4096]
	- 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码
	- 如果(width,height)都不设置,则按源流大小输出转码
	 (Optional) */
	Width *int `json:"width"`

	/* 转码输出视频高度
	- 取值: [128,4096]
	- 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码
	- 如果(width,height)都不设置,则按源流大小输出转码
	 (Optional) */
	Height *int `json:"height"`

	/* 转码模板(转码流输出后缀)
	- 取值要求:数字、大小写字母或短横线("-"),必须以数字或字母作为开头和结尾,长度不超过50字符
	- <b>注意: 不能与系统的标准的转码模板和当前用户已自定义命名重复</b>
	- 系统标准转码模板
	  ld (h.264/640*360/15f)
	  sd (h.264/960*540/25f)
	  hd (h.264/1280*720/25f)
	  shd (h.264/1920*1080/30f)
	  ld-265 (h.265/640*360/15f)
	  sd-265 (h.265/960*540/25f)
	  hd-265 (h.265/1280*720/25f)
	  shd-265 (h.265/1920*1080/30f)
	*/
	Template string `json:"template"`

	/* 转码输出音频编码格式
	- 取值: aac、mp3
	- 不区分大小写
	*/
	AudioCodec string `json:"audioCodec"`

	/* 转码输出音频格式
	- 取值: aac_lc,aac_low,aac_he,aac_he_v2; 默认:aac_he
	- 不区分大小写
	 (Optional) */
	AudioFormat *string `json:"audioFormat"`

	/* 转码输出音频采样率
	- 取值: [44100,48000]
	*/
	AudioSampleRate int `json:"audioSampleRate"`

	/* 转码输出音频通道数
	1: 单声道
	2: 双声道
	*/
	AudioChannel int `json:"audioChannel"`

	/* 转码输出音频码率
	- 取值: [16,128]
	- 单位: kbps
	*/
	AudioCodeRate int `json:"audioCodeRate"`

	/* 京享超清开关
	- 取值: jdchd-1.0,off
	- 京享超清暂时只支持h.264
	 (Optional) */
	Jdchd *string `json:"jdchd"`

	/* 舒适音频
	- 取值: on,off
	 (Optional) */
	AudioComfort *string `json:"audioComfort"`
}

func NewAddCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewAddCustomLiveStreamTranscodeTemplateRequest(
	videoCodeRate int,
	videoFrameRate string,
	template string,
	audioCodec string,
	audioSampleRate int,
	audioChannel int,
	audioCodeRate int,
) *AddCustomLiveStreamTranscodeTemplateRequest
  • param videoCodeRate: 转码输出的码率值
  • 取值范围: [128,15000]
  • 单位: kpbs (Required)
  • param videoFrameRate: 转码输出的帧率值
  • 取值:[1,30] (Required)
  • param template: 转码模板(转码流输出后缀)
  • 取值要求:数字、大小写字母或短横线("-"),必须以数字或字母作为开头和结尾,长度不超过50字符
  • <b>注意: 不能与系统的标准的转码模板和当前用户已自定义命名重复</b>
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required)
  • param audioCodec: 转码输出音频编码格式
  • 取值: aac、mp3
  • 不区分大小写 (Required)
  • param audioSampleRate: 转码输出音频采样率
  • 取值: [44100,48000] (Required)
  • param audioChannel: 转码输出音频通道数 1: 单声道 2: 双声道 (Required)
  • param audioCodeRate: 转码输出音频码率
  • 取值: [16,128]
  • 单位: kbps (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddCustomLiveStreamTranscodeTemplateRequestWithAllParams added in v1.4.0

func NewAddCustomLiveStreamTranscodeTemplateRequestWithAllParams(
	templateName *string,
	videoCodec *string,
	videoCodeRate int,
	videoFrameRate string,
	width *int,
	height *int,
	template string,
	audioCodec string,
	audioFormat *string,
	audioSampleRate int,
	audioChannel int,
	audioCodeRate int,
	jdchd *string,
	audioComfort *string,
) *AddCustomLiveStreamTranscodeTemplateRequest
  • param templateName: 转码模板名称
  • 长度范围:[1,50] (Optional)
  • param videoCodec: 视频编码格式,取值:h264,h265,默认h264
  • h264时,分辨率小于等于1080p
  • h265时,分辨率小于等于4k (Optional)
  • param videoCodeRate: 转码输出的码率值
  • 取值范围: [128,15000]
  • 单位: kpbs (Required)
  • param videoFrameRate: 转码输出的帧率值
  • 取值:[1,30] (Required)
  • param width: 转码输出视频宽度
  • 取值: [128,4096]
  • 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码
  • 如果(width,height)都不设置,则按源流大小输出转码 (Optional)
  • param height: 转码输出视频高度
  • 取值: [128,4096]
  • 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码
  • 如果(width,height)都不设置,则按源流大小输出转码 (Optional)
  • param template: 转码模板(转码流输出后缀)
  • 取值要求:数字、大小写字母或短横线("-"),必须以数字或字母作为开头和结尾,长度不超过50字符
  • <b>注意: 不能与系统的标准的转码模板和当前用户已自定义命名重复</b>
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required)
  • param audioCodec: 转码输出音频编码格式
  • 取值: aac、mp3
  • 不区分大小写 (Required)
  • param audioFormat: 转码输出音频格式
  • 取值: aac_lc,aac_low,aac_he,aac_he_v2; 默认:aac_he
  • 不区分大小写 (Optional)
  • param audioSampleRate: 转码输出音频采样率
  • 取值: [44100,48000] (Required)
  • param audioChannel: 转码输出音频通道数 1: 单声道 2: 双声道 (Required)
  • param audioCodeRate: 转码输出音频码率
  • 取值: [16,128]
  • 单位: kbps (Required)
  • param jdchd: 京享超清开关
  • 取值: jdchd-1.0,off
  • 京享超清暂时只支持h.264 (Optional)
  • param audioComfort: 舒适音频
  • 取值: on,off (Optional)

func NewAddCustomLiveStreamTranscodeTemplateRequestWithoutParam added in v1.4.0

func NewAddCustomLiveStreamTranscodeTemplateRequestWithoutParam() *AddCustomLiveStreamTranscodeTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddCustomLiveStreamTranscodeTemplateRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioChannel added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioChannel(audioChannel int)
param audioChannel: 转码输出音频通道数
 1: 单声道
 2: 双声道

(Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioCodeRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioCodeRate(audioCodeRate int)
param audioCodeRate: 转码输出音频码率

- 取值: [16,128] - 单位: kbps (Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioCodec added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioCodec(audioCodec string)
param audioCodec: 转码输出音频编码格式

- 取值: aac、mp3 - 不区分大小写 (Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioComfort added in v1.10.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioComfort(audioComfort string)
param audioComfort: 舒适音频

- 取值: on,off (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioFormat added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioFormat(audioFormat string)
param audioFormat: 转码输出音频格式

- 取值: aac_lc,aac_low,aac_he,aac_he_v2; 默认:aac_he - 不区分大小写 (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetAudioSampleRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioSampleRate(audioSampleRate int)
param audioSampleRate: 转码输出音频采样率

- 取值: [44100,48000] (Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetHeight added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetHeight(height int)
param height: 转码输出视频高度

- 取值: [128,4096] - 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码 - 如果(width,height)都不设置,则按源流大小输出转码 (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetJdchd added in v1.10.0

param jdchd: 京享超清开关

- 取值: jdchd-1.0,off - 京享超清暂时只支持h.264 (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetTemplate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetTemplate(template string)
param template: 转码模板(转码流输出后缀)
  • 取值要求:数字、大小写字母或短横线("-"),必须以数字或字母作为开头和结尾,长度不超过50字符
  • <b>注意: 不能与系统的标准的转码模板和当前用户已自定义命名重复</b>
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f)

(Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetTemplateName added in v1.8.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetTemplateName(templateName string)
param templateName: 转码模板名称

- 长度范围:[1,50] (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodeRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodeRate(videoCodeRate int)
param videoCodeRate: 转码输出的码率值

- 取值范围: [128,15000] - 单位: kpbs (Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodec added in v1.10.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodec(videoCodec string)
param videoCodec: 视频编码格式,取值:h264,h265,默认h264

- h264时,分辨率小于等于1080p - h265时,分辨率小于等于4k (Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetVideoFrameRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetVideoFrameRate(videoFrameRate string)
param videoFrameRate: 转码输出的帧率值

- 取值:[1,30] (Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetWidth added in v1.4.0

param width: 转码输出视频宽度

- 取值: [128,4096] - 如果(width,height)只设置其中之一,则按所设置参数项等比缩放另一项输出转码 - 如果(width,height)都不设置,则按源流大小输出转码 (Optional)

type AddCustomLiveStreamTranscodeTemplateResponse added in v1.4.0

type AddCustomLiveStreamTranscodeTemplateResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    AddCustomLiveStreamTranscodeTemplateResult `json:"result"`
}

type AddCustomLiveStreamTranscodeTemplateResult added in v1.4.0

type AddCustomLiveStreamTranscodeTemplateResult struct {
}

type AddCustomLiveStreamWatermarkTemplateRequest

type AddCustomLiveStreamWatermarkTemplateRequest struct {
	core.JDCloudRequest

	/* 水印位置
	- 取值范围:左上:1,右上:3, 左下:7,右下:9,默认:1
	 (Optional) */
	Position *int `json:"position"`

	/* 偏移量单位
	- 取值: percent,pixel
	- percent:按百分比; pixel:像素 默认:pixel
	 (Optional) */
	OffsetUnit *string `json:"offsetUnit"`

	/* x轴偏移量
	- 取值范围
	  percent: (0,100]
	  pixel: (0,1920]
	*/
	OffsetX int `json:"offsetX"`

	/* y轴偏移量:
	- 取值范围
	  percent: (0,100]
	  pixel: (0,1920]
	*/
	OffsetY int `json:"offsetY"`

	/* 水印大小单位
	- 取值: percent,pixel
	- percent:按百分比; pixel:像素 默认:pixel
	 (Optional) */
	SizeUnit *string `json:"sizeUnit"`

	/* 水印宽度:
	- 取值范围
	  percent: (0,100]
	  pixel: (0,1920]
	*/
	Width int `json:"width"`

	/* 水印高度:
	- 取值范围
	  percent: (0,100]
	  pixel: (0,1920]
	*/
	Height int `json:"height"`

	/* 自定义水印模板名称
	-&ensp;取值要求: 数字、大小写字母、短横线("-")、下划线("_"),
	&ensp;&ensp;首尾不能有特殊字符("-"),
	&ensp;&ensp;不超过50字符,utf-8格式
	-&ensp;<b>注意: 不能与已定义命名重复</b>
	*/
	Template string `json:"template"`

	/* 创建上传任务时返回的uploadId参数,当通过接口上传水印图片时,uploadId必填
	(Optional) */
	UploadId *string `json:"uploadId"`

	/* 水印地址<br>-&ensp;以&ensp;http:// 开头,可公开访问地址<br>  */
	Url string `json:"url"`
}

func NewAddCustomLiveStreamWatermarkTemplateRequest

func NewAddCustomLiveStreamWatermarkTemplateRequest(
	offsetX int,
	offsetY int,
	width int,
	height int,
	template string,
	url string,
) *AddCustomLiveStreamWatermarkTemplateRequest
  • param offsetX: x轴偏移量
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param offsetY: y轴偏移量:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param width: 水印宽度:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param height: 水印高度:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param template: 自定义水印模板名称

-&ensp;取值要求: 数字、大小写字母、短横线("-")、下划线("_"), &ensp;&ensp;首尾不能有特殊字符("-"), &ensp;&ensp;不超过50字符,utf-8格式 -&ensp;<b>注意: 不能与已定义命名重复</b>

(Required)
* param url: 水印地址<br>-&ensp;以&ensp;http:// 开头,可公开访问地址<br> (Required)
*
* @Deprecated, not compatible when mandatory parameters changed

func NewAddCustomLiveStreamWatermarkTemplateRequestWithAllParams

func NewAddCustomLiveStreamWatermarkTemplateRequestWithAllParams(
	position *int,
	offsetUnit *string,
	offsetX int,
	offsetY int,
	sizeUnit *string,
	width int,
	height int,
	template string,
	uploadId *string,
	url string,
) *AddCustomLiveStreamWatermarkTemplateRequest
  • param position: 水印位置
  • 取值范围:左上:1,右上:3, 左下:7,右下:9,默认:1 (Optional)
  • param offsetUnit: 偏移量单位
  • 取值: percent,pixel
  • percent:按百分比; pixel:像素 默认:pixel (Optional)
  • param offsetX: x轴偏移量
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param offsetY: y轴偏移量:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param sizeUnit: 水印大小单位
  • 取值: percent,pixel
  • percent:按百分比; pixel:像素 默认:pixel (Optional)
  • param width: 水印宽度:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param height: 水印高度:
  • 取值范围 percent: (0,100] pixel: (0,1920] (Required)
  • param template: 自定义水印模板名称

-&ensp;取值要求: 数字、大小写字母、短横线("-")、下划线("_"), &ensp;&ensp;首尾不能有特殊字符("-"), &ensp;&ensp;不超过50字符,utf-8格式 -&ensp;<b>注意: 不能与已定义命名重复</b>

(Required)
* param uploadId: 创建上传任务时返回的uploadId参数,当通过接口上传水印图片时,uploadId必填
(Optional)
* param url: 水印地址<br>-&ensp;以&ensp;http:// 开头,可公开访问地址<br> (Required)

func NewAddCustomLiveStreamWatermarkTemplateRequestWithoutParam

func NewAddCustomLiveStreamWatermarkTemplateRequestWithoutParam() *AddCustomLiveStreamWatermarkTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddCustomLiveStreamWatermarkTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetHeight

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetHeight(height int)
param height: 水印高度:
  • 取值范围 percent: (0,100] pixel: (0,1920]

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetUnit added in v1.10.0

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetUnit(offsetUnit string)
param offsetUnit: 偏移量单位

- 取值: percent,pixel - percent:按百分比; pixel:像素 默认:pixel (Optional)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetX

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetX(offsetX int)
param offsetX: x轴偏移量
  • 取值范围 percent: (0,100] pixel: (0,1920]

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetY

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetY(offsetY int)
param offsetY: y轴偏移量:
  • 取值范围 percent: (0,100] pixel: (0,1920]

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetPosition added in v1.10.0

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetPosition(position int)
param position: 水印位置

- 取值范围:左上:1,右上:3, 左下:7,右下:9,默认:1 (Optional)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetSizeUnit added in v1.10.0

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetSizeUnit(sizeUnit string)
param sizeUnit: 水印大小单位

- 取值: percent,pixel - percent:按百分比; pixel:像素 默认:pixel (Optional)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetTemplate(template string)
param template: 自定义水印模板名称

-&ensp;取值要求: 数字、大小写字母、短横线("-")、下划线("_"), &ensp;&ensp;首尾不能有特殊字符("-"), &ensp;&ensp;不超过50字符,utf-8格式 -&ensp;<b>注意: 不能与已定义命名重复</b> (Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetUploadId added in v1.8.0

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetUploadId(uploadId string)
param uploadId: 创建上传任务时返回的uploadId参数,当通过接口上传水印图片时,uploadId必填

(Optional)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetUrl

param url: 水印地址<br>-&ensp;以&ensp;http:// 开头,可公开访问地址<br>(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetWidth

param width: 水印宽度:
  • 取值范围 percent: (0,100] pixel: (0,1920]

(Required)

type AddCustomLiveStreamWatermarkTemplateResponse

type AddCustomLiveStreamWatermarkTemplateResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    AddCustomLiveStreamWatermarkTemplateResult `json:"result"`
}

type AddCustomLiveStreamWatermarkTemplateResult

type AddCustomLiveStreamWatermarkTemplateResult struct {
}

type AddLiveAppRequest

type AddLiveAppRequest struct {
	core.JDCloudRequest

	/* 直播的推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称
	- 取值: 数字字母中划线("-")下划线("_") 50个字符以内
	*/
	AppName string `json:"appName"`
}

func NewAddLiveAppRequest

func NewAddLiveAppRequest(
	publishDomain string,
	appName string,
) *AddLiveAppRequest
  • param publishDomain: 直播的推流域名 (Required)
  • param appName: 应用名称
  • 取值: 数字字母中划线("-")下划线("_") 50个字符以内 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveAppRequestWithAllParams

func NewAddLiveAppRequestWithAllParams(
	publishDomain string,
	appName string,
) *AddLiveAppRequest
  • param publishDomain: 直播的推流域名 (Required)
  • param appName: 应用名称
  • 取值: 数字字母中划线("-")下划线("_") 50个字符以内 (Required)

func NewAddLiveAppRequestWithoutParam

func NewAddLiveAppRequestWithoutParam() *AddLiveAppRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveAppRequest) GetRegionId

func (r AddLiveAppRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveAppRequest) SetAppName

func (r *AddLiveAppRequest) SetAppName(appName string)
param appName: 应用名称

- 取值: 数字字母中划线("-")下划线("_") 50个字符以内 (Required)

func (*AddLiveAppRequest) SetPublishDomain

func (r *AddLiveAppRequest) SetPublishDomain(publishDomain string)

param publishDomain: 直播的推流域名(Required)

type AddLiveAppResponse

type AddLiveAppResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    AddLiveAppResult   `json:"result"`
}

type AddLiveAppResult

type AddLiveAppResult struct {
}

type AddLiveDomainRequest

type AddLiveDomainRequest struct {
	core.JDCloudRequest

	/* 直播的推流域名
	- 不支持泛域名
	*/
	PublishDomain string `json:"publishDomain"`

	/* 直播的播放域名
	- 不支持泛域名
	*/
	PlayDomain string `json:"playDomain"`
}

func NewAddLiveDomainRequest

func NewAddLiveDomainRequest(
	publishDomain string,
	playDomain string,
) *AddLiveDomainRequest
  • param publishDomain: 直播的推流域名
  • 不支持泛域名 (Required)
  • param playDomain: 直播的播放域名
  • 不支持泛域名 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveDomainRequestWithAllParams

func NewAddLiveDomainRequestWithAllParams(
	publishDomain string,
	playDomain string,
) *AddLiveDomainRequest
  • param publishDomain: 直播的推流域名
  • 不支持泛域名 (Required)
  • param playDomain: 直播的播放域名
  • 不支持泛域名 (Required)

func NewAddLiveDomainRequestWithoutParam

func NewAddLiveDomainRequestWithoutParam() *AddLiveDomainRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveDomainRequest) GetRegionId

func (r AddLiveDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveDomainRequest) SetPlayDomain

func (r *AddLiveDomainRequest) SetPlayDomain(playDomain string)
param playDomain: 直播的播放域名

- 不支持泛域名 (Required)

func (*AddLiveDomainRequest) SetPublishDomain

func (r *AddLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 直播的推流域名

- 不支持泛域名 (Required)

type AddLiveDomainResponse

type AddLiveDomainResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    AddLiveDomainResult `json:"result"`
}

type AddLiveDomainResult

type AddLiveDomainResult struct {
}

type AddLiveRecordTaskRequest added in v1.4.0

type AddLiveRecordTaskRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`

	/* 录制时间集合
	- 最大支持10段,多段合并成一个文件
	- 多段时间跨度最小不能小于10s
	- 多段时间跨度最大不能超过8小时
	*/
	RecordTimes []live.RecordTime `json:"recordTimes"`

	/* 存储桶  */
	SaveBucket string `json:"saveBucket"`

	/* 存储地址  */
	SaveEndpoint string `json:"saveEndpoint"`

	/* 录制文件类型:
	- 取值: ts,flv,mp4 (多种类型之间用;隔开)
	- 不区分大小写
	*/
	RecordFileType string `json:"recordFileType"`

	/* 录制文件存储Object:
	- 默认: /record/{Date}/{ServerId}/{AppName}/{StreamName}/{StartTime}_{EndTime}
	 (Optional) */
	SaveObject *string `json:"saveObject"`

	/* 打点录制任务外部id(可传入您的id,在回调时会在该字段返回)
	(Optional) */
	TaskExternalId *string `json:"taskExternalId"`
}

func NewAddLiveRecordTaskRequest added in v1.4.0

func NewAddLiveRecordTaskRequest(
	publishDomain string,
	appName string,
	streamName string,
	recordTimes []live.RecordTime,
	saveBucket string,
	saveEndpoint string,
	recordFileType string,
) *AddLiveRecordTaskRequest
  • param publishDomain: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param recordTimes: 录制时间集合
  • 最大支持10段,多段合并成一个文件
  • 多段时间跨度最小不能小于10s
  • 多段时间跨度最大不能超过8小时 (Required)
  • param saveBucket: 存储桶 (Required)
  • param saveEndpoint: 存储地址 (Required)
  • param recordFileType: 录制文件类型:
  • 取值: ts,flv,mp4 (多种类型之间用;隔开)
  • 不区分大小写 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveRecordTaskRequestWithAllParams added in v1.4.0

func NewAddLiveRecordTaskRequestWithAllParams(
	publishDomain string,
	appName string,
	streamName string,
	recordTimes []live.RecordTime,
	saveBucket string,
	saveEndpoint string,
	recordFileType string,
	saveObject *string,
	taskExternalId *string,
) *AddLiveRecordTaskRequest
  • param publishDomain: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param recordTimes: 录制时间集合
  • 最大支持10段,多段合并成一个文件
  • 多段时间跨度最小不能小于10s
  • 多段时间跨度最大不能超过8小时 (Required)
  • param saveBucket: 存储桶 (Required)
  • param saveEndpoint: 存储地址 (Required)
  • param recordFileType: 录制文件类型:
  • 取值: ts,flv,mp4 (多种类型之间用;隔开)
  • 不区分大小写 (Required)
  • param saveObject: 录制文件存储Object:
  • 默认: /record/{Date}/{ServerId}/{AppName}/{StreamName}/{StartTime}_{EndTime} (Optional)
  • param taskExternalId: 打点录制任务外部id(可传入您的id,在回调时会在该字段返回) (Optional)

func NewAddLiveRecordTaskRequestWithoutParam added in v1.4.0

func NewAddLiveRecordTaskRequestWithoutParam() *AddLiveRecordTaskRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveRecordTaskRequest) GetRegionId added in v1.4.0

func (r AddLiveRecordTaskRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveRecordTaskRequest) SetAppName added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveRecordTaskRequest) SetPublishDomain added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveRecordTaskRequest) SetRecordFileType added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetRecordFileType(recordFileType string)
param recordFileType: 录制文件类型:

- 取值: ts,flv,mp4 (多种类型之间用;隔开) - 不区分大小写 (Required)

func (*AddLiveRecordTaskRequest) SetRecordTimes added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetRecordTimes(recordTimes []live.RecordTime)
param recordTimes: 录制时间集合

- 最大支持10段,多段合并成一个文件 - 多段时间跨度最小不能小于10s - 多段时间跨度最大不能超过8小时 (Required)

func (*AddLiveRecordTaskRequest) SetSaveBucket added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetSaveBucket(saveBucket string)

param saveBucket: 存储桶(Required)

func (*AddLiveRecordTaskRequest) SetSaveEndpoint added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetSaveEndpoint(saveEndpoint string)

param saveEndpoint: 存储地址(Required)

func (*AddLiveRecordTaskRequest) SetSaveObject added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetSaveObject(saveObject string)
param saveObject: 录制文件存储Object:

- 默认: /record/{Date}/{ServerId}/{AppName}/{StreamName}/{StartTime}_{EndTime} (Optional)

func (*AddLiveRecordTaskRequest) SetStreamName added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

func (*AddLiveRecordTaskRequest) SetTaskExternalId added in v1.7.0

func (r *AddLiveRecordTaskRequest) SetTaskExternalId(taskExternalId string)
param taskExternalId: 打点录制任务外部id(可传入您的id,在回调时会在该字段返回)

(Optional)

type AddLiveRecordTaskResponse added in v1.4.0

type AddLiveRecordTaskResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    AddLiveRecordTaskResult `json:"result"`
}

type AddLiveRecordTaskResult added in v1.4.0

type AddLiveRecordTaskResult struct {
}

type AddLiveRestartDomainRequest added in v1.10.0

type AddLiveRestartDomainRequest struct {
	core.JDCloudRequest

	/* 直播的播放域名
	- 回看域名所对应的原播放域名,新建的回看域名将绑定到此播放域名下
	*/
	PlayDomain string `json:"playDomain"`

	/* 直播回看域名
	- 直播域名必须已经备案完成
	*/
	RestartDomain string `json:"restartDomain"`
}

func NewAddLiveRestartDomainRequest added in v1.10.0

func NewAddLiveRestartDomainRequest(
	playDomain string,
	restartDomain string,
) *AddLiveRestartDomainRequest
  • param playDomain: 直播的播放域名
  • 回看域名所对应的原播放域名,新建的回看域名将绑定到此播放域名下 (Required)
  • param restartDomain: 直播回看域名
  • 直播域名必须已经备案完成 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveRestartDomainRequestWithAllParams added in v1.10.0

func NewAddLiveRestartDomainRequestWithAllParams(
	playDomain string,
	restartDomain string,
) *AddLiveRestartDomainRequest
  • param playDomain: 直播的播放域名
  • 回看域名所对应的原播放域名,新建的回看域名将绑定到此播放域名下 (Required)
  • param restartDomain: 直播回看域名
  • 直播域名必须已经备案完成 (Required)

func NewAddLiveRestartDomainRequestWithoutParam added in v1.10.0

func NewAddLiveRestartDomainRequestWithoutParam() *AddLiveRestartDomainRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveRestartDomainRequest) GetRegionId added in v1.10.0

func (r AddLiveRestartDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveRestartDomainRequest) SetPlayDomain added in v1.10.0

func (r *AddLiveRestartDomainRequest) SetPlayDomain(playDomain string)
param playDomain: 直播的播放域名

- 回看域名所对应的原播放域名,新建的回看域名将绑定到此播放域名下 (Required)

func (*AddLiveRestartDomainRequest) SetRestartDomain added in v1.10.0

func (r *AddLiveRestartDomainRequest) SetRestartDomain(restartDomain string)
param restartDomain: 直播回看域名

- 直播域名必须已经备案完成 (Required)

type AddLiveRestartDomainResponse added in v1.10.0

type AddLiveRestartDomainResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    AddLiveRestartDomainResult `json:"result"`
}

type AddLiveRestartDomainResult added in v1.10.0

type AddLiveRestartDomainResult struct {
}

type AddLiveStreamAppQualityDetectionRequest added in v1.13.0

type AddLiveStreamAppQualityDetectionRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 质量检测模板
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamAppQualityDetectionRequest added in v1.13.0

func NewAddLiveStreamAppQualityDetectionRequest(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppQualityDetectionRequestWithAllParams added in v1.13.0

func NewAddLiveStreamAppQualityDetectionRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 质量检测模板 (Required)

func NewAddLiveStreamAppQualityDetectionRequestWithoutParam added in v1.13.0

func NewAddLiveStreamAppQualityDetectionRequestWithoutParam() *AddLiveStreamAppQualityDetectionRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamAppQualityDetectionRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamAppQualityDetectionRequest) SetAppName added in v1.13.0

func (r *AddLiveStreamAppQualityDetectionRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveStreamAppQualityDetectionRequest) SetPublishDomain added in v1.13.0

func (r *AddLiveStreamAppQualityDetectionRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamAppQualityDetectionRequest) SetTemplate added in v1.13.0

func (r *AddLiveStreamAppQualityDetectionRequest) SetTemplate(template string)
param template: 质量检测模板

(Required)

type AddLiveStreamAppQualityDetectionResponse added in v1.13.0

type AddLiveStreamAppQualityDetectionResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    AddLiveStreamAppQualityDetectionResult `json:"result"`
}

type AddLiveStreamAppQualityDetectionResult added in v1.13.0

type AddLiveStreamAppQualityDetectionResult struct {
}

type AddLiveStreamAppRecordRequest

type AddLiveStreamAppRecordRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 录制模版  */
	Template string `json:"template"`
}

func NewAddLiveStreamAppRecordRequest

func NewAddLiveStreamAppRecordRequest(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppRecordRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 录制模版 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppRecordRequestWithAllParams

func NewAddLiveStreamAppRecordRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppRecordRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 录制模版 (Required)

func NewAddLiveStreamAppRecordRequestWithoutParam

func NewAddLiveStreamAppRecordRequestWithoutParam() *AddLiveStreamAppRecordRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamAppRecordRequest) GetRegionId

func (r AddLiveStreamAppRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamAppRecordRequest) SetAppName

func (r *AddLiveStreamAppRecordRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveStreamAppRecordRequest) SetPublishDomain

func (r *AddLiveStreamAppRecordRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamAppRecordRequest) SetTemplate

func (r *AddLiveStreamAppRecordRequest) SetTemplate(template string)

param template: 录制模版(Required)

type AddLiveStreamAppRecordResponse

type AddLiveStreamAppRecordResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    AddLiveStreamAppRecordResult `json:"result"`
}

type AddLiveStreamAppRecordResult

type AddLiveStreamAppRecordResult struct {
}

type AddLiveStreamAppSnapshotRequest

type AddLiveStreamAppSnapshotRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 截图模板
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamAppSnapshotRequest

func NewAddLiveStreamAppSnapshotRequest(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppSnapshotRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppSnapshotRequestWithAllParams

func NewAddLiveStreamAppSnapshotRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppSnapshotRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 截图模板 (Required)

func NewAddLiveStreamAppSnapshotRequestWithoutParam

func NewAddLiveStreamAppSnapshotRequestWithoutParam() *AddLiveStreamAppSnapshotRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamAppSnapshotRequest) GetRegionId

func (r AddLiveStreamAppSnapshotRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamAppSnapshotRequest) SetAppName

func (r *AddLiveStreamAppSnapshotRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveStreamAppSnapshotRequest) SetPublishDomain

func (r *AddLiveStreamAppSnapshotRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamAppSnapshotRequest) SetTemplate

func (r *AddLiveStreamAppSnapshotRequest) SetTemplate(template string)
param template: 截图模板

(Required)

type AddLiveStreamAppSnapshotResponse

type AddLiveStreamAppSnapshotResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    AddLiveStreamAppSnapshotResult `json:"result"`
}

type AddLiveStreamAppSnapshotResult

type AddLiveStreamAppSnapshotResult struct {
}

type AddLiveStreamAppTranscodeRequest

type AddLiveStreamAppTranscodeRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 转码模版
	- 取值范围: 系统标准转码模板, 用户自定义转码模板
	- 系统标准转码模板
	  ld (h.264/640*360/15f)
	  sd (h.264/960*540/25f)
	  hd (h.264/1280*720/25f)
	  shd (h.264/1920*1080/30f)
	  ld-265 (h.265/640*360/15f)
	  sd-265 (h.265/960*540/25f)
	  hd-265 (h.265/1280*720/25f)
	  shd-265 (h.265/1920*1080/30f)
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamAppTranscodeRequest

func NewAddLiveStreamAppTranscodeRequest(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppTranscodeRequest
  • param publishDomain: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppTranscodeRequestWithAllParams

func NewAddLiveStreamAppTranscodeRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppTranscodeRequest
  • param publishDomain: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required)

func NewAddLiveStreamAppTranscodeRequestWithoutParam

func NewAddLiveStreamAppTranscodeRequestWithoutParam() *AddLiveStreamAppTranscodeRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamAppTranscodeRequest) GetRegionId

func (r AddLiveStreamAppTranscodeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamAppTranscodeRequest) SetAppName

func (r *AddLiveStreamAppTranscodeRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveStreamAppTranscodeRequest) SetPublishDomain

func (r *AddLiveStreamAppTranscodeRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamAppTranscodeRequest) SetTemplate

func (r *AddLiveStreamAppTranscodeRequest) SetTemplate(template string)
param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f)

(Required)

type AddLiveStreamAppTranscodeResponse

type AddLiveStreamAppTranscodeResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    AddLiveStreamAppTranscodeResult `json:"result"`
}

type AddLiveStreamAppTranscodeResult

type AddLiveStreamAppTranscodeResult struct {
}

type AddLiveStreamAppWatermarkRequest

type AddLiveStreamAppWatermarkRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 水印模板名称
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamAppWatermarkRequest

func NewAddLiveStreamAppWatermarkRequest(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppWatermarkRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 水印模板名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppWatermarkRequestWithAllParams

func NewAddLiveStreamAppWatermarkRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *AddLiveStreamAppWatermarkRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 水印模板名称 (Required)

func NewAddLiveStreamAppWatermarkRequestWithoutParam

func NewAddLiveStreamAppWatermarkRequestWithoutParam() *AddLiveStreamAppWatermarkRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamAppWatermarkRequest) GetRegionId

func (r AddLiveStreamAppWatermarkRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamAppWatermarkRequest) SetAppName

func (r *AddLiveStreamAppWatermarkRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*AddLiveStreamAppWatermarkRequest) SetPublishDomain

func (r *AddLiveStreamAppWatermarkRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamAppWatermarkRequest) SetTemplate

func (r *AddLiveStreamAppWatermarkRequest) SetTemplate(template string)
param template: 水印模板名称

(Required)

type AddLiveStreamAppWatermarkResponse

type AddLiveStreamAppWatermarkResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    AddLiveStreamAppWatermarkResult `json:"result"`
}

type AddLiveStreamAppWatermarkResult

type AddLiveStreamAppWatermarkResult struct {
}

type AddLiveStreamDomainQualityDetectionRequest added in v1.13.0

type AddLiveStreamDomainQualityDetectionRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 质量检测模板
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamDomainQualityDetectionRequest added in v1.13.0

func NewAddLiveStreamDomainQualityDetectionRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamDomainQualityDetectionRequestWithAllParams added in v1.13.0

func NewAddLiveStreamDomainQualityDetectionRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param template: 质量检测模板 (Required)

func NewAddLiveStreamDomainQualityDetectionRequestWithoutParam added in v1.13.0

func NewAddLiveStreamDomainQualityDetectionRequestWithoutParam() *AddLiveStreamDomainQualityDetectionRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamDomainQualityDetectionRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamDomainQualityDetectionRequest) SetPublishDomain added in v1.13.0

func (r *AddLiveStreamDomainQualityDetectionRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamDomainQualityDetectionRequest) SetTemplate added in v1.13.0

func (r *AddLiveStreamDomainQualityDetectionRequest) SetTemplate(template string)
param template: 质量检测模板

(Required)

type AddLiveStreamDomainQualityDetectionResponse added in v1.13.0

type AddLiveStreamDomainQualityDetectionResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    AddLiveStreamDomainQualityDetectionResult `json:"result"`
}

type AddLiveStreamDomainQualityDetectionResult added in v1.13.0

type AddLiveStreamDomainQualityDetectionResult struct {
}

type AddLiveStreamDomainRecordRequest

type AddLiveStreamDomainRecordRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 录制模版  */
	Template string `json:"template"`
}

func NewAddLiveStreamDomainRecordRequest

func NewAddLiveStreamDomainRecordRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainRecordRequest

* param publishDomain: 推流域名 (Required) * param template: 录制模版 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamDomainRecordRequestWithAllParams

func NewAddLiveStreamDomainRecordRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainRecordRequest

* param publishDomain: 推流域名 (Required) * param template: 录制模版 (Required)

func NewAddLiveStreamDomainRecordRequestWithoutParam

func NewAddLiveStreamDomainRecordRequestWithoutParam() *AddLiveStreamDomainRecordRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamDomainRecordRequest) GetRegionId

func (r AddLiveStreamDomainRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamDomainRecordRequest) SetPublishDomain

func (r *AddLiveStreamDomainRecordRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamDomainRecordRequest) SetTemplate

func (r *AddLiveStreamDomainRecordRequest) SetTemplate(template string)

param template: 录制模版(Required)

type AddLiveStreamDomainRecordResponse

type AddLiveStreamDomainRecordResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    AddLiveStreamDomainRecordResult `json:"result"`
}

type AddLiveStreamDomainRecordResult

type AddLiveStreamDomainRecordResult struct {
}

type AddLiveStreamDomainSnapshotRequest

type AddLiveStreamDomainSnapshotRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 截图模板
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamDomainSnapshotRequest

func NewAddLiveStreamDomainSnapshotRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainSnapshotRequest

* param publishDomain: 推流域名 (Required) * param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamDomainSnapshotRequestWithAllParams

func NewAddLiveStreamDomainSnapshotRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainSnapshotRequest

* param publishDomain: 推流域名 (Required) * param template: 截图模板 (Required)

func NewAddLiveStreamDomainSnapshotRequestWithoutParam

func NewAddLiveStreamDomainSnapshotRequestWithoutParam() *AddLiveStreamDomainSnapshotRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamDomainSnapshotRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamDomainSnapshotRequest) SetPublishDomain

func (r *AddLiveStreamDomainSnapshotRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamDomainSnapshotRequest) SetTemplate

func (r *AddLiveStreamDomainSnapshotRequest) SetTemplate(template string)
param template: 截图模板

(Required)

type AddLiveStreamDomainSnapshotResponse

type AddLiveStreamDomainSnapshotResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    AddLiveStreamDomainSnapshotResult `json:"result"`
}

type AddLiveStreamDomainSnapshotResult

type AddLiveStreamDomainSnapshotResult struct {
}

type AddLiveStreamDomainTranscodeRequest

type AddLiveStreamDomainTranscodeRequest struct {
	core.JDCloudRequest

	/* 直播的推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 转码模版
	- 取值范围: 系统标准转码模板, 用户自定义转码模板
	- 系统标准转码模板
	  ld (h.264/640*360/15f)
	  sd (h.264/960*540/25f)
	  hd (h.264/1280*720/25f)
	  shd (h.264/1920*1080/30f)
	  ld-265 (h.265/640*360/15f)
	  sd-265 (h.265/960*540/25f)
	  hd-265 (h.265/1280*720/25f)
	  shd-265 (h.265/1920*1080/30f)
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamDomainTranscodeRequest

func NewAddLiveStreamDomainTranscodeRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainTranscodeRequest
  • param publishDomain: 直播的推流域名 (Required)
  • param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamDomainTranscodeRequestWithAllParams

func NewAddLiveStreamDomainTranscodeRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainTranscodeRequest
  • param publishDomain: 直播的推流域名 (Required)
  • param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f) (Required)

func NewAddLiveStreamDomainTranscodeRequestWithoutParam

func NewAddLiveStreamDomainTranscodeRequestWithoutParam() *AddLiveStreamDomainTranscodeRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamDomainTranscodeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamDomainTranscodeRequest) SetPublishDomain

func (r *AddLiveStreamDomainTranscodeRequest) SetPublishDomain(publishDomain string)

param publishDomain: 直播的推流域名(Required)

func (*AddLiveStreamDomainTranscodeRequest) SetTemplate

func (r *AddLiveStreamDomainTranscodeRequest) SetTemplate(template string)
param template: 转码模版
  • 取值范围: 系统标准转码模板, 用户自定义转码模板
  • 系统标准转码模板 ld (h.264/640*360/15f) sd (h.264/960*540/25f) hd (h.264/1280*720/25f) shd (h.264/1920*1080/30f) ld-265 (h.265/640*360/15f) sd-265 (h.265/960*540/25f) hd-265 (h.265/1280*720/25f) shd-265 (h.265/1920*1080/30f)

(Required)

type AddLiveStreamDomainTranscodeResponse

type AddLiveStreamDomainTranscodeResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    AddLiveStreamDomainTranscodeResult `json:"result"`
}

type AddLiveStreamDomainTranscodeResult

type AddLiveStreamDomainTranscodeResult struct {
}

type AddLiveStreamDomainWatermarkRequest

type AddLiveStreamDomainWatermarkRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 水印模板
	 */
	Template string `json:"template"`
}

func NewAddLiveStreamDomainWatermarkRequest

func NewAddLiveStreamDomainWatermarkRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainWatermarkRequest

* param publishDomain: 推流域名 (Required) * param template: 水印模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamDomainWatermarkRequestWithAllParams

func NewAddLiveStreamDomainWatermarkRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainWatermarkRequest

* param publishDomain: 推流域名 (Required) * param template: 水印模板 (Required)

func NewAddLiveStreamDomainWatermarkRequestWithoutParam

func NewAddLiveStreamDomainWatermarkRequestWithoutParam() *AddLiveStreamDomainWatermarkRequest

This constructor has better compatible ability when API parameters changed

func (AddLiveStreamDomainWatermarkRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddLiveStreamDomainWatermarkRequest) SetPublishDomain

func (r *AddLiveStreamDomainWatermarkRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*AddLiveStreamDomainWatermarkRequest) SetTemplate

func (r *AddLiveStreamDomainWatermarkRequest) SetTemplate(template string)
param template: 水印模板

(Required)

type AddLiveStreamDomainWatermarkResponse

type AddLiveStreamDomainWatermarkResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    AddLiveStreamDomainWatermarkResult `json:"result"`
}

type AddLiveStreamDomainWatermarkResult

type AddLiveStreamDomainWatermarkResult struct {
}

type CloseLiveP2pRequest added in v1.13.0

type CloseLiveP2pRequest struct {
	core.JDCloudRequest

	/* 播放域名 (Optional) */
	PlayDomain *string `json:"playDomain"`
}

func NewCloseLiveP2pRequest added in v1.13.0

func NewCloseLiveP2pRequest() *CloseLiveP2pRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewCloseLiveP2pRequestWithAllParams added in v1.13.0

func NewCloseLiveP2pRequestWithAllParams(
	playDomain *string,
) *CloseLiveP2pRequest

* param playDomain: 播放域名 (Optional)

func NewCloseLiveP2pRequestWithoutParam added in v1.13.0

func NewCloseLiveP2pRequestWithoutParam() *CloseLiveP2pRequest

This constructor has better compatible ability when API parameters changed

func (CloseLiveP2pRequest) GetRegionId added in v1.13.0

func (r CloseLiveP2pRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CloseLiveP2pRequest) SetPlayDomain added in v1.13.0

func (r *CloseLiveP2pRequest) SetPlayDomain(playDomain string)

param playDomain: 播放域名(Optional)

type CloseLiveP2pResponse added in v1.13.0

type CloseLiveP2pResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CloseLiveP2pResult `json:"result"`
}

type CloseLiveP2pResult added in v1.13.0

type CloseLiveP2pResult struct {
}

type CloseLiveRestartRequest added in v1.10.0

type CloseLiveRestartRequest struct {
	core.JDCloudRequest

	/* 回看的播放域名  */
	RestartDomain string `json:"restartDomain"`
}

func NewCloseLiveRestartRequest added in v1.10.0

func NewCloseLiveRestartRequest(
	restartDomain string,
) *CloseLiveRestartRequest

* param restartDomain: 回看的播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCloseLiveRestartRequestWithAllParams added in v1.10.0

func NewCloseLiveRestartRequestWithAllParams(
	restartDomain string,
) *CloseLiveRestartRequest

* param restartDomain: 回看的播放域名 (Required)

func NewCloseLiveRestartRequestWithoutParam added in v1.10.0

func NewCloseLiveRestartRequestWithoutParam() *CloseLiveRestartRequest

This constructor has better compatible ability when API parameters changed

func (CloseLiveRestartRequest) GetRegionId added in v1.10.0

func (r CloseLiveRestartRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CloseLiveRestartRequest) SetRestartDomain added in v1.10.0

func (r *CloseLiveRestartRequest) SetRestartDomain(restartDomain string)

param restartDomain: 回看的播放域名(Required)

type CloseLiveRestartResponse added in v1.10.0

type CloseLiveRestartResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CloseLiveRestartResult `json:"result"`
}

type CloseLiveRestartResult added in v1.10.0

type CloseLiveRestartResult struct {
}

type CloseLiveTimeshiftRequest added in v1.6.0

type CloseLiveTimeshiftRequest struct {
	core.JDCloudRequest

	/* 直播的播放域名  */
	PlayDomain string `json:"playDomain"`
}

func NewCloseLiveTimeshiftRequest added in v1.6.0

func NewCloseLiveTimeshiftRequest(
	playDomain string,
) *CloseLiveTimeshiftRequest

* param playDomain: 直播的播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCloseLiveTimeshiftRequestWithAllParams added in v1.6.0

func NewCloseLiveTimeshiftRequestWithAllParams(
	playDomain string,
) *CloseLiveTimeshiftRequest

* param playDomain: 直播的播放域名 (Required)

func NewCloseLiveTimeshiftRequestWithoutParam added in v1.6.0

func NewCloseLiveTimeshiftRequestWithoutParam() *CloseLiveTimeshiftRequest

This constructor has better compatible ability when API parameters changed

func (CloseLiveTimeshiftRequest) GetRegionId added in v1.6.0

func (r CloseLiveTimeshiftRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CloseLiveTimeshiftRequest) SetPlayDomain added in v1.6.0

func (r *CloseLiveTimeshiftRequest) SetPlayDomain(playDomain string)

param playDomain: 直播的播放域名(Required)

type CloseLiveTimeshiftResponse added in v1.6.0

type CloseLiveTimeshiftResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    CloseLiveTimeshiftResult `json:"result"`
}

type CloseLiveTimeshiftResult added in v1.6.0

type CloseLiveTimeshiftResult struct {
}

type DeleteCustomLiveStreamQualityDetectionTemplateRequest added in v1.13.0

type DeleteCustomLiveStreamQualityDetectionTemplateRequest struct {
	core.JDCloudRequest

	/* 质量检测模板  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequest added in v1.13.0

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequest(
	template string,
) *DeleteCustomLiveStreamQualityDetectionTemplateRequest

* param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequestWithAllParams added in v1.13.0

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamQualityDetectionTemplateRequest

* param template: 质量检测模板 (Required)

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequestWithoutParam added in v1.13.0

func NewDeleteCustomLiveStreamQualityDetectionTemplateRequestWithoutParam() *DeleteCustomLiveStreamQualityDetectionTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomLiveStreamQualityDetectionTemplateRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomLiveStreamQualityDetectionTemplateRequest) SetTemplate added in v1.13.0

param template: 质量检测模板(Required)

type DeleteCustomLiveStreamQualityDetectionTemplateResponse added in v1.13.0

type DeleteCustomLiveStreamQualityDetectionTemplateResponse struct {
	RequestID string                                               `json:"requestId"`
	Error     core.ErrorResponse                                   `json:"error"`
	Result    DeleteCustomLiveStreamQualityDetectionTemplateResult `json:"result"`
}

type DeleteCustomLiveStreamQualityDetectionTemplateResult added in v1.13.0

type DeleteCustomLiveStreamQualityDetectionTemplateResult struct {
}

type DeleteCustomLiveStreamRecordTemplateRequest

type DeleteCustomLiveStreamRecordTemplateRequest struct {
	core.JDCloudRequest

	/* 录制模板  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamRecordTemplateRequest

func NewDeleteCustomLiveStreamRecordTemplateRequest(
	template string,
) *DeleteCustomLiveStreamRecordTemplateRequest

* param template: 录制模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamRecordTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamRecordTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamRecordTemplateRequest

* param template: 录制模板 (Required)

func NewDeleteCustomLiveStreamRecordTemplateRequestWithoutParam

func NewDeleteCustomLiveStreamRecordTemplateRequestWithoutParam() *DeleteCustomLiveStreamRecordTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomLiveStreamRecordTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomLiveStreamRecordTemplateRequest) SetTemplate

func (r *DeleteCustomLiveStreamRecordTemplateRequest) SetTemplate(template string)

param template: 录制模板(Required)

type DeleteCustomLiveStreamRecordTemplateResponse

type DeleteCustomLiveStreamRecordTemplateResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DeleteCustomLiveStreamRecordTemplateResult `json:"result"`
}

type DeleteCustomLiveStreamRecordTemplateResult

type DeleteCustomLiveStreamRecordTemplateResult struct {
}

type DeleteCustomLiveStreamSnapshotTemplateRequest

type DeleteCustomLiveStreamSnapshotTemplateRequest struct {
	core.JDCloudRequest

	/* 截图模板  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamSnapshotTemplateRequest

func NewDeleteCustomLiveStreamSnapshotTemplateRequest(
	template string,
) *DeleteCustomLiveStreamSnapshotTemplateRequest

* param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamSnapshotTemplateRequest

* param template: 截图模板 (Required)

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithoutParam

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithoutParam() *DeleteCustomLiveStreamSnapshotTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomLiveStreamSnapshotTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomLiveStreamSnapshotTemplateRequest) SetTemplate

func (r *DeleteCustomLiveStreamSnapshotTemplateRequest) SetTemplate(template string)

param template: 截图模板(Required)

type DeleteCustomLiveStreamSnapshotTemplateResponse

type DeleteCustomLiveStreamSnapshotTemplateResponse struct {
	RequestID string                                       `json:"requestId"`
	Error     core.ErrorResponse                           `json:"error"`
	Result    DeleteCustomLiveStreamSnapshotTemplateResult `json:"result"`
}

type DeleteCustomLiveStreamSnapshotTemplateResult

type DeleteCustomLiveStreamSnapshotTemplateResult struct {
}

type DeleteCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

type DeleteCustomLiveStreamTranscodeTemplateRequest struct {
	core.JDCloudRequest

	/* 转码模板
	 */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewDeleteCustomLiveStreamTranscodeTemplateRequest(
	template string,
) *DeleteCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithAllParams added in v1.4.0

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板 (Required)

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithoutParam added in v1.4.0

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithoutParam() *DeleteCustomLiveStreamTranscodeTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomLiveStreamTranscodeTemplateRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomLiveStreamTranscodeTemplateRequest) SetTemplate added in v1.4.0

func (r *DeleteCustomLiveStreamTranscodeTemplateRequest) SetTemplate(template string)
param template: 转码模板

(Required)

type DeleteCustomLiveStreamTranscodeTemplateResponse added in v1.4.0

type DeleteCustomLiveStreamTranscodeTemplateResponse struct {
	RequestID string                                        `json:"requestId"`
	Error     core.ErrorResponse                            `json:"error"`
	Result    DeleteCustomLiveStreamTranscodeTemplateResult `json:"result"`
}

type DeleteCustomLiveStreamTranscodeTemplateResult added in v1.4.0

type DeleteCustomLiveStreamTranscodeTemplateResult struct {
}

type DeleteCustomLiveStreamWatermarkTemplateRequest

type DeleteCustomLiveStreamWatermarkTemplateRequest struct {
	core.JDCloudRequest

	/* 水印模板
	 */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamWatermarkTemplateRequest

func NewDeleteCustomLiveStreamWatermarkTemplateRequest(
	template string,
) *DeleteCustomLiveStreamWatermarkTemplateRequest

* param template: 水印模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamWatermarkTemplateRequest

* param template: 水印模板 (Required)

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithoutParam

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithoutParam() *DeleteCustomLiveStreamWatermarkTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomLiveStreamWatermarkTemplateRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomLiveStreamWatermarkTemplateRequest) SetTemplate

func (r *DeleteCustomLiveStreamWatermarkTemplateRequest) SetTemplate(template string)
param template: 水印模板

(Required)

type DeleteCustomLiveStreamWatermarkTemplateResponse

type DeleteCustomLiveStreamWatermarkTemplateResponse struct {
	RequestID string                                        `json:"requestId"`
	Error     core.ErrorResponse                            `json:"error"`
	Result    DeleteCustomLiveStreamWatermarkTemplateResult `json:"result"`
}

type DeleteCustomLiveStreamWatermarkTemplateResult

type DeleteCustomLiveStreamWatermarkTemplateResult struct {
}

type DeleteLiveDomainRequest

type DeleteLiveDomainRequest struct {
	core.JDCloudRequest

	/* 推流域名
	 */
	PublishDomain string `json:"publishDomain"`
}

func NewDeleteLiveDomainRequest

func NewDeleteLiveDomainRequest(
	publishDomain string,
) *DeleteLiveDomainRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveDomainRequestWithAllParams

func NewDeleteLiveDomainRequestWithAllParams(
	publishDomain string,
) *DeleteLiveDomainRequest

* param publishDomain: 推流域名 (Required)

func NewDeleteLiveDomainRequestWithoutParam

func NewDeleteLiveDomainRequestWithoutParam() *DeleteLiveDomainRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveDomainRequest) GetRegionId

func (r DeleteLiveDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveDomainRequest) SetPublishDomain

func (r *DeleteLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 推流域名

(Required)

type DeleteLiveDomainResponse

type DeleteLiveDomainResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteLiveDomainResult `json:"result"`
}

type DeleteLiveDomainResult

type DeleteLiveDomainResult struct {
}

type DeleteLiveStreamAppQualityDetectionRequest added in v1.13.0

type DeleteLiveStreamAppQualityDetectionRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 质量检测模板  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppQualityDetectionRequest added in v1.13.0

func NewDeleteLiveStreamAppQualityDetectionRequest(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamAppQualityDetectionRequestWithAllParams added in v1.13.0

func NewDeleteLiveStreamAppQualityDetectionRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 质量检测模板 (Required)

func NewDeleteLiveStreamAppQualityDetectionRequestWithoutParam added in v1.13.0

func NewDeleteLiveStreamAppQualityDetectionRequestWithoutParam() *DeleteLiveStreamAppQualityDetectionRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamAppQualityDetectionRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamAppQualityDetectionRequest) SetAppName added in v1.13.0

func (r *DeleteLiveStreamAppQualityDetectionRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveStreamAppQualityDetectionRequest) SetPublishDomain added in v1.13.0

func (r *DeleteLiveStreamAppQualityDetectionRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamAppQualityDetectionRequest) SetTemplate added in v1.13.0

func (r *DeleteLiveStreamAppQualityDetectionRequest) SetTemplate(template string)

param template: 质量检测模板(Required)

type DeleteLiveStreamAppQualityDetectionResponse added in v1.13.0

type DeleteLiveStreamAppQualityDetectionResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DeleteLiveStreamAppQualityDetectionResult `json:"result"`
}

type DeleteLiveStreamAppQualityDetectionResult added in v1.13.0

type DeleteLiveStreamAppQualityDetectionResult struct {
}

type DeleteLiveStreamAppRecordRequest

type DeleteLiveStreamAppRecordRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 录制模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppRecordRequest

func NewDeleteLiveStreamAppRecordRequest(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppRecordRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 录制模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamAppRecordRequestWithAllParams

func NewDeleteLiveStreamAppRecordRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppRecordRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 录制模板 (Required)

func NewDeleteLiveStreamAppRecordRequestWithoutParam

func NewDeleteLiveStreamAppRecordRequestWithoutParam() *DeleteLiveStreamAppRecordRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamAppRecordRequest) GetRegionId

func (r DeleteLiveStreamAppRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamAppRecordRequest) SetAppName

func (r *DeleteLiveStreamAppRecordRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveStreamAppRecordRequest) SetPublishDomain

func (r *DeleteLiveStreamAppRecordRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamAppRecordRequest) SetTemplate

func (r *DeleteLiveStreamAppRecordRequest) SetTemplate(template string)
param template: 录制模板

(Required)

type DeleteLiveStreamAppRecordResponse

type DeleteLiveStreamAppRecordResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DeleteLiveStreamAppRecordResult `json:"result"`
}

type DeleteLiveStreamAppRecordResult

type DeleteLiveStreamAppRecordResult struct {
}

type DeleteLiveStreamAppSnapshotRequest

type DeleteLiveStreamAppSnapshotRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 截图模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppSnapshotRequest

func NewDeleteLiveStreamAppSnapshotRequest(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppSnapshotRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamAppSnapshotRequestWithAllParams

func NewDeleteLiveStreamAppSnapshotRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppSnapshotRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 截图模板 (Required)

func NewDeleteLiveStreamAppSnapshotRequestWithoutParam

func NewDeleteLiveStreamAppSnapshotRequestWithoutParam() *DeleteLiveStreamAppSnapshotRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamAppSnapshotRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamAppSnapshotRequest) SetAppName

func (r *DeleteLiveStreamAppSnapshotRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveStreamAppSnapshotRequest) SetPublishDomain

func (r *DeleteLiveStreamAppSnapshotRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamAppSnapshotRequest) SetTemplate

func (r *DeleteLiveStreamAppSnapshotRequest) SetTemplate(template string)
param template: 截图模板

(Required)

type DeleteLiveStreamAppSnapshotResponse

type DeleteLiveStreamAppSnapshotResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    DeleteLiveStreamAppSnapshotResult `json:"result"`
}

type DeleteLiveStreamAppSnapshotResult

type DeleteLiveStreamAppSnapshotResult struct {
}

type DeleteLiveStreamAppTranscodeRequest

type DeleteLiveStreamAppTranscodeRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 转码模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppTranscodeRequest

func NewDeleteLiveStreamAppTranscodeRequest(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppTranscodeRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 转码模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamAppTranscodeRequestWithAllParams

func NewDeleteLiveStreamAppTranscodeRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppTranscodeRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 转码模板 (Required)

func NewDeleteLiveStreamAppTranscodeRequestWithoutParam

func NewDeleteLiveStreamAppTranscodeRequestWithoutParam() *DeleteLiveStreamAppTranscodeRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamAppTranscodeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamAppTranscodeRequest) SetAppName

func (r *DeleteLiveStreamAppTranscodeRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveStreamAppTranscodeRequest) SetPublishDomain

func (r *DeleteLiveStreamAppTranscodeRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamAppTranscodeRequest) SetTemplate

func (r *DeleteLiveStreamAppTranscodeRequest) SetTemplate(template string)
param template: 转码模板

(Required)

type DeleteLiveStreamAppTranscodeResponse

type DeleteLiveStreamAppTranscodeResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteLiveStreamAppTranscodeResult `json:"result"`
}

type DeleteLiveStreamAppTranscodeResult

type DeleteLiveStreamAppTranscodeResult struct {
}

type DeleteLiveStreamAppWatermarkRequest

type DeleteLiveStreamAppWatermarkRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 水印模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppWatermarkRequest

func NewDeleteLiveStreamAppWatermarkRequest(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppWatermarkRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 水印模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamAppWatermarkRequestWithAllParams

func NewDeleteLiveStreamAppWatermarkRequestWithAllParams(
	publishDomain string,
	appName string,
	template string,
) *DeleteLiveStreamAppWatermarkRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param template: 水印模板 (Required)

func NewDeleteLiveStreamAppWatermarkRequestWithoutParam

func NewDeleteLiveStreamAppWatermarkRequestWithoutParam() *DeleteLiveStreamAppWatermarkRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamAppWatermarkRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamAppWatermarkRequest) SetAppName

func (r *DeleteLiveStreamAppWatermarkRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveStreamAppWatermarkRequest) SetPublishDomain

func (r *DeleteLiveStreamAppWatermarkRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamAppWatermarkRequest) SetTemplate

func (r *DeleteLiveStreamAppWatermarkRequest) SetTemplate(template string)
param template: 水印模板

(Required)

type DeleteLiveStreamAppWatermarkResponse

type DeleteLiveStreamAppWatermarkResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteLiveStreamAppWatermarkResult `json:"result"`
}

type DeleteLiveStreamAppWatermarkResult

type DeleteLiveStreamAppWatermarkResult struct {
}

type DeleteLiveStreamDomainQualityDetectionRequest added in v1.13.0

type DeleteLiveStreamDomainQualityDetectionRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 质量检测模板  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainQualityDetectionRequest added in v1.13.0

func NewDeleteLiveStreamDomainQualityDetectionRequest(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainQualityDetectionRequestWithAllParams added in v1.13.0

func NewDeleteLiveStreamDomainQualityDetectionRequestWithAllParams(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainQualityDetectionRequest

* param publishDomain: 推流域名 (Required) * param template: 质量检测模板 (Required)

func NewDeleteLiveStreamDomainQualityDetectionRequestWithoutParam added in v1.13.0

func NewDeleteLiveStreamDomainQualityDetectionRequestWithoutParam() *DeleteLiveStreamDomainQualityDetectionRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamDomainQualityDetectionRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamDomainQualityDetectionRequest) SetPublishDomain added in v1.13.0

func (r *DeleteLiveStreamDomainQualityDetectionRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamDomainQualityDetectionRequest) SetTemplate added in v1.13.0

func (r *DeleteLiveStreamDomainQualityDetectionRequest) SetTemplate(template string)

param template: 质量检测模板(Required)

type DeleteLiveStreamDomainQualityDetectionResponse added in v1.13.0

type DeleteLiveStreamDomainQualityDetectionResponse struct {
	RequestID string                                       `json:"requestId"`
	Error     core.ErrorResponse                           `json:"error"`
	Result    DeleteLiveStreamDomainQualityDetectionResult `json:"result"`
}

type DeleteLiveStreamDomainQualityDetectionResult added in v1.13.0

type DeleteLiveStreamDomainQualityDetectionResult struct {
}

type DeleteLiveStreamDomainRecordRequest

type DeleteLiveStreamDomainRecordRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 录制模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainRecordRequest

func NewDeleteLiveStreamDomainRecordRequest(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainRecordRequest

* param publishDomain: 推流域名 (Required) * param template: 录制模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainRecordRequestWithAllParams

func NewDeleteLiveStreamDomainRecordRequestWithAllParams(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainRecordRequest

* param publishDomain: 推流域名 (Required) * param template: 录制模板 (Required)

func NewDeleteLiveStreamDomainRecordRequestWithoutParam

func NewDeleteLiveStreamDomainRecordRequestWithoutParam() *DeleteLiveStreamDomainRecordRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamDomainRecordRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamDomainRecordRequest) SetPublishDomain

func (r *DeleteLiveStreamDomainRecordRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamDomainRecordRequest) SetTemplate

func (r *DeleteLiveStreamDomainRecordRequest) SetTemplate(template string)
param template: 录制模板

(Required)

type DeleteLiveStreamDomainRecordResponse

type DeleteLiveStreamDomainRecordResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteLiveStreamDomainRecordResult `json:"result"`
}

type DeleteLiveStreamDomainRecordResult

type DeleteLiveStreamDomainRecordResult struct {
}

type DeleteLiveStreamDomainSnapshotRequest

type DeleteLiveStreamDomainSnapshotRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 截图模板  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainSnapshotRequest

func NewDeleteLiveStreamDomainSnapshotRequest(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainSnapshotRequest

* param publishDomain: 推流域名 (Required) * param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainSnapshotRequestWithAllParams

func NewDeleteLiveStreamDomainSnapshotRequestWithAllParams(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainSnapshotRequest

* param publishDomain: 推流域名 (Required) * param template: 截图模板 (Required)

func NewDeleteLiveStreamDomainSnapshotRequestWithoutParam

func NewDeleteLiveStreamDomainSnapshotRequestWithoutParam() *DeleteLiveStreamDomainSnapshotRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamDomainSnapshotRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamDomainSnapshotRequest) SetPublishDomain

func (r *DeleteLiveStreamDomainSnapshotRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamDomainSnapshotRequest) SetTemplate

func (r *DeleteLiveStreamDomainSnapshotRequest) SetTemplate(template string)

param template: 截图模板(Required)

type DeleteLiveStreamDomainSnapshotResponse

type DeleteLiveStreamDomainSnapshotResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DeleteLiveStreamDomainSnapshotResult `json:"result"`
}

type DeleteLiveStreamDomainSnapshotResult

type DeleteLiveStreamDomainSnapshotResult struct {
}

type DeleteLiveStreamDomainTranscodeRequest

type DeleteLiveStreamDomainTranscodeRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 转码模板  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainTranscodeRequest

func NewDeleteLiveStreamDomainTranscodeRequest(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainTranscodeRequest

* param publishDomain: 推流域名 (Required) * param template: 转码模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainTranscodeRequestWithAllParams

func NewDeleteLiveStreamDomainTranscodeRequestWithAllParams(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainTranscodeRequest

* param publishDomain: 推流域名 (Required) * param template: 转码模板 (Required)

func NewDeleteLiveStreamDomainTranscodeRequestWithoutParam

func NewDeleteLiveStreamDomainTranscodeRequestWithoutParam() *DeleteLiveStreamDomainTranscodeRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamDomainTranscodeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamDomainTranscodeRequest) SetPublishDomain

func (r *DeleteLiveStreamDomainTranscodeRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamDomainTranscodeRequest) SetTemplate

func (r *DeleteLiveStreamDomainTranscodeRequest) SetTemplate(template string)

param template: 转码模板(Required)

type DeleteLiveStreamDomainTranscodeResponse

type DeleteLiveStreamDomainTranscodeResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DeleteLiveStreamDomainTranscodeResult `json:"result"`
}

type DeleteLiveStreamDomainTranscodeResult

type DeleteLiveStreamDomainTranscodeResult struct {
}

type DeleteLiveStreamDomainWatermarkRequest

type DeleteLiveStreamDomainWatermarkRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 水印模板
	 */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainWatermarkRequest

func NewDeleteLiveStreamDomainWatermarkRequest(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainWatermarkRequest

* param publishDomain: 推流域名 (Required) * param template: 水印模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainWatermarkRequestWithAllParams

func NewDeleteLiveStreamDomainWatermarkRequestWithAllParams(
	publishDomain string,
	template string,
) *DeleteLiveStreamDomainWatermarkRequest

* param publishDomain: 推流域名 (Required) * param template: 水印模板 (Required)

func NewDeleteLiveStreamDomainWatermarkRequestWithoutParam

func NewDeleteLiveStreamDomainWatermarkRequestWithoutParam() *DeleteLiveStreamDomainWatermarkRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamDomainWatermarkRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamDomainWatermarkRequest) SetPublishDomain

func (r *DeleteLiveStreamDomainWatermarkRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DeleteLiveStreamDomainWatermarkRequest) SetTemplate

func (r *DeleteLiveStreamDomainWatermarkRequest) SetTemplate(template string)
param template: 水印模板

(Required)

type DeleteLiveStreamDomainWatermarkResponse

type DeleteLiveStreamDomainWatermarkResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DeleteLiveStreamDomainWatermarkResult `json:"result"`
}

type DeleteLiveStreamDomainWatermarkResult

type DeleteLiveStreamDomainWatermarkResult struct {
}

type DeleteLiveStreamNotifyConfigRequest added in v1.4.0

type DeleteLiveStreamNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDeleteLiveStreamNotifyConfigRequest added in v1.4.0

func NewDeleteLiveStreamNotifyConfigRequest(
	publishDomain string,
) *DeleteLiveStreamNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamNotifyConfigRequestWithAllParams added in v1.4.0

func NewDeleteLiveStreamNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DeleteLiveStreamNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDeleteLiveStreamNotifyConfigRequestWithoutParam added in v1.4.0

func NewDeleteLiveStreamNotifyConfigRequestWithoutParam() *DeleteLiveStreamNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamNotifyConfigRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamNotifyConfigRequest) SetPublishDomain added in v1.4.0

func (r *DeleteLiveStreamNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DeleteLiveStreamNotifyConfigResponse added in v1.4.0

type DeleteLiveStreamNotifyConfigResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteLiveStreamNotifyConfigResult `json:"result"`
}

type DeleteLiveStreamNotifyConfigResult added in v1.4.0

type DeleteLiveStreamNotifyConfigResult struct {
}

type DeleteLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

type DeleteLiveStreamQualityDetectionNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequest(
	publishDomain string,
) *DeleteLiveStreamQualityDetectionNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequestWithAllParams added in v1.13.0

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DeleteLiveStreamQualityDetectionNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequestWithoutParam added in v1.13.0

func NewDeleteLiveStreamQualityDetectionNotifyConfigRequestWithoutParam() *DeleteLiveStreamQualityDetectionNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamQualityDetectionNotifyConfigRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain added in v1.13.0

func (r *DeleteLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DeleteLiveStreamQualityDetectionNotifyConfigResponse added in v1.13.0

type DeleteLiveStreamQualityDetectionNotifyConfigResponse struct {
	RequestID string                                             `json:"requestId"`
	Error     core.ErrorResponse                                 `json:"error"`
	Result    DeleteLiveStreamQualityDetectionNotifyConfigResult `json:"result"`
}

type DeleteLiveStreamQualityDetectionNotifyConfigResult added in v1.13.0

type DeleteLiveStreamQualityDetectionNotifyConfigResult struct {
}

type DeleteLiveStreamRecordNotifyConfigRequest

type DeleteLiveStreamRecordNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDeleteLiveStreamRecordNotifyConfigRequest

func NewDeleteLiveStreamRecordNotifyConfigRequest(
	publishDomain string,
) *DeleteLiveStreamRecordNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamRecordNotifyConfigRequestWithAllParams

func NewDeleteLiveStreamRecordNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DeleteLiveStreamRecordNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDeleteLiveStreamRecordNotifyConfigRequestWithoutParam

func NewDeleteLiveStreamRecordNotifyConfigRequestWithoutParam() *DeleteLiveStreamRecordNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamRecordNotifyConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamRecordNotifyConfigRequest) SetPublishDomain

func (r *DeleteLiveStreamRecordNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DeleteLiveStreamRecordNotifyConfigResponse

type DeleteLiveStreamRecordNotifyConfigResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    DeleteLiveStreamRecordNotifyConfigResult `json:"result"`
}

type DeleteLiveStreamRecordNotifyConfigResult

type DeleteLiveStreamRecordNotifyConfigResult struct {
}

type DeleteLiveStreamSnapshotNotifyConfigRequest

type DeleteLiveStreamSnapshotNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDeleteLiveStreamSnapshotNotifyConfigRequest

func NewDeleteLiveStreamSnapshotNotifyConfigRequest(
	publishDomain string,
) *DeleteLiveStreamSnapshotNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamSnapshotNotifyConfigRequestWithAllParams

func NewDeleteLiveStreamSnapshotNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DeleteLiveStreamSnapshotNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDeleteLiveStreamSnapshotNotifyConfigRequestWithoutParam

func NewDeleteLiveStreamSnapshotNotifyConfigRequestWithoutParam() *DeleteLiveStreamSnapshotNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveStreamSnapshotNotifyConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain

func (r *DeleteLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DeleteLiveStreamSnapshotNotifyConfigResponse

type DeleteLiveStreamSnapshotNotifyConfigResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DeleteLiveStreamSnapshotNotifyConfigResult `json:"result"`
}

type DeleteLiveStreamSnapshotNotifyConfigResult

type DeleteLiveStreamSnapshotNotifyConfigResult struct {
}

type DescribeCustomLiveStreamQualityDetectionTemplatesRequest added in v1.13.0

type DescribeCustomLiveStreamQualityDetectionTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 质量检测模板查询过滤条件
	- name:   template 质量检测自定义名称
	- value:  如果参数为空,则查询全部
	 (Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequest added in v1.13.0

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequest() *DescribeCustomLiveStreamQualityDetectionTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequestWithAllParams added in v1.13.0

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamQualityDetectionTemplatesRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 质量检测模板查询过滤条件
  • name: template 质量检测自定义名称
  • value: 如果参数为空,则查询全部 (Optional)

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequestWithoutParam added in v1.13.0

func NewDescribeCustomLiveStreamQualityDetectionTemplatesRequestWithoutParam() *DescribeCustomLiveStreamQualityDetectionTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamQualityDetectionTemplatesRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamQualityDetectionTemplatesRequest) SetFilters added in v1.13.0

param filters: 质量检测模板查询过滤条件

- name: template 质量检测自定义名称 - value: 如果参数为空,则查询全部 (Optional)

func (*DescribeCustomLiveStreamQualityDetectionTemplatesRequest) SetPageNum added in v1.13.0

param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamQualityDetectionTemplatesRequest) SetPageSize added in v1.13.0

param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamQualityDetectionTemplatesResponse added in v1.13.0

type DescribeCustomLiveStreamQualityDetectionTemplatesResponse struct {
	RequestID string                                                  `json:"requestId"`
	Error     core.ErrorResponse                                      `json:"error"`
	Result    DescribeCustomLiveStreamQualityDetectionTemplatesResult `json:"result"`
}

type DescribeCustomLiveStreamQualityDetectionTemplatesResult added in v1.13.0

type DescribeCustomLiveStreamQualityDetectionTemplatesResult struct {
	PageNumber                int                             `json:"pageNumber"`
	PageSize                  int                             `json:"pageSize"`
	TotalCount                int                             `json:"totalCount"`
	QualityDetectionTemplates []live.QualityDetectionTemplate `json:"qualityDetectionTemplates"`
}

type DescribeCustomLiveStreamRecordConfigRequest

type DescribeCustomLiveStreamRecordConfigRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 录制配置查询过滤条件:
	 - name:   publishDomain,必填(推流域名)
	 - value:  参数
	 - name:   appName,必填(应用名称)
	 - value:  参数
	 - name:   streamName,非必填(流名称)
	 - value:  参数
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamRecordConfigRequest

func NewDescribeCustomLiveStreamRecordConfigRequest() *DescribeCustomLiveStreamRecordConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamRecordConfigRequestWithAllParams

func NewDescribeCustomLiveStreamRecordConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamRecordConfigRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 录制配置查询过滤条件:
  • name: publishDomain,必填(推流域名)
  • value: 参数
  • name: appName,必填(应用名称)
  • value: 参数
  • name: streamName,非必填(流名称)
  • value: 参数 (Optional)

func NewDescribeCustomLiveStreamRecordConfigRequestWithoutParam

func NewDescribeCustomLiveStreamRecordConfigRequestWithoutParam() *DescribeCustomLiveStreamRecordConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamRecordConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamRecordConfigRequest) SetFilters

func (r *DescribeCustomLiveStreamRecordConfigRequest) SetFilters(filters []live.Filter)
param filters: 录制配置查询过滤条件:
 - name:   publishDomain,必填(推流域名)
 - value:  参数
 - name:   appName,必填(应用名称)
 - value:  参数
 - name:   streamName,非必填(流名称)
 - value:  参数

(Optional)

func (*DescribeCustomLiveStreamRecordConfigRequest) SetPageNum

func (r *DescribeCustomLiveStreamRecordConfigRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamRecordConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamRecordConfigRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamRecordConfigResponse

type DescribeCustomLiveStreamRecordConfigResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DescribeCustomLiveStreamRecordConfigResult `json:"result"`
}

type DescribeCustomLiveStreamRecordConfigResult

type DescribeCustomLiveStreamRecordConfigResult struct {
	PageNumber    int                     `json:"pageNumber"`
	PageSize      int                     `json:"pageSize"`
	TotalCount    int                     `json:"totalCount"`
	RecordConfigs []live.LiveRecordConfig `json:"recordConfigs"`
}

type DescribeCustomLiveStreamRecordTemplatesRequest

type DescribeCustomLiveStreamRecordTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围[1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 录制模板列表查询过滤条件:
	 - name:   template 录制模板自定义名称
	 - value:  如果参数为空,则查询全部
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamRecordTemplatesRequest

func NewDescribeCustomLiveStreamRecordTemplatesRequest() *DescribeCustomLiveStreamRecordTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamRecordTemplatesRequest
  • param pageNum: 页码
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param filters: 录制模板列表查询过滤条件:
  • name: template 录制模板自定义名称
  • value: 如果参数为空,则查询全部 (Optional)

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithoutParam

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithoutParam() *DescribeCustomLiveStreamRecordTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamRecordTemplatesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamRecordTemplatesRequest) SetFilters

param filters: 录制模板列表查询过滤条件:
 - name:   template 录制模板自定义名称
 - value:  如果参数为空,则查询全部

(Optional)

func (*DescribeCustomLiveStreamRecordTemplatesRequest) SetPageNum

func (r *DescribeCustomLiveStreamRecordTemplatesRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围[1, 100000] (Optional)

func (*DescribeCustomLiveStreamRecordTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamRecordTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

type DescribeCustomLiveStreamRecordTemplatesResponse

type DescribeCustomLiveStreamRecordTemplatesResponse struct {
	RequestID string                                        `json:"requestId"`
	Error     core.ErrorResponse                            `json:"error"`
	Result    DescribeCustomLiveStreamRecordTemplatesResult `json:"result"`
}

type DescribeCustomLiveStreamRecordTemplatesResult

type DescribeCustomLiveStreamRecordTemplatesResult struct {
	PageNumber      int                   `json:"pageNumber"`
	PageSize        int                   `json:"pageSize"`
	TotalCount      int                   `json:"totalCount"`
	RecordTemplates []live.RecordTemplate `json:"recordTemplates"`
}

type DescribeCustomLiveStreamSnapshotConfigRequest

type DescribeCustomLiveStreamSnapshotConfigRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 直播截图查询过滤条件:
	- name:   publishDomain 必填(推流域名)
	- value:  参数
	- name:   appName 必填(应用名称)
	- value:  参数
	- name:   streamName 非必填(流名称)
	- value:  参数
	 (Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamSnapshotConfigRequest

func NewDescribeCustomLiveStreamSnapshotConfigRequest() *DescribeCustomLiveStreamSnapshotConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithAllParams

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamSnapshotConfigRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 直播截图查询过滤条件:
  • name: publishDomain 必填(推流域名)
  • value: 参数
  • name: appName 必填(应用名称)
  • value: 参数
  • name: streamName 非必填(流名称)
  • value: 参数 (Optional)

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithoutParam

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithoutParam() *DescribeCustomLiveStreamSnapshotConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamSnapshotConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamSnapshotConfigRequest) SetFilters

param filters: 直播截图查询过滤条件:

- name: publishDomain 必填(推流域名) - value: 参数 - name: appName 必填(应用名称) - value: 参数 - name: streamName 非必填(流名称) - value: 参数 (Optional)

func (*DescribeCustomLiveStreamSnapshotConfigRequest) SetPageNum

func (r *DescribeCustomLiveStreamSnapshotConfigRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamSnapshotConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamSnapshotConfigRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamSnapshotConfigResponse

type DescribeCustomLiveStreamSnapshotConfigResponse struct {
	RequestID string                                       `json:"requestId"`
	Error     core.ErrorResponse                           `json:"error"`
	Result    DescribeCustomLiveStreamSnapshotConfigResult `json:"result"`
}

type DescribeCustomLiveStreamSnapshotConfigResult

type DescribeCustomLiveStreamSnapshotConfigResult struct {
	PageNumber      int                   `json:"pageNumber"`
	PageSize        int                   `json:"pageSize"`
	TotalCount      int                   `json:"totalCount"`
	SnapshotConfigs []live.SnapshotConfig `json:"snapshotConfigs"`
}

type DescribeCustomLiveStreamSnapshotTemplatesRequest

type DescribeCustomLiveStreamSnapshotTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 截图模板查询过滤条件
	- name:   template 录制模板自定义名称
	- value:  如果参数为空,则查询全部
	 (Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamSnapshotTemplatesRequest

func NewDescribeCustomLiveStreamSnapshotTemplatesRequest() *DescribeCustomLiveStreamSnapshotTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamSnapshotTemplatesRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 截图模板查询过滤条件
  • name: template 录制模板自定义名称
  • value: 如果参数为空,则查询全部 (Optional)

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithoutParam

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithoutParam() *DescribeCustomLiveStreamSnapshotTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamSnapshotTemplatesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamSnapshotTemplatesRequest) SetFilters

param filters: 截图模板查询过滤条件

- name: template 录制模板自定义名称 - value: 如果参数为空,则查询全部 (Optional)

func (*DescribeCustomLiveStreamSnapshotTemplatesRequest) SetPageNum

param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamSnapshotTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamSnapshotTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamSnapshotTemplatesResponse

type DescribeCustomLiveStreamSnapshotTemplatesResponse struct {
	RequestID string                                          `json:"requestId"`
	Error     core.ErrorResponse                              `json:"error"`
	Result    DescribeCustomLiveStreamSnapshotTemplatesResult `json:"result"`
}

type DescribeCustomLiveStreamSnapshotTemplatesResult

type DescribeCustomLiveStreamSnapshotTemplatesResult struct {
	PageNumber        int                     `json:"pageNumber"`
	PageSize          int                     `json:"pageSize"`
	TotalCount        int                     `json:"totalCount"`
	SnapshotTemplates []live.SnapshotTemplate `json:"snapshotTemplates"`
}

type DescribeCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplateRequest struct {
	core.JDCloudRequest

	/* 转码模板  */
	Template string `json:"template"`
}

func NewDescribeCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplateRequest(
	template string,
) *DescribeCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithAllParams added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithAllParams(
	template string,
) *DescribeCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板 (Required)

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithoutParam added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithoutParam() *DescribeCustomLiveStreamTranscodeTemplateRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamTranscodeTemplateRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamTranscodeTemplateRequest) SetTemplate added in v1.4.0

param template: 转码模板(Required)

type DescribeCustomLiveStreamTranscodeTemplateResponse added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplateResponse struct {
	RequestID string                                          `json:"requestId"`
	Error     core.ErrorResponse                              `json:"error"`
	Result    DescribeCustomLiveStreamTranscodeTemplateResult `json:"result"`
}

type DescribeCustomLiveStreamTranscodeTemplateResult added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplateResult struct {
	VideoCodec      string `json:"videoCodec"`
	VideoCodeRate   int    `json:"videoCodeRate"`
	VideoFrameRate  string `json:"videoFrameRate"`
	Width           int    `json:"width"`
	Height          int    `json:"height"`
	Template        string `json:"template"`
	AudioCodec      string `json:"audioCodec"`
	AudioFormat     string `json:"audioFormat"`
	AudioSampleRate int    `json:"audioSampleRate"`
	AudioChannel    int    `json:"audioChannel"`
	AudioCodeRate   int    `json:"audioCodeRate"`
	Jdchd           string `json:"jdchd"`
	AudioComfort    string `json:"audioComfort"`
}

type DescribeCustomLiveStreamTranscodeTemplatesRequest added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 转码模板查询过滤条件:
	 - name:   template 转码模板自定义名称
	 - value:  如果参数为空,则查询全部
	 - 如果为空,则表示查询该用下所有自定义的转码模板
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamTranscodeTemplatesRequest added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplatesRequest() *DescribeCustomLiveStreamTranscodeTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamTranscodeTemplatesRequestWithAllParams added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamTranscodeTemplatesRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 转码模板查询过滤条件:
  • name: template 转码模板自定义名称
  • value: 如果参数为空,则查询全部
  • 如果为空,则表示查询该用下所有自定义的转码模板 (Optional)

func NewDescribeCustomLiveStreamTranscodeTemplatesRequestWithoutParam added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplatesRequestWithoutParam() *DescribeCustomLiveStreamTranscodeTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamTranscodeTemplatesRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamTranscodeTemplatesRequest) SetFilters added in v1.4.0

param filters: 转码模板查询过滤条件:
 - name:   template 转码模板自定义名称
 - value:  如果参数为空,则查询全部
 - 如果为空,则表示查询该用下所有自定义的转码模板

(Optional)

func (*DescribeCustomLiveStreamTranscodeTemplatesRequest) SetPageNum added in v1.4.0

param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamTranscodeTemplatesRequest) SetPageSize added in v1.4.0

func (r *DescribeCustomLiveStreamTranscodeTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamTranscodeTemplatesResponse added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplatesResponse struct {
	RequestID string                                           `json:"requestId"`
	Error     core.ErrorResponse                               `json:"error"`
	Result    DescribeCustomLiveStreamTranscodeTemplatesResult `json:"result"`
}

type DescribeCustomLiveStreamTranscodeTemplatesResult added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplatesResult struct {
	PageNumber         int                  `json:"pageNumber"`
	PageSize           int                  `json:"pageSize"`
	TotalCount         int                  `json:"totalCount"`
	TranscodeTemplates []live.TranscodeInfo `json:"transcodeTemplates"`
}

type DescribeCustomLiveStreamWatermarkConfigRequest

type DescribeCustomLiveStreamWatermarkConfigRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 水印配置查询过滤条件:
	 - name:   publishDomain,必填(推流域名)
	 - value:  参数
	 - name:   appName,必填(应用名称)
	 - value:  参数
	 - name:   streamName,非必填(流名称)
	 - value:  参数
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamWatermarkConfigRequest

func NewDescribeCustomLiveStreamWatermarkConfigRequest() *DescribeCustomLiveStreamWatermarkConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithAllParams

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamWatermarkConfigRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 水印配置查询过滤条件:
  • name: publishDomain,必填(推流域名)
  • value: 参数
  • name: appName,必填(应用名称)
  • value: 参数
  • name: streamName,非必填(流名称)
  • value: 参数 (Optional)

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithoutParam

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithoutParam() *DescribeCustomLiveStreamWatermarkConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamWatermarkConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamWatermarkConfigRequest) SetFilters

param filters: 水印配置查询过滤条件:
 - name:   publishDomain,必填(推流域名)
 - value:  参数
 - name:   appName,必填(应用名称)
 - value:  参数
 - name:   streamName,非必填(流名称)
 - value:  参数

(Optional)

func (*DescribeCustomLiveStreamWatermarkConfigRequest) SetPageNum

func (r *DescribeCustomLiveStreamWatermarkConfigRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamWatermarkConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamWatermarkConfigRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamWatermarkConfigResponse

type DescribeCustomLiveStreamWatermarkConfigResponse struct {
	RequestID string                                        `json:"requestId"`
	Error     core.ErrorResponse                            `json:"error"`
	Result    DescribeCustomLiveStreamWatermarkConfigResult `json:"result"`
}

type DescribeCustomLiveStreamWatermarkConfigResult

type DescribeCustomLiveStreamWatermarkConfigResult struct {
	PageNumber       int                           `json:"pageNumber"`
	PageSize         int                           `json:"pageSize"`
	TotalCount       int                           `json:"totalCount"`
	WatermarkConfigs []live.LiveStreamRecordConfig `json:"watermarkConfigs"`
}

type DescribeCustomLiveStreamWatermarkTemplatesRequest

type DescribeCustomLiveStreamWatermarkTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 水印模板列表查询过滤条件:
	 - name:   template 录制模板自定义名称
	 - value:  如果参数为空,则查询全部
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeCustomLiveStreamWatermarkTemplatesRequest

func NewDescribeCustomLiveStreamWatermarkTemplatesRequest() *DescribeCustomLiveStreamWatermarkTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeCustomLiveStreamWatermarkTemplatesRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 水印模板列表查询过滤条件:
  • name: template 录制模板自定义名称
  • value: 如果参数为空,则查询全部 (Optional)

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithoutParam

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithoutParam() *DescribeCustomLiveStreamWatermarkTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomLiveStreamWatermarkTemplatesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomLiveStreamWatermarkTemplatesRequest) SetFilters

param filters: 水印模板列表查询过滤条件:
 - name:   template 录制模板自定义名称
 - value:  如果参数为空,则查询全部

(Optional)

func (*DescribeCustomLiveStreamWatermarkTemplatesRequest) SetPageNum

param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeCustomLiveStreamWatermarkTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamWatermarkTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeCustomLiveStreamWatermarkTemplatesResponse

type DescribeCustomLiveStreamWatermarkTemplatesResponse struct {
	RequestID string                                           `json:"requestId"`
	Error     core.ErrorResponse                               `json:"error"`
	Result    DescribeCustomLiveStreamWatermarkTemplatesResult `json:"result"`
}

type DescribeCustomLiveStreamWatermarkTemplatesResult

type DescribeCustomLiveStreamWatermarkTemplatesResult struct {
	PageNumber         int                      `json:"pageNumber"`
	PageSize           int                      `json:"pageSize"`
	TotalCount         int                      `json:"totalCount"`
	WatermarkTemplates []live.WatermarkTemplate `json:"watermarkTemplates"`
}

type DescribeDomainOnlineStreamRequest added in v1.10.0

type DescribeDomainOnlineStreamRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	DomainName string `json:"domainName"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 页码,起始页码1
	(Optional) */
	PageNum *int `json:"pageNum"`

	/* 每页最大记录数,取值:[10,100],默认:10
	(Optional) */
	PageSize *int `json:"pageSize"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,查询时间跨度不超过30天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeDomainOnlineStreamRequest added in v1.10.0

func NewDescribeDomainOnlineStreamRequest(
	domainName string,
	startTime string,
) *DescribeDomainOnlineStreamRequest
  • param domainName: 推流域名 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDomainOnlineStreamRequestWithAllParams added in v1.10.0

func NewDescribeDomainOnlineStreamRequestWithAllParams(
	domainName string,
	appName *string,
	streamName *string,
	pageNum *int,
	pageSize *int,
	startTime string,
	endTime *string,
) *DescribeDomainOnlineStreamRequest
  • param domainName: 推流域名 (Required)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param pageNum: 页码,起始页码1 (Optional)
  • param pageSize: 每页最大记录数,取值:[10,100],默认:10 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过30天 (Optional)

func NewDescribeDomainOnlineStreamRequestWithoutParam added in v1.10.0

func NewDescribeDomainOnlineStreamRequestWithoutParam() *DescribeDomainOnlineStreamRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDomainOnlineStreamRequest) GetRegionId added in v1.10.0

func (r DescribeDomainOnlineStreamRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDomainOnlineStreamRequest) SetAppName added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeDomainOnlineStreamRequest) SetDomainName added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetDomainName(domainName string)

param domainName: 推流域名(Required)

func (*DescribeDomainOnlineStreamRequest) SetEndTime added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过30天

(Optional)

func (*DescribeDomainOnlineStreamRequest) SetPageNum added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetPageNum(pageNum int)
param pageNum: 页码,起始页码1

(Optional)

func (*DescribeDomainOnlineStreamRequest) SetPageSize added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetPageSize(pageSize int)
param pageSize: 每页最大记录数,取值:[10,100],默认:10

(Optional)

func (*DescribeDomainOnlineStreamRequest) SetStartTime added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribeDomainOnlineStreamRequest) SetStreamName added in v1.10.0

func (r *DescribeDomainOnlineStreamRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeDomainOnlineStreamResponse added in v1.10.0

type DescribeDomainOnlineStreamResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeDomainOnlineStreamResult `json:"result"`
}

type DescribeDomainOnlineStreamResult added in v1.10.0

type DescribeDomainOnlineStreamResult struct {
	StreamList []live.PublishOnlineStreamResultData `json:"streamList"`
	Total      int                                  `json:"total"`
}

type DescribeDomainsLogRequest added in v1.10.0

type DescribeDomainsLogRequest struct {
	core.JDCloudRequest

	/* 播放域名,多个时以逗号(,)分隔  */
	Domains string `json:"domains"`

	/* 时间间隔,取值(hour,day),不传默认小时
	- 按小时(hour)下载时是.log文件
	- 按天(day)下载时是.zip文件
	 (Optional) */
	Interval *string `json:"interval"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeDomainsLogRequest added in v1.10.0

func NewDescribeDomainsLogRequest(
	domains string,
	startTime string,
) *DescribeDomainsLogRequest
  • param domains: 播放域名,多个时以逗号(,)分隔 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDomainsLogRequestWithAllParams added in v1.10.0

func NewDescribeDomainsLogRequestWithAllParams(
	domains string,
	interval *string,
	startTime string,
	endTime *string,
) *DescribeDomainsLogRequest
  • param domains: 播放域名,多个时以逗号(,)分隔 (Required)
  • param interval: 时间间隔,取值(hour,day),不传默认小时
  • 按小时(hour)下载时是.log文件
  • 按天(day)下载时是.zip文件 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间 (Optional)

func NewDescribeDomainsLogRequestWithoutParam added in v1.10.0

func NewDescribeDomainsLogRequestWithoutParam() *DescribeDomainsLogRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDomainsLogRequest) GetRegionId added in v1.10.0

func (r DescribeDomainsLogRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDomainsLogRequest) SetDomains added in v1.10.0

func (r *DescribeDomainsLogRequest) SetDomains(domains string)

param domains: 播放域名,多个时以逗号(,)分隔(Required)

func (*DescribeDomainsLogRequest) SetEndTime added in v1.10.0

func (r *DescribeDomainsLogRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间

(Optional)

func (*DescribeDomainsLogRequest) SetInterval added in v1.10.0

func (r *DescribeDomainsLogRequest) SetInterval(interval string)
param interval: 时间间隔,取值(hour,day),不传默认小时

- 按小时(hour)下载时是.log文件 - 按天(day)下载时是.zip文件 (Optional)

func (*DescribeDomainsLogRequest) SetStartTime added in v1.10.0

func (r *DescribeDomainsLogRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

type DescribeDomainsLogResponse added in v1.10.0

type DescribeDomainsLogResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeDomainsLogResult `json:"result"`
}

type DescribeDomainsLogResult added in v1.10.0

type DescribeDomainsLogResult struct {
	DataList []live.DomainsLogResult `json:"dataList"`
}

type DescribeLiveAppRequest

type DescribeLiveAppRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围: [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围: [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 域名下的app列表过滤条件:
	 - name: publishDomain 直播的推流域名
	 - values: 如果参数为空,则查询全部
	 - 过滤条件为空,则表示查询用户下的所有应用名
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeLiveAppRequest

func NewDescribeLiveAppRequest() *DescribeLiveAppRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveAppRequestWithAllParams

func NewDescribeLiveAppRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeLiveAppRequest
  • param pageNum: 页码
  • 取值范围: [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围: [10, 100] (Optional)
  • param filters: 域名下的app列表过滤条件:
  • name: publishDomain 直播的推流域名
  • values: 如果参数为空,则查询全部
  • 过滤条件为空,则表示查询用户下的所有应用名 (Optional)

func NewDescribeLiveAppRequestWithoutParam

func NewDescribeLiveAppRequestWithoutParam() *DescribeLiveAppRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveAppRequest) GetRegionId

func (r DescribeLiveAppRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveAppRequest) SetFilters

func (r *DescribeLiveAppRequest) SetFilters(filters []live.Filter)
param filters: 域名下的app列表过滤条件:
 - name: publishDomain 直播的推流域名
 - values: 如果参数为空,则查询全部
 - 过滤条件为空,则表示查询用户下的所有应用名

(Optional)

func (*DescribeLiveAppRequest) SetPageNum

func (r *DescribeLiveAppRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围: [1, 100000] (Optional)

func (*DescribeLiveAppRequest) SetPageSize

func (r *DescribeLiveAppRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围: [10, 100] (Optional)

type DescribeLiveAppResponse

type DescribeLiveAppResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeLiveAppResult `json:"result"`
}

type DescribeLiveAppResult

type DescribeLiveAppResult struct {
	PageNumber int        `json:"pageNumber"`
	PageSize   int        `json:"pageSize"`
	TotalCount int        `json:"totalCount"`
	Apps       []live.App `json:"apps"`
}

type DescribeLiveBillDataRequest added in v1.20.0

type DescribeLiveBillDataRequest struct {
	core.JDCloudRequest

	/* 传参字段描述:
	 startTime(必填) : 2019-08-21T16:15:10Z
	 endTime(必填)   : 2019-08-21T18:10:10Z
	 billType(非必填)  :
	   enum:
	     - 1   (online)
	     - 2   (offline)
	 userPin(非必填)   : mt_test
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeLiveBillDataRequest added in v1.20.0

func NewDescribeLiveBillDataRequest() *DescribeLiveBillDataRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveBillDataRequestWithAllParams added in v1.20.0

func NewDescribeLiveBillDataRequestWithAllParams(
	filters []live.Filter,
) *DescribeLiveBillDataRequest
  • param filters: 传参字段描述: startTime(必填) : 2019-08-21T16:15:10Z endTime(必填) : 2019-08-21T18:10:10Z billType(非必填) : enum:
  • 1 (online)
  • 2 (offline) userPin(非必填) : mt_test

(Optional)

func NewDescribeLiveBillDataRequestWithoutParam added in v1.20.0

func NewDescribeLiveBillDataRequestWithoutParam() *DescribeLiveBillDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveBillDataRequest) GetRegionId added in v1.20.0

func (r DescribeLiveBillDataRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveBillDataRequest) SetFilters added in v1.20.0

func (r *DescribeLiveBillDataRequest) SetFilters(filters []live.Filter)
param filters: 传参字段描述:
 startTime(必填) : 2019-08-21T16:15:10Z
 endTime(必填)   : 2019-08-21T18:10:10Z
 billType(非必填)  :
   enum:
     - 1   (online)
     - 2   (offline)
 userPin(非必填)   : mt_test

(Optional)

type DescribeLiveBillDataResponse added in v1.20.0

type DescribeLiveBillDataResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeLiveBillDataResult `json:"result"`
}

type DescribeLiveBillDataResult added in v1.20.0

type DescribeLiveBillDataResult struct {
	Content []live.BillDataObject `json:"content"`
}

type DescribeLiveDomainCertificateRequest added in v1.13.0

type DescribeLiveDomainCertificateRequest struct {
	core.JDCloudRequest

	/* (直播or时移)播放域名
	- 仅支持精确匹配
	*/
	PlayDomain string `json:"playDomain"`
}

func NewDescribeLiveDomainCertificateRequest added in v1.13.0

func NewDescribeLiveDomainCertificateRequest(
	playDomain string,
) *DescribeLiveDomainCertificateRequest
  • param playDomain: (直播or时移)播放域名
  • 仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveDomainCertificateRequestWithAllParams added in v1.13.0

func NewDescribeLiveDomainCertificateRequestWithAllParams(
	playDomain string,
) *DescribeLiveDomainCertificateRequest
  • param playDomain: (直播or时移)播放域名
  • 仅支持精确匹配 (Required)

func NewDescribeLiveDomainCertificateRequestWithoutParam added in v1.13.0

func NewDescribeLiveDomainCertificateRequestWithoutParam() *DescribeLiveDomainCertificateRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveDomainCertificateRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveDomainCertificateRequest) SetPlayDomain added in v1.13.0

func (r *DescribeLiveDomainCertificateRequest) SetPlayDomain(playDomain string)
param playDomain: (直播or时移)播放域名

- 仅支持精确匹配 (Required)

type DescribeLiveDomainCertificateResponse added in v1.13.0

type DescribeLiveDomainCertificateResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeLiveDomainCertificateResult `json:"result"`
}

type DescribeLiveDomainCertificateResult added in v1.13.0

type DescribeLiveDomainCertificateResult struct {
	PlayDomain string `json:"playDomain"`
	CertStatus string `json:"certStatus"`
	Cert       string `json:"cert"`
	Title      string `json:"title"`
}

type DescribeLiveDomainDetailRequest

type DescribeLiveDomainDetailRequest struct {
	core.JDCloudRequest

	/* 推流域名
	- 需要停用的域名对(推流域名,播放域名)中的推流域名
	*/
	PublishDomain string `json:"publishDomain"`
}

func NewDescribeLiveDomainDetailRequest

func NewDescribeLiveDomainDetailRequest(
	publishDomain string,
) *DescribeLiveDomainDetailRequest
  • param publishDomain: 推流域名
  • 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveDomainDetailRequestWithAllParams

func NewDescribeLiveDomainDetailRequestWithAllParams(
	publishDomain string,
) *DescribeLiveDomainDetailRequest
  • param publishDomain: 推流域名
  • 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required)

func NewDescribeLiveDomainDetailRequestWithoutParam

func NewDescribeLiveDomainDetailRequestWithoutParam() *DescribeLiveDomainDetailRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveDomainDetailRequest) GetRegionId

func (r DescribeLiveDomainDetailRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveDomainDetailRequest) SetPublishDomain

func (r *DescribeLiveDomainDetailRequest) SetPublishDomain(publishDomain string)
param publishDomain: 推流域名

- 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required)

type DescribeLiveDomainDetailResponse

type DescribeLiveDomainDetailResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeLiveDomainDetailResult `json:"result"`
}

type DescribeLiveDomainDetailResult

type DescribeLiveDomainDetailResult struct {
	SourceId       int64                `json:"sourceId"`
	PublishDomains []live.PublishDomain `json:"publishDomains"`
	PlayDomains    []live.PlayDomain    `json:"playDomains"`
}

type DescribeLiveDomainsRequest added in v1.4.0

type DescribeLiveDomainsRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围[1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 推流域名
	- 目前仅支持精确查询
	- 为空时,查询用户所有直播域名
	 (Optional) */
	PublishDomain *string `json:"publishDomain"`
}

func NewDescribeLiveDomainsRequest added in v1.4.0

func NewDescribeLiveDomainsRequest() *DescribeLiveDomainsRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveDomainsRequestWithAllParams added in v1.4.0

func NewDescribeLiveDomainsRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	publishDomain *string,
) *DescribeLiveDomainsRequest
  • param pageNum: 页码
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param publishDomain: 推流域名
  • 目前仅支持精确查询
  • 为空时,查询用户所有直播域名 (Optional)

func NewDescribeLiveDomainsRequestWithoutParam added in v1.4.0

func NewDescribeLiveDomainsRequestWithoutParam() *DescribeLiveDomainsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveDomainsRequest) GetRegionId added in v1.4.0

func (r DescribeLiveDomainsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveDomainsRequest) SetPageNum added in v1.4.0

func (r *DescribeLiveDomainsRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围[1, 100000] (Optional)

func (*DescribeLiveDomainsRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveDomainsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

func (*DescribeLiveDomainsRequest) SetPublishDomain added in v1.4.0

func (r *DescribeLiveDomainsRequest) SetPublishDomain(publishDomain string)
param publishDomain: 推流域名

- 目前仅支持精确查询 - 为空时,查询用户所有直播域名 (Optional)

type DescribeLiveDomainsResponse added in v1.4.0

type DescribeLiveDomainsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeLiveDomainsResult `json:"result"`
}

type DescribeLiveDomainsResult added in v1.4.0

type DescribeLiveDomainsResult struct {
	PageNumber    int                  `json:"pageNumber"`
	PageSize      int                  `json:"pageSize"`
	TotalCount    int                  `json:"totalCount"`
	DomainDetails []live.DomainDetails `json:"domainDetails"`
}

type DescribeLiveFileStorageDataRequest added in v1.8.0

type DescribeLiveFileStorageDataRequest struct {
	core.JDCloudRequest

	/* 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveFileStorageDataRequest added in v1.8.0

func NewDescribeLiveFileStorageDataRequest(
	startTime string,
) *DescribeLiveFileStorageDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveFileStorageDataRequestWithAllParams added in v1.8.0

func NewDescribeLiveFileStorageDataRequestWithAllParams(
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveFileStorageDataRequest

* param period: 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveFileStorageDataRequestWithoutParam added in v1.8.0

func NewDescribeLiveFileStorageDataRequestWithoutParam() *DescribeLiveFileStorageDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveFileStorageDataRequest) GetRegionId added in v1.8.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveFileStorageDataRequest) SetEndTime added in v1.8.0

func (r *DescribeLiveFileStorageDataRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveFileStorageDataRequest) SetPeriod added in v1.8.0

func (r *DescribeLiveFileStorageDataRequest) SetPeriod(period string)
param period: 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveFileStorageDataRequest) SetStartTime added in v1.8.0

func (r *DescribeLiveFileStorageDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

type DescribeLiveFileStorageDataResponse added in v1.8.0

type DescribeLiveFileStorageDataResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    DescribeLiveFileStorageDataResult `json:"result"`
}

type DescribeLiveFileStorageDataResult added in v1.8.0

type DescribeLiveFileStorageDataResult struct {
	DataList []live.FileStorageStatisticResult `json:"dataList"`
}

type DescribeLiveP2pConfigsRequest added in v1.13.0

type DescribeLiveP2pConfigsRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围[1, 100000]
	 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 直播的播放域名
	- 目前仅支持精确匹配
	*/
	PlayDomain string `json:"playDomain"`
}

func NewDescribeLiveP2pConfigsRequest added in v1.13.0

func NewDescribeLiveP2pConfigsRequest(
	playDomain string,
) *DescribeLiveP2pConfigsRequest
  • param playDomain: 直播的播放域名
  • 目前仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveP2pConfigsRequestWithAllParams added in v1.13.0

func NewDescribeLiveP2pConfigsRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	playDomain string,
) *DescribeLiveP2pConfigsRequest
  • param pageNumber: 页码
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param playDomain: 直播的播放域名
  • 目前仅支持精确匹配 (Required)

func NewDescribeLiveP2pConfigsRequestWithoutParam added in v1.13.0

func NewDescribeLiveP2pConfigsRequestWithoutParam() *DescribeLiveP2pConfigsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveP2pConfigsRequest) GetRegionId added in v1.13.0

func (r DescribeLiveP2pConfigsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveP2pConfigsRequest) SetPageNumber added in v1.13.0

func (r *DescribeLiveP2pConfigsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码

- 取值范围[1, 100000] (Optional)

func (*DescribeLiveP2pConfigsRequest) SetPageSize added in v1.13.0

func (r *DescribeLiveP2pConfigsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

func (*DescribeLiveP2pConfigsRequest) SetPlayDomain added in v1.13.0

func (r *DescribeLiveP2pConfigsRequest) SetPlayDomain(playDomain string)
param playDomain: 直播的播放域名

- 目前仅支持精确匹配 (Required)

type DescribeLiveP2pConfigsResponse added in v1.13.0

type DescribeLiveP2pConfigsResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeLiveP2pConfigsResult `json:"result"`
}

type DescribeLiveP2pConfigsResult added in v1.13.0

type DescribeLiveP2pConfigsResult struct {
	PageNumber int               `json:"pageNumber"`
	PageSize   int               `json:"pageSize"`
	TotalCount int               `json:"totalCount"`
	P2pConfigs []live.P2pConfigs `json:"p2pConfigs"`
}

type DescribeLivePlayAuthKeyRequest added in v1.6.0

type DescribeLivePlayAuthKeyRequest struct {
	core.JDCloudRequest

	/* (直播or时移)播放域名
	- 仅支持精确匹配
	*/
	PlayDomain string `json:"playDomain"`
}

func NewDescribeLivePlayAuthKeyRequest added in v1.6.0

func NewDescribeLivePlayAuthKeyRequest(
	playDomain string,
) *DescribeLivePlayAuthKeyRequest
  • param playDomain: (直播or时移)播放域名
  • 仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLivePlayAuthKeyRequestWithAllParams added in v1.6.0

func NewDescribeLivePlayAuthKeyRequestWithAllParams(
	playDomain string,
) *DescribeLivePlayAuthKeyRequest
  • param playDomain: (直播or时移)播放域名
  • 仅支持精确匹配 (Required)

func NewDescribeLivePlayAuthKeyRequestWithoutParam added in v1.6.0

func NewDescribeLivePlayAuthKeyRequestWithoutParam() *DescribeLivePlayAuthKeyRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLivePlayAuthKeyRequest) GetRegionId added in v1.6.0

func (r DescribeLivePlayAuthKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLivePlayAuthKeyRequest) SetPlayDomain added in v1.6.0

func (r *DescribeLivePlayAuthKeyRequest) SetPlayDomain(playDomain string)
param playDomain: (直播or时移)播放域名

- 仅支持精确匹配 (Required)

type DescribeLivePlayAuthKeyResponse added in v1.6.0

type DescribeLivePlayAuthKeyResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeLivePlayAuthKeyResult `json:"result"`
}

type DescribeLivePlayAuthKeyResult added in v1.6.0

type DescribeLivePlayAuthKeyResult struct {
	PlayDomain string `json:"playDomain"`
	AuthStatus string `json:"authStatus"`
	AuthKey    string `json:"authKey"`
}

type DescribeLivePornDataRequest added in v1.6.0

type DescribeLivePornDataRequest struct {
	core.JDCloudRequest

	/* 推流域名 (Optional) */
	PublishDomain *string `json:"publishDomain"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 支持最大查询90天以内的数据
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLivePornDataRequest added in v1.6.0

func NewDescribeLivePornDataRequest(
	startTime string,
) *DescribeLivePornDataRequest
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLivePornDataRequestWithAllParams added in v1.6.0

func NewDescribeLivePornDataRequestWithAllParams(
	publishDomain *string,
	appName *string,
	streamName *string,
	startTime string,
	endTime *string,
) *DescribeLivePornDataRequest
  • param publishDomain: 推流域名 (Optional)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据 (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间 (Optional)

func NewDescribeLivePornDataRequestWithoutParam added in v1.6.0

func NewDescribeLivePornDataRequestWithoutParam() *DescribeLivePornDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLivePornDataRequest) GetRegionId added in v1.6.0

func (r DescribeLivePornDataRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLivePornDataRequest) SetAppName added in v1.6.0

func (r *DescribeLivePornDataRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLivePornDataRequest) SetEndTime added in v1.6.0

func (r *DescribeLivePornDataRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间

(Optional)

func (*DescribeLivePornDataRequest) SetPublishDomain added in v1.6.0

func (r *DescribeLivePornDataRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Optional)

func (*DescribeLivePornDataRequest) SetStartTime added in v1.6.0

func (r *DescribeLivePornDataRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据

(Required)

func (*DescribeLivePornDataRequest) SetStreamName added in v1.6.0

func (r *DescribeLivePornDataRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeLivePornDataResponse added in v1.6.0

type DescribeLivePornDataResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeLivePornDataResult `json:"result"`
}

type DescribeLivePornDataResult added in v1.6.0

type DescribeLivePornDataResult struct {
	PornData []live.PornCountStatisticResult `json:"pornData"`
}

type DescribeLivePublishStreamNumRequest added in v1.7.0

type DescribeLivePublishStreamNumRequest struct {
	core.JDCloudRequest

	/* 播放域名 (Optional) */
	DomainName *string `json:"domainName"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLivePublishStreamNumRequest added in v1.7.0

func NewDescribeLivePublishStreamNumRequest(
	startTime string,
) *DescribeLivePublishStreamNumRequest
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLivePublishStreamNumRequestWithAllParams added in v1.7.0

func NewDescribeLivePublishStreamNumRequestWithAllParams(
	domainName *string,
	appName *string,
	protocolType *string,
	ispName *string,
	locationName *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLivePublishStreamNumRequest
  • param domainName: 播放域名 (Optional)
  • param appName: 应用名称 (Optional)
  • param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional)
  • param ispName: 运营商 (Optional)
  • param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional)
  • param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间 (Optional)

func NewDescribeLivePublishStreamNumRequestWithoutParam added in v1.7.0

func NewDescribeLivePublishStreamNumRequestWithoutParam() *DescribeLivePublishStreamNumRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLivePublishStreamNumRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLivePublishStreamNumRequest) SetAppName added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLivePublishStreamNumRequest) SetDomainName added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetDomainName(domainName string)

param domainName: 播放域名(Optional)

func (*DescribeLivePublishStreamNumRequest) SetEndTime added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间

(Optional)

func (*DescribeLivePublishStreamNumRequest) SetIspName added in v1.8.0

func (r *DescribeLivePublishStreamNumRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLivePublishStreamNumRequest) SetLocationName added in v1.8.0

func (r *DescribeLivePublishStreamNumRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLivePublishStreamNumRequest) SetPeriod added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLivePublishStreamNumRequest) SetProtocolType added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLivePublishStreamNumRequest) SetStartTime added in v1.7.0

func (r *DescribeLivePublishStreamNumRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

type DescribeLivePublishStreamNumResponse added in v1.7.0

type DescribeLivePublishStreamNumResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeLivePublishStreamNumResult `json:"result"`
}

type DescribeLivePublishStreamNumResult added in v1.7.0

type DescribeLivePublishStreamNumResult struct {
	DataList []live.LiveStreamUserNumResult `json:"dataList"`
}

type DescribeLiveRestartAuthKeyRequest added in v1.13.0

type DescribeLiveRestartAuthKeyRequest struct {
	core.JDCloudRequest

	/* 直播回看播放域名
	- 仅支持精确匹配
	*/
	RestartDomain string `json:"restartDomain"`
}

func NewDescribeLiveRestartAuthKeyRequest added in v1.13.0

func NewDescribeLiveRestartAuthKeyRequest(
	restartDomain string,
) *DescribeLiveRestartAuthKeyRequest
  • param restartDomain: 直播回看播放域名
  • 仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveRestartAuthKeyRequestWithAllParams added in v1.13.0

func NewDescribeLiveRestartAuthKeyRequestWithAllParams(
	restartDomain string,
) *DescribeLiveRestartAuthKeyRequest
  • param restartDomain: 直播回看播放域名
  • 仅支持精确匹配 (Required)

func NewDescribeLiveRestartAuthKeyRequestWithoutParam added in v1.13.0

func NewDescribeLiveRestartAuthKeyRequestWithoutParam() *DescribeLiveRestartAuthKeyRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveRestartAuthKeyRequest) GetRegionId added in v1.13.0

func (r DescribeLiveRestartAuthKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveRestartAuthKeyRequest) SetRestartDomain added in v1.13.0

func (r *DescribeLiveRestartAuthKeyRequest) SetRestartDomain(restartDomain string)
param restartDomain: 直播回看播放域名

- 仅支持精确匹配 (Required)

type DescribeLiveRestartAuthKeyResponse added in v1.13.0

type DescribeLiveRestartAuthKeyResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeLiveRestartAuthKeyResult `json:"result"`
}

type DescribeLiveRestartAuthKeyResult added in v1.13.0

type DescribeLiveRestartAuthKeyResult struct {
	PlayDomain string `json:"playDomain"`
	AuthStatus string `json:"authStatus"`
	AuthKey    string `json:"authKey"`
}

type DescribeLiveRestartConfigsRequest added in v1.10.0

type DescribeLiveRestartConfigsRequest struct {
	core.JDCloudRequest

	/* 页码;默认为1;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小;默认为10;取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 回看的推流域名  */
	RestartDomain string `json:"restartDomain"`
}

func NewDescribeLiveRestartConfigsRequest added in v1.10.0

func NewDescribeLiveRestartConfigsRequest(
	restartDomain string,
) *DescribeLiveRestartConfigsRequest

* param restartDomain: 回看的推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveRestartConfigsRequestWithAllParams added in v1.10.0

func NewDescribeLiveRestartConfigsRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	restartDomain string,
) *DescribeLiveRestartConfigsRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param restartDomain: 回看的推流域名 (Required)

func NewDescribeLiveRestartConfigsRequestWithoutParam added in v1.10.0

func NewDescribeLiveRestartConfigsRequestWithoutParam() *DescribeLiveRestartConfigsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveRestartConfigsRequest) GetRegionId added in v1.10.0

func (r DescribeLiveRestartConfigsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveRestartConfigsRequest) SetPageNum added in v1.10.0

func (r *DescribeLiveRestartConfigsRequest) SetPageNum(pageNum int)

param pageNum: 页码;默认为1;取值范围[1, 100000](Optional)

func (*DescribeLiveRestartConfigsRequest) SetPageSize added in v1.10.0

func (r *DescribeLiveRestartConfigsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)

func (*DescribeLiveRestartConfigsRequest) SetRestartDomain added in v1.10.0

func (r *DescribeLiveRestartConfigsRequest) SetRestartDomain(restartDomain string)

param restartDomain: 回看的推流域名(Required)

type DescribeLiveRestartConfigsResponse added in v1.10.0

type DescribeLiveRestartConfigsResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeLiveRestartConfigsResult `json:"result"`
}

type DescribeLiveRestartConfigsResult added in v1.10.0

type DescribeLiveRestartConfigsResult struct {
	PageNumber     int                  `json:"pageNumber"`
	PageSize       int                  `json:"pageSize"`
	TotalCount     int                  `json:"totalCount"`
	RestartConfigs []live.RestartConfig `json:"restartConfigs"`
}

type DescribeLiveRestartDomainCertificateRequest added in v1.13.0

type DescribeLiveRestartDomainCertificateRequest struct {
	core.JDCloudRequest

	/* 直播回看域名
	- 仅支持精确匹配
	*/
	RestartDomain string `json:"restartDomain"`
}

func NewDescribeLiveRestartDomainCertificateRequest added in v1.13.0

func NewDescribeLiveRestartDomainCertificateRequest(
	restartDomain string,
) *DescribeLiveRestartDomainCertificateRequest
  • param restartDomain: 直播回看域名
  • 仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveRestartDomainCertificateRequestWithAllParams added in v1.13.0

func NewDescribeLiveRestartDomainCertificateRequestWithAllParams(
	restartDomain string,
) *DescribeLiveRestartDomainCertificateRequest
  • param restartDomain: 直播回看域名
  • 仅支持精确匹配 (Required)

func NewDescribeLiveRestartDomainCertificateRequestWithoutParam added in v1.13.0

func NewDescribeLiveRestartDomainCertificateRequestWithoutParam() *DescribeLiveRestartDomainCertificateRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveRestartDomainCertificateRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveRestartDomainCertificateRequest) SetRestartDomain added in v1.13.0

func (r *DescribeLiveRestartDomainCertificateRequest) SetRestartDomain(restartDomain string)
param restartDomain: 直播回看域名

- 仅支持精确匹配 (Required)

type DescribeLiveRestartDomainCertificateResponse added in v1.13.0

type DescribeLiveRestartDomainCertificateResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DescribeLiveRestartDomainCertificateResult `json:"result"`
}

type DescribeLiveRestartDomainCertificateResult added in v1.13.0

type DescribeLiveRestartDomainCertificateResult struct {
	RestartDomain string `json:"restartDomain"`
	CertStatus    string `json:"certStatus"`
	Cert          string `json:"cert"`
	Title         string `json:"title"`
}

type DescribeLiveSnapshotDataRequest added in v1.6.0

type DescribeLiveSnapshotDataRequest struct {
	core.JDCloudRequest

	/* 推流域名 (Optional) */
	PublishDomain *string `json:"publishDomain"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 起始时间:
	- UTC时间
	  格式: yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例: 2018-10-21T10:00:00Z
	- 支持最大查询90天以内的数据
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式: yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例: 2018-10-21T10:00:00Z
	- 为空,默认当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveSnapshotDataRequest added in v1.6.0

func NewDescribeLiveSnapshotDataRequest(
	startTime string,
) *DescribeLiveSnapshotDataRequest
  • param startTime: 起始时间:
  • UTC时间 格式: yyyy-MM-dd'T'HH:mm:ss'Z' 示例: 2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveSnapshotDataRequestWithAllParams added in v1.6.0

func NewDescribeLiveSnapshotDataRequestWithAllParams(
	publishDomain *string,
	appName *string,
	streamName *string,
	startTime string,
	endTime *string,
) *DescribeLiveSnapshotDataRequest
  • param publishDomain: 推流域名 (Optional)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param startTime: 起始时间:
  • UTC时间 格式: yyyy-MM-dd'T'HH:mm:ss'Z' 示例: 2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据 (Required)
  • param endTime: 结束时间:
  • UTC时间 格式: yyyy-MM-dd'T'HH:mm:ss'Z' 示例: 2018-10-21T10:00:00Z
  • 为空,默认当前时间 (Optional)

func NewDescribeLiveSnapshotDataRequestWithoutParam added in v1.6.0

func NewDescribeLiveSnapshotDataRequestWithoutParam() *DescribeLiveSnapshotDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveSnapshotDataRequest) GetRegionId added in v1.6.0

func (r DescribeLiveSnapshotDataRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveSnapshotDataRequest) SetAppName added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLiveSnapshotDataRequest) SetEndTime added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式: yyyy-MM-dd'T'HH:mm:ss'Z' 示例: 2018-10-21T10:00:00Z
  • 为空,默认当前时间

(Optional)

func (*DescribeLiveSnapshotDataRequest) SetPublishDomain added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Optional)

func (*DescribeLiveSnapshotDataRequest) SetStartTime added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetStartTime(startTime string)
param startTime: 起始时间:
  • UTC时间 格式: yyyy-MM-dd'T'HH:mm:ss'Z' 示例: 2018-10-21T10:00:00Z
  • 支持最大查询90天以内的数据

(Required)

func (*DescribeLiveSnapshotDataRequest) SetStreamName added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeLiveSnapshotDataResponse added in v1.6.0

type DescribeLiveSnapshotDataResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeLiveSnapshotDataResult `json:"result"`
}

type DescribeLiveSnapshotDataResult added in v1.6.0

type DescribeLiveSnapshotDataResult struct {
	SnapshotData []live.SnapshotCountStatisticResult `json:"snapshotData"`
}

type DescribeLiveStatisticGroupByAreaIspRequest added in v1.10.0

type DescribeLiveStatisticGroupByAreaIspRequest struct {
	core.JDCloudRequest

	/* 播放域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,查询时间跨度不超过1天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStatisticGroupByAreaIspRequest added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaIspRequest(
	domainName string,
	appName string,
	streamName string,
	startTime string,
) *DescribeLiveStatisticGroupByAreaIspRequest
  • param domainName: 播放域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStatisticGroupByAreaIspRequestWithAllParams added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaIspRequestWithAllParams(
	domainName string,
	appName string,
	streamName string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStatisticGroupByAreaIspRequest
  • param domainName: 播放域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param ispName: 运营商 (Optional)
  • param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional)
  • param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional)
  • param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天 (Optional)

func NewDescribeLiveStatisticGroupByAreaIspRequestWithoutParam added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaIspRequestWithoutParam() *DescribeLiveStatisticGroupByAreaIspRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStatisticGroupByAreaIspRequest) GetRegionId added in v1.10.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetAppName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetDomainName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetDomainName(domainName string)

param domainName: 播放域名(Required)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetEndTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天

(Optional)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetIspName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetLocationName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetPeriod added in v1.10.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetProtocolType added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetStartTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribeLiveStatisticGroupByAreaIspRequest) SetStreamName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaIspRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type DescribeLiveStatisticGroupByAreaIspResponse added in v1.10.0

type DescribeLiveStatisticGroupByAreaIspResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DescribeLiveStatisticGroupByAreaIspResult `json:"result"`
}

type DescribeLiveStatisticGroupByAreaIspResult added in v1.10.0

type DescribeLiveStatisticGroupByAreaIspResult struct {
	DataList []live.LiveStatisticGroupByAreaIspResult `json:"dataList"`
}

type DescribeLiveStatisticGroupByAreaRequest added in v1.10.0

type DescribeLiveStatisticGroupByAreaRequest struct {
	core.JDCloudRequest

	/* 播放域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,查询时间跨度不超过1天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStatisticGroupByAreaRequest added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaRequest(
	domainName string,
	appName string,
	streamName string,
	startTime string,
) *DescribeLiveStatisticGroupByAreaRequest
  • param domainName: 播放域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStatisticGroupByAreaRequestWithAllParams added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaRequestWithAllParams(
	domainName string,
	appName string,
	streamName string,
	ispName *string,
	locationName *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStatisticGroupByAreaRequest
  • param domainName: 播放域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param ispName: 运营商 (Optional)
  • param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional)
  • param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天 (Optional)

func NewDescribeLiveStatisticGroupByAreaRequestWithoutParam added in v1.10.0

func NewDescribeLiveStatisticGroupByAreaRequestWithoutParam() *DescribeLiveStatisticGroupByAreaRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStatisticGroupByAreaRequest) GetRegionId added in v1.10.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStatisticGroupByAreaRequest) SetAppName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribeLiveStatisticGroupByAreaRequest) SetDomainName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetDomainName(domainName string)

param domainName: 播放域名(Required)

func (*DescribeLiveStatisticGroupByAreaRequest) SetEndTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天

(Optional)

func (*DescribeLiveStatisticGroupByAreaRequest) SetIspName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStatisticGroupByAreaRequest) SetLocationName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStatisticGroupByAreaRequest) SetPeriod added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStatisticGroupByAreaRequest) SetStartTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribeLiveStatisticGroupByAreaRequest) SetStreamName added in v1.10.0

func (r *DescribeLiveStatisticGroupByAreaRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type DescribeLiveStatisticGroupByAreaResponse added in v1.10.0

type DescribeLiveStatisticGroupByAreaResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DescribeLiveStatisticGroupByAreaResult `json:"result"`
}

type DescribeLiveStatisticGroupByAreaResult added in v1.10.0

type DescribeLiveStatisticGroupByAreaResult struct {
	DataList []live.LiveStatisticGroupByAreaResult `json:"dataList"`
}

type DescribeLiveStatisticGroupByStreamRequest added in v1.10.0

type DescribeLiveStatisticGroupByStreamRequest struct {
	core.JDCloudRequest

	/* 播放域名 (Optional) */
	DomainName *string `json:"domainName"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,查询时间跨度不超过1天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStatisticGroupByStreamRequest added in v1.10.0

func NewDescribeLiveStatisticGroupByStreamRequest(
	startTime string,
) *DescribeLiveStatisticGroupByStreamRequest
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStatisticGroupByStreamRequestWithAllParams added in v1.10.0

func NewDescribeLiveStatisticGroupByStreamRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStatisticGroupByStreamRequest
  • param domainName: 播放域名 (Optional)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param ispName: 运营商 (Optional)
  • param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional)
  • param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天 (Optional)

func NewDescribeLiveStatisticGroupByStreamRequestWithoutParam added in v1.10.0

func NewDescribeLiveStatisticGroupByStreamRequestWithoutParam() *DescribeLiveStatisticGroupByStreamRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStatisticGroupByStreamRequest) GetRegionId added in v1.10.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStatisticGroupByStreamRequest) SetAppName added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetDomainName added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetDomainName(domainName string)

param domainName: 播放域名(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetEndTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天

(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetIspName added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetLocationName added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetPeriod added in v1.10.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStatisticGroupByStreamRequest) SetStartTime added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribeLiveStatisticGroupByStreamRequest) SetStreamName added in v1.10.0

func (r *DescribeLiveStatisticGroupByStreamRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeLiveStatisticGroupByStreamResponse added in v1.10.0

type DescribeLiveStatisticGroupByStreamResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    DescribeLiveStatisticGroupByStreamResult `json:"result"`
}

type DescribeLiveStatisticGroupByStreamResult added in v1.10.0

type DescribeLiveStatisticGroupByStreamResult struct {
	DataList []live.LiveStatisticGroupByStreamResult `json:"dataList"`
}

type DescribeLiveStreamBandwidthDataRequest added in v1.7.0

type DescribeLiveStreamBandwidthDataRequest struct {
	core.JDCloudRequest

	/* 播放域名,可以通过指定域名查询该域名下产生的带宽数据。
	(Optional) */
	DomainName *string `json:"domainName"`

	/* 推流AppName,将AppName作为查询条件时须指定域名。
	(Optional) */
	AppName *string `json:"appName"`

	/* 流名称,将流名称作为查询条件时须指定域名和AppName。
	(Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamBandwidthDataRequest added in v1.7.0

func NewDescribeLiveStreamBandwidthDataRequest(
	startTime string,
) *DescribeLiveStreamBandwidthDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamBandwidthDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamBandwidthDataRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamBandwidthDataRequest

* param domainName: 播放域名,可以通过指定域名查询该域名下产生的带宽数据。 (Optional) * param appName: 推流AppName,将AppName作为查询条件时须指定域名。 (Optional) * param streamName: 流名称,将流名称作为查询条件时须指定域名和AppName。 (Optional) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveStreamBandwidthDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamBandwidthDataRequestWithoutParam() *DescribeLiveStreamBandwidthDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamBandwidthDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamBandwidthDataRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetAppName(appName string)
param appName: 推流AppName,将AppName作为查询条件时须指定域名。

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetDomainName(domainName string)
param domainName: 播放域名,可以通过指定域名查询该域名下产生的带宽数据。

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetIspName added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetPeriod added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStreamBandwidthDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

func (*DescribeLiveStreamBandwidthDataRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamBandwidthDataRequest) SetStreamName(streamName string)
param streamName: 流名称,将流名称作为查询条件时须指定域名和AppName。

(Optional)

type DescribeLiveStreamBandwidthDataResponse added in v1.7.0

type DescribeLiveStreamBandwidthDataResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeLiveStreamBandwidthDataResult `json:"result"`
}

type DescribeLiveStreamBandwidthDataResult added in v1.7.0

type DescribeLiveStreamBandwidthDataResult struct {
	DataList []live.BandwidthStatisticResult `json:"dataList"`
}

type DescribeLiveStreamHistoryUserNumRequest added in v1.7.0

type DescribeLiveStreamHistoryUserNumRequest struct {
	core.JDCloudRequest

	/* 播放域名 (Optional) */
	DomainName *string `json:"domainName"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamHistoryUserNumRequest added in v1.7.0

func NewDescribeLiveStreamHistoryUserNumRequest(
	startTime string,
) *DescribeLiveStreamHistoryUserNumRequest
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamHistoryUserNumRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamHistoryUserNumRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamHistoryUserNumRequest
  • param domainName: 播放域名 (Optional)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param ispName: 运营商 (Optional)
  • param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional)
  • param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional)
  • param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间 (Optional)

func NewDescribeLiveStreamHistoryUserNumRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamHistoryUserNumRequestWithoutParam() *DescribeLiveStreamHistoryUserNumRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamHistoryUserNumRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamHistoryUserNumRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetDomainName(domainName string)

param domainName: 播放域名(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间

(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetIspName added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetPeriod added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStreamHistoryUserNumRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribeLiveStreamHistoryUserNumRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamHistoryUserNumRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeLiveStreamHistoryUserNumResponse added in v1.7.0

type DescribeLiveStreamHistoryUserNumResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DescribeLiveStreamHistoryUserNumResult `json:"result"`
}

type DescribeLiveStreamHistoryUserNumResult added in v1.7.0

type DescribeLiveStreamHistoryUserNumResult struct {
	DataList []live.LiveStreamUserNumResult `json:"dataList"`
}

type DescribeLiveStreamInfoRequest added in v1.7.0

type DescribeLiveStreamInfoRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`
}

func NewDescribeLiveStreamInfoRequest added in v1.7.0

func NewDescribeLiveStreamInfoRequest(
	publishDomain string,
	appName string,
	streamName string,
) *DescribeLiveStreamInfoRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamInfoRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamInfoRequestWithAllParams(
	publishDomain string,
	appName string,
	streamName string,
) *DescribeLiveStreamInfoRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required)

func NewDescribeLiveStreamInfoRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamInfoRequestWithoutParam() *DescribeLiveStreamInfoRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamInfoRequest) GetRegionId added in v1.7.0

func (r DescribeLiveStreamInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamInfoRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamInfoRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribeLiveStreamInfoRequest) SetPublishDomain added in v1.7.0

func (r *DescribeLiveStreamInfoRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DescribeLiveStreamInfoRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamInfoRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type DescribeLiveStreamInfoResponse added in v1.7.0

type DescribeLiveStreamInfoResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeLiveStreamInfoResult `json:"result"`
}

type DescribeLiveStreamInfoResult added in v1.7.0

type DescribeLiveStreamInfoResult struct {
	PublishDomain string `json:"publishDomain"`
	AppName       string `json:"appName"`
	StreamName    string `json:"streamName"`
	Status        string `json:"status"`
}

type DescribeLiveStreamNotifyConfigRequest added in v1.4.0

type DescribeLiveStreamNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDescribeLiveStreamNotifyConfigRequest added in v1.4.0

func NewDescribeLiveStreamNotifyConfigRequest(
	publishDomain string,
) *DescribeLiveStreamNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamNotifyConfigRequestWithAllParams added in v1.4.0

func NewDescribeLiveStreamNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DescribeLiveStreamNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDescribeLiveStreamNotifyConfigRequestWithoutParam added in v1.4.0

func NewDescribeLiveStreamNotifyConfigRequestWithoutParam() *DescribeLiveStreamNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamNotifyConfigRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamNotifyConfigRequest) SetPublishDomain added in v1.4.0

func (r *DescribeLiveStreamNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DescribeLiveStreamNotifyConfigResponse added in v1.4.0

type DescribeLiveStreamNotifyConfigResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeLiveStreamNotifyConfigResult `json:"result"`
}

type DescribeLiveStreamNotifyConfigResult added in v1.4.0

type DescribeLiveStreamNotifyConfigResult struct {
	PublishDomain string `json:"publishDomain"`
	NotifyUrl     string `json:"notifyUrl"`
}

type DescribeLiveStreamOnlineListRequest added in v1.4.0

type DescribeLiveStreamOnlineListRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 页码
	- 取值范围[1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`
}

func NewDescribeLiveStreamOnlineListRequest added in v1.4.0

func NewDescribeLiveStreamOnlineListRequest(
	publishDomain string,
) *DescribeLiveStreamOnlineListRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamOnlineListRequestWithAllParams added in v1.4.0

func NewDescribeLiveStreamOnlineListRequestWithAllParams(
	publishDomain string,
	pageNum *int,
	pageSize *int,
	appName *string,
) *DescribeLiveStreamOnlineListRequest
  • param publishDomain: 推流域名 (Required)
  • param pageNum: 页码
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param appName: 应用名称 (Optional)

func NewDescribeLiveStreamOnlineListRequestWithoutParam added in v1.4.0

func NewDescribeLiveStreamOnlineListRequestWithoutParam() *DescribeLiveStreamOnlineListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamOnlineListRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamOnlineListRequest) SetAppName added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLiveStreamOnlineListRequest) SetPageNum added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围[1, 100000] (Optional)

func (*DescribeLiveStreamOnlineListRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

func (*DescribeLiveStreamOnlineListRequest) SetPublishDomain added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DescribeLiveStreamOnlineListResponse added in v1.4.0

type DescribeLiveStreamOnlineListResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeLiveStreamOnlineListResult `json:"result"`
}

type DescribeLiveStreamOnlineListResult added in v1.4.0

type DescribeLiveStreamOnlineListResult struct {
	PageNumber        int                     `json:"pageNumber"`
	PageSize          int                     `json:"pageSize"`
	TotalCount        int                     `json:"totalCount"`
	OnlineStreamInfos []live.OnlineStreamInfo `json:"onlineStreamInfos"`
}

type DescribeLiveStreamPlayerRankingDataRequest added in v1.7.0

type DescribeLiveStreamPlayerRankingDataRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 协议,取值范围:"hdl,hls"
	 */
	ProtocolType string `json:"protocolType"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,时间跨度不不超过⼀一天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamPlayerRankingDataRequest added in v1.7.0

func NewDescribeLiveStreamPlayerRankingDataRequest(
	domainName string,
	appName string,
	protocolType string,
	startTime string,
) *DescribeLiveStreamPlayerRankingDataRequest
  • param domainName: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param protocolType: 协议,取值范围:"hdl,hls" (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamPlayerRankingDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamPlayerRankingDataRequestWithAllParams(
	domainName string,
	appName string,
	protocolType string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamPlayerRankingDataRequest
  • param domainName: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param protocolType: 协议,取值范围:"hdl,hls" (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,时间跨度不不超过⼀一天 (Optional)

func NewDescribeLiveStreamPlayerRankingDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamPlayerRankingDataRequestWithoutParam() *DescribeLiveStreamPlayerRankingDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamPlayerRankingDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamPlayerRankingDataRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamPlayerRankingDataRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribeLiveStreamPlayerRankingDataRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamPlayerRankingDataRequest) SetDomainName(domainName string)

param domainName: 推流域名(Required)

func (*DescribeLiveStreamPlayerRankingDataRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveStreamPlayerRankingDataRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,时间跨度不不超过⼀一天

(Optional)

func (*DescribeLiveStreamPlayerRankingDataRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamPlayerRankingDataRequest) SetProtocolType(protocolType string)
param protocolType: 协议,取值范围:"hdl,hls"

(Required)

func (*DescribeLiveStreamPlayerRankingDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamPlayerRankingDataRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

type DescribeLiveStreamPlayerRankingDataResponse added in v1.7.0

type DescribeLiveStreamPlayerRankingDataResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DescribeLiveStreamPlayerRankingDataResult `json:"result"`
}

type DescribeLiveStreamPlayerRankingDataResult added in v1.7.0

type DescribeLiveStreamPlayerRankingDataResult struct {
	DataList []live.LiveStreamPlayerRankingResult `json:"dataList"`
}

type DescribeLiveStreamPublishBandwidthDataRequest added in v1.7.0

type DescribeLiveStreamPublishBandwidthDataRequest struct {
	core.JDCloudRequest

	/* 推流域名,可以通过指定域名查询该域名下产生的带宽数据。
	(Optional) */
	DomainName *string `json:"domainName"`

	/* 推流AppName,将AppName作为查询条件时须指定域名。
	(Optional) */
	AppName *string `json:"appName"`

	/* 流名称,将流名称作为查询条件时须指定域名和AppName。
	(Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamPublishBandwidthDataRequest added in v1.7.0

func NewDescribeLiveStreamPublishBandwidthDataRequest(
	startTime string,
) *DescribeLiveStreamPublishBandwidthDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamPublishBandwidthDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamPublishBandwidthDataRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamPublishBandwidthDataRequest

* param domainName: 推流域名,可以通过指定域名查询该域名下产生的带宽数据。 (Optional) * param appName: 推流AppName,将AppName作为查询条件时须指定域名。 (Optional) * param streamName: 流名称,将流名称作为查询条件时须指定域名和AppName。 (Optional) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveStreamPublishBandwidthDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamPublishBandwidthDataRequestWithoutParam() *DescribeLiveStreamPublishBandwidthDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamPublishBandwidthDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetAppName added in v1.7.0

param appName: 推流AppName,将AppName作为查询条件时须指定域名。

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamPublishBandwidthDataRequest) SetDomainName(domainName string)
param domainName: 推流域名,可以通过指定域名查询该域名下产生的带宽数据。

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetEndTime added in v1.7.0

param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetIspName added in v1.7.0

param ispName: 运营商

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveStreamPublishBandwidthDataRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetPeriod added in v1.7.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamPublishBandwidthDataRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamPublishBandwidthDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

func (*DescribeLiveStreamPublishBandwidthDataRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamPublishBandwidthDataRequest) SetStreamName(streamName string)
param streamName: 流名称,将流名称作为查询条件时须指定域名和AppName。

(Optional)

type DescribeLiveStreamPublishBandwidthDataResponse added in v1.7.0

type DescribeLiveStreamPublishBandwidthDataResponse struct {
	RequestID string                                       `json:"requestId"`
	Error     core.ErrorResponse                           `json:"error"`
	Result    DescribeLiveStreamPublishBandwidthDataResult `json:"result"`
}

type DescribeLiveStreamPublishBandwidthDataResult added in v1.7.0

type DescribeLiveStreamPublishBandwidthDataResult struct {
	DataList []live.BandwidthStatisticResult `json:"dataList"`
}

type DescribeLiveStreamPublishListRequest added in v1.4.0

type DescribeLiveStreamPublishListRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 页码<br>
	- 取值范围[1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小<br>
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 应用名称 (Optional) */
	AppName *string `json:"appName"`

	/* 流名称 (Optional) */
	StreamName *string `json:"streamName"`

	/* 推流起始时间<br>
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 最大支持最近30天内的流历史查询
	*/
	StartTime string `json:"startTime"`

	/* 推流结束时间<br>
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 最大支持最近30天内的流历史查询
	- 结束时间为空默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamPublishListRequest added in v1.4.0

func NewDescribeLiveStreamPublishListRequest(
	publishDomain string,
	startTime string,
) *DescribeLiveStreamPublishListRequest
  • param publishDomain: 推流域名 (Required)
  • param startTime: 推流起始时间<br>
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 最大支持最近30天内的流历史查询 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamPublishListRequestWithAllParams added in v1.4.0

func NewDescribeLiveStreamPublishListRequestWithAllParams(
	publishDomain string,
	pageNum *int,
	pageSize *int,
	appName *string,
	streamName *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamPublishListRequest
  • param publishDomain: 推流域名 (Required)
  • param pageNum: 页码<br>
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小<br>
  • 取值范围[10, 100] (Optional)
  • param appName: 应用名称 (Optional)
  • param streamName: 流名称 (Optional)
  • param startTime: 推流起始时间<br>
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 最大支持最近30天内的流历史查询 (Required)
  • param endTime: 推流结束时间<br>
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 最大支持最近30天内的流历史查询
  • 结束时间为空默认为当前时间 (Optional)

func NewDescribeLiveStreamPublishListRequestWithoutParam added in v1.4.0

func NewDescribeLiveStreamPublishListRequestWithoutParam() *DescribeLiveStreamPublishListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamPublishListRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamPublishListRequest) SetAppName added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetAppName(appName string)

param appName: 应用名称(Optional)

func (*DescribeLiveStreamPublishListRequest) SetEndTime added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetEndTime(endTime string)
param endTime: 推流结束时间<br>
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 最大支持最近30天内的流历史查询
  • 结束时间为空默认为当前时间

(Optional)

func (*DescribeLiveStreamPublishListRequest) SetPageNum added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetPageNum(pageNum int)
param pageNum: 页码<br>

- 取值范围[1, 100000] (Optional)

func (*DescribeLiveStreamPublishListRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小<br>

- 取值范围[10, 100] (Optional)

func (*DescribeLiveStreamPublishListRequest) SetPublishDomain added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*DescribeLiveStreamPublishListRequest) SetStartTime added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetStartTime(startTime string)
param startTime: 推流起始时间<br>
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 最大支持最近30天内的流历史查询

(Required)

func (*DescribeLiveStreamPublishListRequest) SetStreamName added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetStreamName(streamName string)

param streamName: 流名称(Optional)

type DescribeLiveStreamPublishListResponse added in v1.4.0

type DescribeLiveStreamPublishListResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeLiveStreamPublishListResult `json:"result"`
}

type DescribeLiveStreamPublishListResult added in v1.4.0

type DescribeLiveStreamPublishListResult struct {
	PageNumber             int                          `json:"pageNumber"`
	PageSize               int                          `json:"pageSize"`
	TotalCount             int                          `json:"totalCount"`
	LiveStreamPublishInfos []live.LiveStreamPublishInfo `json:"liveStreamPublishInfos"`
}

type DescribeLiveStreamPublishTrafficDataRequest added in v1.7.0

type DescribeLiveStreamPublishTrafficDataRequest struct {
	core.JDCloudRequest

	/* 推流域名,可以通过指定域名查询该域名下产生的带宽数据。
	(Optional) */
	DomainName *string `json:"domainName"`

	/* 推流AppName,将AppName作为查询条件时须指定域名。
	(Optional) */
	AppName *string `json:"appName"`

	/* 流名称
	(Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamPublishTrafficDataRequest added in v1.7.0

func NewDescribeLiveStreamPublishTrafficDataRequest(
	startTime string,
) *DescribeLiveStreamPublishTrafficDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamPublishTrafficDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamPublishTrafficDataRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamPublishTrafficDataRequest

* param domainName: 推流域名,可以通过指定域名查询该域名下产生的带宽数据。 (Optional) * param appName: 推流AppName,将AppName作为查询条件时须指定域名。 (Optional) * param streamName: 流名称 (Optional) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveStreamPublishTrafficDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamPublishTrafficDataRequestWithoutParam() *DescribeLiveStreamPublishTrafficDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamPublishTrafficDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamPublishTrafficDataRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetAppName(appName string)
param appName: 推流AppName,将AppName作为查询条件时须指定域名。

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetDomainName(domainName string)
param domainName: 推流域名,可以通过指定域名查询该域名下产生的带宽数据。

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetIspName added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetPeriod added in v1.7.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

func (*DescribeLiveStreamPublishTrafficDataRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamPublishTrafficDataRequest) SetStreamName(streamName string)
param streamName: 流名称

(Optional)

type DescribeLiveStreamPublishTrafficDataResponse added in v1.7.0

type DescribeLiveStreamPublishTrafficDataResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DescribeLiveStreamPublishTrafficDataResult `json:"result"`
}

type DescribeLiveStreamPublishTrafficDataResult added in v1.7.0

type DescribeLiveStreamPublishTrafficDataResult struct {
	DataList []live.TrafficStatisticResult `json:"dataList"`
}

type DescribeLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

type DescribeLiveStreamQualityDetectionNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequest(
	publishDomain string,
) *DescribeLiveStreamQualityDetectionNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequestWithAllParams added in v1.13.0

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DescribeLiveStreamQualityDetectionNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequestWithoutParam added in v1.13.0

func NewDescribeLiveStreamQualityDetectionNotifyConfigRequestWithoutParam() *DescribeLiveStreamQualityDetectionNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamQualityDetectionNotifyConfigRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain added in v1.13.0

func (r *DescribeLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DescribeLiveStreamQualityDetectionNotifyConfigResponse added in v1.13.0

type DescribeLiveStreamQualityDetectionNotifyConfigResponse struct {
	RequestID string                                               `json:"requestId"`
	Error     core.ErrorResponse                                   `json:"error"`
	Result    DescribeLiveStreamQualityDetectionNotifyConfigResult `json:"result"`
}

type DescribeLiveStreamQualityDetectionNotifyConfigResult added in v1.13.0

type DescribeLiveStreamQualityDetectionNotifyConfigResult struct {
	PublishDomain string `json:"publishDomain"`
	NotifyUrl     string `json:"notifyUrl"`
}

type DescribeLiveStreamRecordNotifyConfigRequest

type DescribeLiveStreamRecordNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDescribeLiveStreamRecordNotifyConfigRequest

func NewDescribeLiveStreamRecordNotifyConfigRequest(
	publishDomain string,
) *DescribeLiveStreamRecordNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamRecordNotifyConfigRequestWithAllParams

func NewDescribeLiveStreamRecordNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DescribeLiveStreamRecordNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDescribeLiveStreamRecordNotifyConfigRequestWithoutParam

func NewDescribeLiveStreamRecordNotifyConfigRequestWithoutParam() *DescribeLiveStreamRecordNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamRecordNotifyConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamRecordNotifyConfigRequest) SetPublishDomain

func (r *DescribeLiveStreamRecordNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DescribeLiveStreamRecordNotifyConfigResponse

type DescribeLiveStreamRecordNotifyConfigResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DescribeLiveStreamRecordNotifyConfigResult `json:"result"`
}

type DescribeLiveStreamRecordNotifyConfigResult

type DescribeLiveStreamRecordNotifyConfigResult struct {
	PublishDomain string `json:"publishDomain"`
	NotifyUrl     string `json:"notifyUrl"`
}

type DescribeLiveStreamSnapshotNotifyConfigRequest

type DescribeLiveStreamSnapshotNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`
}

func NewDescribeLiveStreamSnapshotNotifyConfigRequest

func NewDescribeLiveStreamSnapshotNotifyConfigRequest(
	publishDomain string,
) *DescribeLiveStreamSnapshotNotifyConfigRequest

* param publishDomain: 推流域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamSnapshotNotifyConfigRequestWithAllParams

func NewDescribeLiveStreamSnapshotNotifyConfigRequestWithAllParams(
	publishDomain string,
) *DescribeLiveStreamSnapshotNotifyConfigRequest

* param publishDomain: 推流域名 (Required)

func NewDescribeLiveStreamSnapshotNotifyConfigRequestWithoutParam

func NewDescribeLiveStreamSnapshotNotifyConfigRequestWithoutParam() *DescribeLiveStreamSnapshotNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamSnapshotNotifyConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain

func (r *DescribeLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type DescribeLiveStreamSnapshotNotifyConfigResponse

type DescribeLiveStreamSnapshotNotifyConfigResponse struct {
	RequestID string                                       `json:"requestId"`
	Error     core.ErrorResponse                           `json:"error"`
	Result    DescribeLiveStreamSnapshotNotifyConfigResult `json:"result"`
}

type DescribeLiveStreamSnapshotNotifyConfigResult

type DescribeLiveStreamSnapshotNotifyConfigResult struct {
	PublishDomain string `json:"publishDomain"`
	NotifyUrl     string `json:"notifyUrl"`
}

type DescribeLiveStreamTrafficDataRequest added in v1.7.0

type DescribeLiveStreamTrafficDataRequest struct {
	core.JDCloudRequest

	/* 播放域名,可以通过指定域名查询该域名下产生的带宽数据。
	(Optional) */
	DomainName *string `json:"domainName"`

	/* 推流AppName,将AppName作为查询条件时须指定域名。
	(Optional) */
	AppName *string `json:"appName"`

	/* 流名称
	(Optional) */
	StreamName *string `json:"streamName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamTrafficDataRequest added in v1.7.0

func NewDescribeLiveStreamTrafficDataRequest(
	startTime string,
) *DescribeLiveStreamTrafficDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamTrafficDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveStreamTrafficDataRequestWithAllParams(
	domainName *string,
	appName *string,
	streamName *string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveStreamTrafficDataRequest

* param domainName: 播放域名,可以通过指定域名查询该域名下产生的带宽数据。 (Optional) * param appName: 推流AppName,将AppName作为查询条件时须指定域名。 (Optional) * param streamName: 流名称 (Optional) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveStreamTrafficDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveStreamTrafficDataRequestWithoutParam() *DescribeLiveStreamTrafficDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamTrafficDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamTrafficDataRequest) SetAppName added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetAppName(appName string)
param appName: 推流AppName,将AppName作为查询条件时须指定域名。

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetDomainName(domainName string)
param domainName: 播放域名,可以通过指定域名查询该域名下产生的带宽数据。

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetIspName added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetPeriod added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveStreamTrafficDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

func (*DescribeLiveStreamTrafficDataRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveStreamTrafficDataRequest) SetStreamName(streamName string)
param streamName: 流名称

(Optional)

type DescribeLiveStreamTrafficDataResponse added in v1.7.0

type DescribeLiveStreamTrafficDataResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeLiveStreamTrafficDataResult `json:"result"`
}

type DescribeLiveStreamTrafficDataResult added in v1.7.0

type DescribeLiveStreamTrafficDataResult struct {
	DataList []live.TrafficStatisticResult `json:"dataList"`
}

type DescribeLiveStreamTranscodeConfigRequest

type DescribeLiveStreamTranscodeConfigRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 模板配置查询过滤条件:
	 - name:   publishDomain 必填(推流域名)
	 - value:  参数
	 - name:   appName 必填(应用名称)
	 - value:  参数
	 - name:   streamName 非必填(流名称)
	 - value:  参数
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeLiveStreamTranscodeConfigRequest

func NewDescribeLiveStreamTranscodeConfigRequest() *DescribeLiveStreamTranscodeConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamTranscodeConfigRequestWithAllParams

func NewDescribeLiveStreamTranscodeConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeLiveStreamTranscodeConfigRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param filters: 模板配置查询过滤条件:
  • name: publishDomain 必填(推流域名)
  • value: 参数
  • name: appName 必填(应用名称)
  • value: 参数
  • name: streamName 非必填(流名称)
  • value: 参数 (Optional)

func NewDescribeLiveStreamTranscodeConfigRequestWithoutParam

func NewDescribeLiveStreamTranscodeConfigRequestWithoutParam() *DescribeLiveStreamTranscodeConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveStreamTranscodeConfigRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveStreamTranscodeConfigRequest) SetFilters

func (r *DescribeLiveStreamTranscodeConfigRequest) SetFilters(filters []live.Filter)
param filters: 模板配置查询过滤条件:
 - name:   publishDomain 必填(推流域名)
 - value:  参数
 - name:   appName 必填(应用名称)
 - value:  参数
 - name:   streamName 非必填(流名称)
 - value:  参数

(Optional)

func (*DescribeLiveStreamTranscodeConfigRequest) SetPageNum

func (r *DescribeLiveStreamTranscodeConfigRequest) SetPageNum(pageNum int)
param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeLiveStreamTranscodeConfigRequest) SetPageSize

func (r *DescribeLiveStreamTranscodeConfigRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

type DescribeLiveStreamTranscodeConfigResponse

type DescribeLiveStreamTranscodeConfigResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    DescribeLiveStreamTranscodeConfigResult `json:"result"`
}

type DescribeLiveStreamTranscodeConfigResult

type DescribeLiveStreamTranscodeConfigResult struct {
	PageNumber       int                   `json:"pageNumber"`
	PageSize         int                   `json:"pageSize"`
	TotalCount       int                   `json:"totalCount"`
	TranscodeConfigs []live.TemplateConfig `json:"transcodeConfigs"`
}

type DescribeLiveTimeshiftConfigsRequest added in v1.6.0

type DescribeLiveTimeshiftConfigsRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围[1, 100000]
	 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小
	- 取值范围[10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 直播的播放域名
	- 目前仅支持精确匹配
	*/
	PlayDomain string `json:"playDomain"`
}

func NewDescribeLiveTimeshiftConfigsRequest added in v1.6.0

func NewDescribeLiveTimeshiftConfigsRequest(
	playDomain string,
) *DescribeLiveTimeshiftConfigsRequest
  • param playDomain: 直播的播放域名
  • 目前仅支持精确匹配 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTimeshiftConfigsRequestWithAllParams added in v1.6.0

func NewDescribeLiveTimeshiftConfigsRequestWithAllParams(
	pageNumber *int,
	pageSize *int,
	playDomain string,
) *DescribeLiveTimeshiftConfigsRequest
  • param pageNumber: 页码
  • 取值范围[1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围[10, 100] (Optional)
  • param playDomain: 直播的播放域名
  • 目前仅支持精确匹配 (Required)

func NewDescribeLiveTimeshiftConfigsRequestWithoutParam added in v1.6.0

func NewDescribeLiveTimeshiftConfigsRequestWithoutParam() *DescribeLiveTimeshiftConfigsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTimeshiftConfigsRequest) GetRegionId added in v1.6.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTimeshiftConfigsRequest) SetPageNumber added in v1.7.0

func (r *DescribeLiveTimeshiftConfigsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码

- 取值范围[1, 100000] (Optional)

func (*DescribeLiveTimeshiftConfigsRequest) SetPageSize added in v1.6.0

func (r *DescribeLiveTimeshiftConfigsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围[10, 100] (Optional)

func (*DescribeLiveTimeshiftConfigsRequest) SetPlayDomain added in v1.6.0

func (r *DescribeLiveTimeshiftConfigsRequest) SetPlayDomain(playDomain string)
param playDomain: 直播的播放域名

- 目前仅支持精确匹配 (Required)

type DescribeLiveTimeshiftConfigsResponse added in v1.6.0

type DescribeLiveTimeshiftConfigsResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeLiveTimeshiftConfigsResult `json:"result"`
}

type DescribeLiveTimeshiftConfigsResult added in v1.6.0

type DescribeLiveTimeshiftConfigsResult struct {
	PageNumber       int                    `json:"pageNumber"`
	PageSize         int                    `json:"pageSize"`
	TotalCount       int                    `json:"totalCount"`
	TimeshiftConfigs []live.TimeshiftConfig `json:"timeshiftConfigs"`
}

type DescribeLiveTranscodeStreamBandwidthRequest added in v1.7.0

type DescribeLiveTranscodeStreamBandwidthRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveTranscodeStreamBandwidthRequest added in v1.7.0

func NewDescribeLiveTranscodeStreamBandwidthRequest(
	domainName string,
	appName string,
	startTime string,
) *DescribeLiveTranscodeStreamBandwidthRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTranscodeStreamBandwidthRequestWithAllParams added in v1.7.0

func NewDescribeLiveTranscodeStreamBandwidthRequestWithAllParams(
	domainName string,
	appName string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveTranscodeStreamBandwidthRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveTranscodeStreamBandwidthRequestWithoutParam added in v1.7.0

func NewDescribeLiveTranscodeStreamBandwidthRequestWithoutParam() *DescribeLiveTranscodeStreamBandwidthRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTranscodeStreamBandwidthRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetAppName added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetDomainName(domainName string)

param domainName: 推流域名(Required)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetIspName added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetIspName(ispName string)
param ispName: 运营商

(Optional)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetPeriod added in v1.7.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveTranscodeStreamBandwidthRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveTranscodeStreamBandwidthRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

type DescribeLiveTranscodeStreamBandwidthResponse added in v1.7.0

type DescribeLiveTranscodeStreamBandwidthResponse struct {
	RequestID string                                     `json:"requestId"`
	Error     core.ErrorResponse                         `json:"error"`
	Result    DescribeLiveTranscodeStreamBandwidthResult `json:"result"`
}

type DescribeLiveTranscodeStreamBandwidthResult added in v1.7.0

type DescribeLiveTranscodeStreamBandwidthResult struct {
	DataList []live.BandwidthStatisticResult `json:"dataList"`
}

type DescribeLiveTranscodeStreamListRequest added in v1.7.0

type DescribeLiveTranscodeStreamListRequest struct {
	core.JDCloudRequest

	/* 推流域名
	 */
	DomainName string `json:"domainName"`

	/* 应用名称
	 */
	AppName string `json:"appName"`

	/* 流名称
	 */
	StreamName string `json:"streamName"`
}

func NewDescribeLiveTranscodeStreamListRequest added in v1.7.0

func NewDescribeLiveTranscodeStreamListRequest(
	domainName string,
	appName string,
	streamName string,
) *DescribeLiveTranscodeStreamListRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTranscodeStreamListRequestWithAllParams added in v1.7.0

func NewDescribeLiveTranscodeStreamListRequestWithAllParams(
	domainName string,
	appName string,
	streamName string,
) *DescribeLiveTranscodeStreamListRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required)

func NewDescribeLiveTranscodeStreamListRequestWithoutParam added in v1.7.0

func NewDescribeLiveTranscodeStreamListRequestWithoutParam() *DescribeLiveTranscodeStreamListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTranscodeStreamListRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTranscodeStreamListRequest) SetAppName added in v1.7.0

func (r *DescribeLiveTranscodeStreamListRequest) SetAppName(appName string)
param appName: 应用名称

(Required)

func (*DescribeLiveTranscodeStreamListRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveTranscodeStreamListRequest) SetDomainName(domainName string)
param domainName: 推流域名

(Required)

func (*DescribeLiveTranscodeStreamListRequest) SetStreamName added in v1.7.0

func (r *DescribeLiveTranscodeStreamListRequest) SetStreamName(streamName string)
param streamName: 流名称

(Required)

type DescribeLiveTranscodeStreamListResponse added in v1.7.0

type DescribeLiveTranscodeStreamListResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeLiveTranscodeStreamListResult `json:"result"`
}

type DescribeLiveTranscodeStreamListResult added in v1.7.0

type DescribeLiveTranscodeStreamListResult struct {
	DataList []live.LiveTranscodeStreamResult `json:"dataList"`
}

type DescribeLiveTranscodeStreamNumRequest added in v1.7.0

type DescribeLiveTranscodeStreamNumRequest struct {
	core.JDCloudRequest

	/* 推流域名 (Optional) */
	DomainName *string `json:"domainName"`
}

func NewDescribeLiveTranscodeStreamNumRequest added in v1.7.0

func NewDescribeLiveTranscodeStreamNumRequest() *DescribeLiveTranscodeStreamNumRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTranscodeStreamNumRequestWithAllParams added in v1.7.0

func NewDescribeLiveTranscodeStreamNumRequestWithAllParams(
	domainName *string,
) *DescribeLiveTranscodeStreamNumRequest

* param domainName: 推流域名 (Optional)

func NewDescribeLiveTranscodeStreamNumRequestWithoutParam added in v1.7.0

func NewDescribeLiveTranscodeStreamNumRequestWithoutParam() *DescribeLiveTranscodeStreamNumRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTranscodeStreamNumRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTranscodeStreamNumRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveTranscodeStreamNumRequest) SetDomainName(domainName string)

param domainName: 推流域名(Optional)

type DescribeLiveTranscodeStreamNumResponse added in v1.7.0

type DescribeLiveTranscodeStreamNumResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeLiveTranscodeStreamNumResult `json:"result"`
}

type DescribeLiveTranscodeStreamNumResult added in v1.7.0

type DescribeLiveTranscodeStreamNumResult struct {
	Datetime    string `json:"datetime"`
	StreamCount int    `json:"streamCount"`
}

type DescribeLiveTranscodeStreamPlayerUserNumRequest added in v1.7.0

type DescribeLiveTranscodeStreamPlayerUserNumRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 运营商
	(Optional) */
	IspName *string `json:"ispName"`

	/* 查询的区域,如beijing,shanghai。多个用逗号分隔
	(Optional) */
	LocationName *string `json:"locationName"`

	/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔
	(Optional) */
	ProtocolType *string `json:"protocolType"`

	/* 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveTranscodeStreamPlayerUserNumRequest added in v1.7.0

func NewDescribeLiveTranscodeStreamPlayerUserNumRequest(
	domainName string,
	appName string,
	startTime string,
) *DescribeLiveTranscodeStreamPlayerUserNumRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTranscodeStreamPlayerUserNumRequestWithAllParams added in v1.7.0

func NewDescribeLiveTranscodeStreamPlayerUserNumRequestWithAllParams(
	domainName string,
	appName string,
	ispName *string,
	locationName *string,
	protocolType *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveTranscodeStreamPlayerUserNumRequest

* param domainName: 推流域名 (Required) * param appName: 应用名称 (Required) * param ispName: 运营商 (Optional) * param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional) * param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveTranscodeStreamPlayerUserNumRequestWithoutParam added in v1.7.0

func NewDescribeLiveTranscodeStreamPlayerUserNumRequestWithoutParam() *DescribeLiveTranscodeStreamPlayerUserNumRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTranscodeStreamPlayerUserNumRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetAppName added in v1.7.0

param appName: 应用名称(Required)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetDomainName added in v1.7.0

func (r *DescribeLiveTranscodeStreamPlayerUserNumRequest) SetDomainName(domainName string)

param domainName: 推流域名(Required)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetEndTime added in v1.7.0

param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetIspName added in v1.7.0

param ispName: 运营商

(Optional)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetLocationName added in v1.7.0

func (r *DescribeLiveTranscodeStreamPlayerUserNumRequest) SetLocationName(locationName string)
param locationName: 查询的区域,如beijing,shanghai。多个用逗号分隔

(Optional)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetPeriod added in v1.7.0

param period: 查询周期,当前取值范围:“oneMin,fiveMin,halfHour,hour,twoHour,sixHour,day,followTime”,分别表示1min,5min,半小时,1小时,2小时,6小时,1天,跟随时间。默认为空,表示fiveMin。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetProtocolType added in v1.7.0

func (r *DescribeLiveTranscodeStreamPlayerUserNumRequest) SetProtocolType(protocolType string)
param protocolType: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个时以逗号分隔

(Optional)

func (*DescribeLiveTranscodeStreamPlayerUserNumRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveTranscodeStreamPlayerUserNumRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

type DescribeLiveTranscodeStreamPlayerUserNumResponse added in v1.7.0

type DescribeLiveTranscodeStreamPlayerUserNumResponse struct {
	RequestID string                                         `json:"requestId"`
	Error     core.ErrorResponse                             `json:"error"`
	Result    DescribeLiveTranscodeStreamPlayerUserNumResult `json:"result"`
}

type DescribeLiveTranscodeStreamPlayerUserNumResult added in v1.7.0

type DescribeLiveTranscodeStreamPlayerUserNumResult struct {
	DataList []live.LiveStreamUserNumResult `json:"dataList"`
}

type DescribeLiveTranscodingDurationDataRequest added in v1.7.0

type DescribeLiveTranscodingDurationDataRequest struct {
	core.JDCloudRequest

	/* 码率档次,可以查询指定档次的转码时长,取值:
	- video_h264_4k_1
	- video_h264_2k_1
	- video_h264_shd_1
	- video_h264_hd_1
	- video_h264_sd_1
	- video_h265_4k_1
	- video_h265_2k_1
	- video_h265_shd_1
	- video_h265_hd_1
	- video_h265_sd_1
	 (Optional) */
	Grade *string `json:"grade"`

	/* 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点
	(Optional) */
	Period *string `json:"period"`

	/* 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	 */
	StartTime string `json:"startTime"`

	/* 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveTranscodingDurationDataRequest added in v1.7.0

func NewDescribeLiveTranscodingDurationDataRequest(
	startTime string,
) *DescribeLiveTranscodingDurationDataRequest

* param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveTranscodingDurationDataRequestWithAllParams added in v1.7.0

func NewDescribeLiveTranscodingDurationDataRequestWithAllParams(
	grade *string,
	period *string,
	startTime string,
	endTime *string,
) *DescribeLiveTranscodingDurationDataRequest
  • param grade: 码率档次,可以查询指定档次的转码时长,取值:
  • video_h264_4k_1
  • video_h264_2k_1
  • video_h264_shd_1
  • video_h264_hd_1
  • video_h264_sd_1
  • video_h265_4k_1
  • video_h265_2k_1
  • video_h265_shd_1
  • video_h265_hd_1
  • video_h265_sd_1 (Optional)
  • param period: 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点 (Optional)
  • param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z' (Required)
  • param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间 (Optional)

func NewDescribeLiveTranscodingDurationDataRequestWithoutParam added in v1.7.0

func NewDescribeLiveTranscodingDurationDataRequestWithoutParam() *DescribeLiveTranscodingDurationDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLiveTranscodingDurationDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLiveTranscodingDurationDataRequest) SetEndTime added in v1.7.0

func (r *DescribeLiveTranscodingDurationDataRequest) SetEndTime(endTime string)
param endTime: 查询截至时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z',为空时默认为当前时间

(Optional)

func (*DescribeLiveTranscodingDurationDataRequest) SetGrade added in v1.7.0

param grade: 码率档次,可以查询指定档次的转码时长,取值:

- video_h264_4k_1 - video_h264_2k_1 - video_h264_shd_1 - video_h264_hd_1 - video_h264_sd_1 - video_h265_4k_1 - video_h265_2k_1 - video_h265_shd_1 - video_h265_hd_1 - video_h265_sd_1 (Optional)

func (*DescribeLiveTranscodingDurationDataRequest) SetPeriod added in v1.7.0

param period: 查询周期,取值范围:“day,month,year,followTime”,分别表示1天,1月,1年,跟随时间。默认为空,表示day。当传入followTime时,表示按Endtime-StartTime的周期,只返回一个点

(Optional)

func (*DescribeLiveTranscodingDurationDataRequest) SetStartTime added in v1.7.0

func (r *DescribeLiveTranscodingDurationDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ss'Z'

(Required)

type DescribeLiveTranscodingDurationDataResponse added in v1.7.0

type DescribeLiveTranscodingDurationDataResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DescribeLiveTranscodingDurationDataResult `json:"result"`
}

type DescribeLiveTranscodingDurationDataResult added in v1.7.0

type DescribeLiveTranscodingDurationDataResult struct {
	DataList []live.TranscodeDurationStatisticResult `json:"dataList"`
}

type DescribePublishStreamInfoDataRequest added in v1.7.0

type DescribePublishStreamInfoDataRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	DomainName string `json:"domainName"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间,查询时间跨度不超过1天
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribePublishStreamInfoDataRequest added in v1.7.0

func NewDescribePublishStreamInfoDataRequest(
	domainName string,
	appName string,
	streamName string,
	startTime string,
) *DescribePublishStreamInfoDataRequest
  • param domainName: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribePublishStreamInfoDataRequestWithAllParams added in v1.7.0

func NewDescribePublishStreamInfoDataRequestWithAllParams(
	domainName string,
	appName string,
	streamName string,
	startTime string,
	endTime *string,
) *DescribePublishStreamInfoDataRequest
  • param domainName: 推流域名 (Required)
  • param appName: 应用名称 (Required)
  • param streamName: 流名称 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天 (Optional)

func NewDescribePublishStreamInfoDataRequestWithoutParam added in v1.7.0

func NewDescribePublishStreamInfoDataRequestWithoutParam() *DescribePublishStreamInfoDataRequest

This constructor has better compatible ability when API parameters changed

func (DescribePublishStreamInfoDataRequest) GetRegionId added in v1.7.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePublishStreamInfoDataRequest) SetAppName added in v1.7.0

func (r *DescribePublishStreamInfoDataRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DescribePublishStreamInfoDataRequest) SetDomainName added in v1.7.0

func (r *DescribePublishStreamInfoDataRequest) SetDomainName(domainName string)

param domainName: 推流域名(Required)

func (*DescribePublishStreamInfoDataRequest) SetEndTime added in v1.7.0

func (r *DescribePublishStreamInfoDataRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间,查询时间跨度不超过1天

(Optional)

func (*DescribePublishStreamInfoDataRequest) SetStartTime added in v1.7.0

func (r *DescribePublishStreamInfoDataRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

func (*DescribePublishStreamInfoDataRequest) SetStreamName added in v1.7.0

func (r *DescribePublishStreamInfoDataRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type DescribePublishStreamInfoDataResponse added in v1.7.0

type DescribePublishStreamInfoDataResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribePublishStreamInfoDataResult `json:"result"`
}

type DescribePublishStreamInfoDataResult added in v1.7.0

type DescribePublishStreamInfoDataResult struct {
	DataList []live.PublishStreamInfoResult `json:"dataList"`
}

type DescribeQualityDetectionBindingRequest added in v1.13.0

type DescribeQualityDetectionBindingRequest struct {
	core.JDCloudRequest

	/* 质量检测模板  */
	Template string `json:"template"`
}

func NewDescribeQualityDetectionBindingRequest added in v1.13.0

func NewDescribeQualityDetectionBindingRequest(
	template string,
) *DescribeQualityDetectionBindingRequest

* param template: 质量检测模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeQualityDetectionBindingRequestWithAllParams added in v1.13.0

func NewDescribeQualityDetectionBindingRequestWithAllParams(
	template string,
) *DescribeQualityDetectionBindingRequest

* param template: 质量检测模板 (Required)

func NewDescribeQualityDetectionBindingRequestWithoutParam added in v1.13.0

func NewDescribeQualityDetectionBindingRequestWithoutParam() *DescribeQualityDetectionBindingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeQualityDetectionBindingRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeQualityDetectionBindingRequest) SetTemplate added in v1.13.0

func (r *DescribeQualityDetectionBindingRequest) SetTemplate(template string)

param template: 质量检测模板(Required)

type DescribeQualityDetectionBindingResponse added in v1.13.0

type DescribeQualityDetectionBindingResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeQualityDetectionBindingResult `json:"result"`
}

type DescribeQualityDetectionBindingResult added in v1.13.0

type DescribeQualityDetectionBindingResult struct {
	BindingList []live.TemplateBinding `json:"bindingList"`
}

type DescribeRecordBindingRequest added in v1.10.0

type DescribeRecordBindingRequest struct {
	core.JDCloudRequest

	/* 录制模板  */
	Template string `json:"template"`
}

func NewDescribeRecordBindingRequest added in v1.10.0

func NewDescribeRecordBindingRequest(
	template string,
) *DescribeRecordBindingRequest

* param template: 录制模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRecordBindingRequestWithAllParams added in v1.10.0

func NewDescribeRecordBindingRequestWithAllParams(
	template string,
) *DescribeRecordBindingRequest

* param template: 录制模板 (Required)

func NewDescribeRecordBindingRequestWithoutParam added in v1.10.0

func NewDescribeRecordBindingRequestWithoutParam() *DescribeRecordBindingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRecordBindingRequest) GetRegionId added in v1.10.0

func (r DescribeRecordBindingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRecordBindingRequest) SetTemplate added in v1.10.0

func (r *DescribeRecordBindingRequest) SetTemplate(template string)

param template: 录制模板(Required)

type DescribeRecordBindingResponse added in v1.10.0

type DescribeRecordBindingResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeRecordBindingResult `json:"result"`
}

type DescribeRecordBindingResult added in v1.10.0

type DescribeRecordBindingResult struct {
	BindingList []live.TemplateBinding `json:"bindingList"`
}

type DescribeSnapshotBindingRequest added in v1.10.0

type DescribeSnapshotBindingRequest struct {
	core.JDCloudRequest

	/* 截图模板  */
	Template string `json:"template"`
}

func NewDescribeSnapshotBindingRequest added in v1.10.0

func NewDescribeSnapshotBindingRequest(
	template string,
) *DescribeSnapshotBindingRequest

* param template: 截图模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSnapshotBindingRequestWithAllParams added in v1.10.0

func NewDescribeSnapshotBindingRequestWithAllParams(
	template string,
) *DescribeSnapshotBindingRequest

* param template: 截图模板 (Required)

func NewDescribeSnapshotBindingRequestWithoutParam added in v1.10.0

func NewDescribeSnapshotBindingRequestWithoutParam() *DescribeSnapshotBindingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSnapshotBindingRequest) GetRegionId added in v1.10.0

func (r DescribeSnapshotBindingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSnapshotBindingRequest) SetTemplate added in v1.10.0

func (r *DescribeSnapshotBindingRequest) SetTemplate(template string)

param template: 截图模板(Required)

type DescribeSnapshotBindingResponse added in v1.10.0

type DescribeSnapshotBindingResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeSnapshotBindingResult `json:"result"`
}

type DescribeSnapshotBindingResult added in v1.10.0

type DescribeSnapshotBindingResult struct {
	BindingList []live.TemplateBinding `json:"bindingList"`
}

type DescribeSystemLiveStreamTranscodeTemplatesRequest added in v1.10.0

type DescribeSystemLiveStreamTranscodeTemplatesRequest struct {
	core.JDCloudRequest

	/* 页码
	- 取值范围 [1, 100000]
	 (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小
	- 取值范围 [10, 100]
	 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 转码模板查询过滤条件:
	 - name:   template 转码模板自定义名称
	 - value:  如果参数为空,则查询全部
	 - 如果为空,则表示查询该用下所有自定义的转码模板
	(Optional) */
	Filters []live.Filter `json:"filters"`
}

func NewDescribeSystemLiveStreamTranscodeTemplatesRequest added in v1.10.0

func NewDescribeSystemLiveStreamTranscodeTemplatesRequest() *DescribeSystemLiveStreamTranscodeTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSystemLiveStreamTranscodeTemplatesRequestWithAllParams added in v1.10.0

func NewDescribeSystemLiveStreamTranscodeTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []live.Filter,
) *DescribeSystemLiveStreamTranscodeTemplatesRequest
  • param pageNum: 页码
  • 取值范围 [1, 100000] (Optional)
  • param pageSize: 分页大小
  • 取值范围 [10, 100] (Optional)
  • param filters: 转码模板查询过滤条件:
  • name: template 转码模板自定义名称
  • value: 如果参数为空,则查询全部
  • 如果为空,则表示查询该用下所有自定义的转码模板 (Optional)

func NewDescribeSystemLiveStreamTranscodeTemplatesRequestWithoutParam added in v1.10.0

func NewDescribeSystemLiveStreamTranscodeTemplatesRequestWithoutParam() *DescribeSystemLiveStreamTranscodeTemplatesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSystemLiveStreamTranscodeTemplatesRequest) GetRegionId added in v1.10.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSystemLiveStreamTranscodeTemplatesRequest) SetFilters added in v1.10.0

param filters: 转码模板查询过滤条件:
 - name:   template 转码模板自定义名称
 - value:  如果参数为空,则查询全部
 - 如果为空,则表示查询该用下所有自定义的转码模板

(Optional)

func (*DescribeSystemLiveStreamTranscodeTemplatesRequest) SetPageNum added in v1.10.0

param pageNum: 页码

- 取值范围 [1, 100000] (Optional)

func (*DescribeSystemLiveStreamTranscodeTemplatesRequest) SetPageSize added in v1.10.0

func (r *DescribeSystemLiveStreamTranscodeTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小

- 取值范围 [10, 100] (Optional)

type DescribeSystemLiveStreamTranscodeTemplatesResponse added in v1.10.0

type DescribeSystemLiveStreamTranscodeTemplatesResponse struct {
	RequestID string                                           `json:"requestId"`
	Error     core.ErrorResponse                               `json:"error"`
	Result    DescribeSystemLiveStreamTranscodeTemplatesResult `json:"result"`
}

type DescribeSystemLiveStreamTranscodeTemplatesResult added in v1.10.0

type DescribeSystemLiveStreamTranscodeTemplatesResult struct {
	PageNumber         int                  `json:"pageNumber"`
	PageSize           int                  `json:"pageSize"`
	TotalCount         int                  `json:"totalCount"`
	TranscodeTemplates []live.TranscodeInfo `json:"transcodeTemplates"`
}

type DescribeTranscodeBindingRequest added in v1.10.0

type DescribeTranscodeBindingRequest struct {
	core.JDCloudRequest

	/* 转码模板  */
	Template string `json:"template"`
}

func NewDescribeTranscodeBindingRequest added in v1.10.0

func NewDescribeTranscodeBindingRequest(
	template string,
) *DescribeTranscodeBindingRequest

* param template: 转码模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeTranscodeBindingRequestWithAllParams added in v1.10.0

func NewDescribeTranscodeBindingRequestWithAllParams(
	template string,
) *DescribeTranscodeBindingRequest

* param template: 转码模板 (Required)

func NewDescribeTranscodeBindingRequestWithoutParam added in v1.10.0

func NewDescribeTranscodeBindingRequestWithoutParam() *DescribeTranscodeBindingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeTranscodeBindingRequest) GetRegionId added in v1.10.0

func (r DescribeTranscodeBindingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeTranscodeBindingRequest) SetTemplate added in v1.10.0

func (r *DescribeTranscodeBindingRequest) SetTemplate(template string)

param template: 转码模板(Required)

type DescribeTranscodeBindingResponse added in v1.10.0

type DescribeTranscodeBindingResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeTranscodeBindingResult `json:"result"`
}

type DescribeTranscodeBindingResult added in v1.10.0

type DescribeTranscodeBindingResult struct {
	BindingList []live.TemplateBinding `json:"bindingList"`
}

type DescribeUrlRankingRequest added in v1.10.0

type DescribeUrlRankingRequest struct {
	core.JDCloudRequest

	/* 播放域名  */
	DomainName string `json:"domainName"`

	/* 查询Top数量,默认20,即返回Top20的数据 (Optional) */
	Size *int `json:"size"`

	/* 排行依据字段,取值:["pv", "flow", "bandwidth"],默认pv
	- pv 播放次数
	- flow 流量
	- bandwidth 带宽
	 (Optional) */
	Rankfield *string `json:"rankfield"`

	/* 起始时间
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	- UTC时间
	  格式:yyyy-MM-dd'T'HH:mm:ss'Z'
	  示例:2018-10-21T10:00:00Z
	- 为空,默认为当前时间
	 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeUrlRankingRequest added in v1.10.0

func NewDescribeUrlRankingRequest(
	domainName string,
	startTime string,
) *DescribeUrlRankingRequest
  • param domainName: 播放域名 (Required)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUrlRankingRequestWithAllParams added in v1.10.0

func NewDescribeUrlRankingRequestWithAllParams(
	domainName string,
	size *int,
	rankfield *string,
	startTime string,
	endTime *string,
) *DescribeUrlRankingRequest
  • param domainName: 播放域名 (Required)
  • param size: 查询Top数量,默认20,即返回Top20的数据 (Optional)
  • param rankfield: 排行依据字段,取值:["pv", "flow", "bandwidth"],默认pv
  • pv 播放次数
  • flow 流量
  • bandwidth 带宽 (Optional)
  • param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z (Required)
  • param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间 (Optional)

func NewDescribeUrlRankingRequestWithoutParam added in v1.10.0

func NewDescribeUrlRankingRequestWithoutParam() *DescribeUrlRankingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUrlRankingRequest) GetRegionId added in v1.10.0

func (r DescribeUrlRankingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUrlRankingRequest) SetDomainName added in v1.10.0

func (r *DescribeUrlRankingRequest) SetDomainName(domainName string)

param domainName: 播放域名(Required)

func (*DescribeUrlRankingRequest) SetEndTime added in v1.10.0

func (r *DescribeUrlRankingRequest) SetEndTime(endTime string)
param endTime: 结束时间:
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z
  • 为空,默认为当前时间

(Optional)

func (*DescribeUrlRankingRequest) SetRankfield added in v1.10.0

func (r *DescribeUrlRankingRequest) SetRankfield(rankfield string)
param rankfield: 排行依据字段,取值:["pv", "flow", "bandwidth"],默认pv

- pv 播放次数 - flow 流量 - bandwidth 带宽 (Optional)

func (*DescribeUrlRankingRequest) SetSize added in v1.10.0

func (r *DescribeUrlRankingRequest) SetSize(size int)

param size: 查询Top数量,默认20,即返回Top20的数据(Optional)

func (*DescribeUrlRankingRequest) SetStartTime added in v1.10.0

func (r *DescribeUrlRankingRequest) SetStartTime(startTime string)
param startTime: 起始时间
  • UTC时间 格式:yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2018-10-21T10:00:00Z

(Required)

type DescribeUrlRankingResponse added in v1.10.0

type DescribeUrlRankingResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeUrlRankingResult `json:"result"`
}

type DescribeUrlRankingResult added in v1.10.0

type DescribeUrlRankingResult struct {
	DataList []live.RankingUrlResult `json:"dataList"`
}

type DescribeWatermarkBindingRequest added in v1.10.0

type DescribeWatermarkBindingRequest struct {
	core.JDCloudRequest

	/* 水印模板  */
	Template string `json:"template"`
}

func NewDescribeWatermarkBindingRequest added in v1.10.0

func NewDescribeWatermarkBindingRequest(
	template string,
) *DescribeWatermarkBindingRequest

* param template: 水印模板 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWatermarkBindingRequestWithAllParams added in v1.10.0

func NewDescribeWatermarkBindingRequestWithAllParams(
	template string,
) *DescribeWatermarkBindingRequest

* param template: 水印模板 (Required)

func NewDescribeWatermarkBindingRequestWithoutParam added in v1.10.0

func NewDescribeWatermarkBindingRequestWithoutParam() *DescribeWatermarkBindingRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWatermarkBindingRequest) GetRegionId added in v1.10.0

func (r DescribeWatermarkBindingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWatermarkBindingRequest) SetTemplate added in v1.10.0

func (r *DescribeWatermarkBindingRequest) SetTemplate(template string)

param template: 水印模板(Required)

type DescribeWatermarkBindingResponse added in v1.10.0

type DescribeWatermarkBindingResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeWatermarkBindingResult `json:"result"`
}

type DescribeWatermarkBindingResult added in v1.10.0

type DescribeWatermarkBindingResult struct {
	BindingList []live.TemplateBinding `json:"bindingList"`
}

type ForbidLiveStreamRequest

type ForbidLiveStreamRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`

	/* 禁流时长,单位:s 0表示永久禁流;大于0为限时禁流,超过时长自动解禁 (Optional) */
	ForbidTime *int `json:"forbidTime"`
}

func NewForbidLiveStreamRequest

func NewForbidLiveStreamRequest(
	publishDomain string,
	appName string,
	streamName string,
) *ForbidLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewForbidLiveStreamRequestWithAllParams

func NewForbidLiveStreamRequestWithAllParams(
	publishDomain string,
	appName string,
	streamName string,
	forbidTime *int,
) *ForbidLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * param forbidTime: 禁流时长,单位:s 0表示永久禁流;大于0为限时禁流,超过时长自动解禁 (Optional)

func NewForbidLiveStreamRequestWithoutParam

func NewForbidLiveStreamRequestWithoutParam() *ForbidLiveStreamRequest

This constructor has better compatible ability when API parameters changed

func (ForbidLiveStreamRequest) GetRegionId

func (r ForbidLiveStreamRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ForbidLiveStreamRequest) SetAppName

func (r *ForbidLiveStreamRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*ForbidLiveStreamRequest) SetForbidTime added in v1.10.0

func (r *ForbidLiveStreamRequest) SetForbidTime(forbidTime int)

param forbidTime: 禁流时长,单位:s 0表示永久禁流;大于0为限时禁流,超过时长自动解禁(Optional)

func (*ForbidLiveStreamRequest) SetPublishDomain

func (r *ForbidLiveStreamRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*ForbidLiveStreamRequest) SetStreamName

func (r *ForbidLiveStreamRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type ForbidLiveStreamResponse

type ForbidLiveStreamResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ForbidLiveStreamResult `json:"result"`
}

type ForbidLiveStreamResult

type ForbidLiveStreamResult struct {
}

type InterruptLiveStreamRequest added in v1.10.0

type InterruptLiveStreamRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`
}

func NewInterruptLiveStreamRequest added in v1.10.0

func NewInterruptLiveStreamRequest(
	publishDomain string,
	appName string,
	streamName string,
) *InterruptLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewInterruptLiveStreamRequestWithAllParams added in v1.10.0

func NewInterruptLiveStreamRequestWithAllParams(
	publishDomain string,
	appName string,
	streamName string,
) *InterruptLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required)

func NewInterruptLiveStreamRequestWithoutParam added in v1.10.0

func NewInterruptLiveStreamRequestWithoutParam() *InterruptLiveStreamRequest

This constructor has better compatible ability when API parameters changed

func (InterruptLiveStreamRequest) GetRegionId added in v1.10.0

func (r InterruptLiveStreamRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*InterruptLiveStreamRequest) SetAppName added in v1.10.0

func (r *InterruptLiveStreamRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*InterruptLiveStreamRequest) SetPublishDomain added in v1.10.0

func (r *InterruptLiveStreamRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*InterruptLiveStreamRequest) SetStreamName added in v1.10.0

func (r *InterruptLiveStreamRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type InterruptLiveStreamResponse added in v1.10.0

type InterruptLiveStreamResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    InterruptLiveStreamResult `json:"result"`
}

type InterruptLiveStreamResult added in v1.10.0

type InterruptLiveStreamResult struct {
}

type OpenLiveP2pRequest added in v1.13.0

type OpenLiveP2pRequest struct {
	core.JDCloudRequest

	/* 播放域名 (Optional) */
	PlayDomain *string `json:"playDomain"`
}

func NewOpenLiveP2pRequest added in v1.13.0

func NewOpenLiveP2pRequest() *OpenLiveP2pRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewOpenLiveP2pRequestWithAllParams added in v1.13.0

func NewOpenLiveP2pRequestWithAllParams(
	playDomain *string,
) *OpenLiveP2pRequest

* param playDomain: 播放域名 (Optional)

func NewOpenLiveP2pRequestWithoutParam added in v1.13.0

func NewOpenLiveP2pRequestWithoutParam() *OpenLiveP2pRequest

This constructor has better compatible ability when API parameters changed

func (OpenLiveP2pRequest) GetRegionId added in v1.13.0

func (r OpenLiveP2pRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*OpenLiveP2pRequest) SetPlayDomain added in v1.13.0

func (r *OpenLiveP2pRequest) SetPlayDomain(playDomain string)

param playDomain: 播放域名(Optional)

type OpenLiveP2pResponse added in v1.13.0

type OpenLiveP2pResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    OpenLiveP2pResult  `json:"result"`
}

type OpenLiveP2pResult added in v1.13.0

type OpenLiveP2pResult struct {
}

type OpenLiveRestartRequest added in v1.10.0

type OpenLiveRestartRequest struct {
	core.JDCloudRequest

	/* 回看的播放域名  */
	RestartDomain string `json:"restartDomain"`
}

func NewOpenLiveRestartRequest added in v1.10.0

func NewOpenLiveRestartRequest(
	restartDomain string,
) *OpenLiveRestartRequest

* param restartDomain: 回看的播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewOpenLiveRestartRequestWithAllParams added in v1.10.0

func NewOpenLiveRestartRequestWithAllParams(
	restartDomain string,
) *OpenLiveRestartRequest

* param restartDomain: 回看的播放域名 (Required)

func NewOpenLiveRestartRequestWithoutParam added in v1.10.0

func NewOpenLiveRestartRequestWithoutParam() *OpenLiveRestartRequest

This constructor has better compatible ability when API parameters changed

func (OpenLiveRestartRequest) GetRegionId added in v1.10.0

func (r OpenLiveRestartRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*OpenLiveRestartRequest) SetRestartDomain added in v1.10.0

func (r *OpenLiveRestartRequest) SetRestartDomain(restartDomain string)

param restartDomain: 回看的播放域名(Required)

type OpenLiveRestartResponse added in v1.10.0

type OpenLiveRestartResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    OpenLiveRestartResult `json:"result"`
}

type OpenLiveRestartResult added in v1.10.0

type OpenLiveRestartResult struct {
}

type OpenLiveTimeshiftRequest added in v1.6.0

type OpenLiveTimeshiftRequest struct {
	core.JDCloudRequest

	/* 直播的播放域名  */
	PlayDomain string `json:"playDomain"`
}

func NewOpenLiveTimeshiftRequest added in v1.6.0

func NewOpenLiveTimeshiftRequest(
	playDomain string,
) *OpenLiveTimeshiftRequest

* param playDomain: 直播的播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewOpenLiveTimeshiftRequestWithAllParams added in v1.6.0

func NewOpenLiveTimeshiftRequestWithAllParams(
	playDomain string,
) *OpenLiveTimeshiftRequest

* param playDomain: 直播的播放域名 (Required)

func NewOpenLiveTimeshiftRequestWithoutParam added in v1.6.0

func NewOpenLiveTimeshiftRequestWithoutParam() *OpenLiveTimeshiftRequest

This constructor has better compatible ability when API parameters changed

func (OpenLiveTimeshiftRequest) GetRegionId added in v1.6.0

func (r OpenLiveTimeshiftRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*OpenLiveTimeshiftRequest) SetPlayDomain added in v1.6.0

func (r *OpenLiveTimeshiftRequest) SetPlayDomain(playDomain string)

param playDomain: 直播的播放域名(Required)

type OpenLiveTimeshiftResponse added in v1.6.0

type OpenLiveTimeshiftResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    OpenLiveTimeshiftResult `json:"result"`
}

type OpenLiveTimeshiftResult added in v1.6.0

type OpenLiveTimeshiftResult struct {
}

type ResumeLiveStreamRequest

type ResumeLiveStreamRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 流名称  */
	StreamName string `json:"streamName"`
}

func NewResumeLiveStreamRequest

func NewResumeLiveStreamRequest(
	publishDomain string,
	appName string,
	streamName string,
) *ResumeLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewResumeLiveStreamRequestWithAllParams

func NewResumeLiveStreamRequestWithAllParams(
	publishDomain string,
	appName string,
	streamName string,
) *ResumeLiveStreamRequest

* param publishDomain: 推流域名 (Required) * param appName: 应用名称 (Required) * param streamName: 流名称 (Required)

func NewResumeLiveStreamRequestWithoutParam

func NewResumeLiveStreamRequestWithoutParam() *ResumeLiveStreamRequest

This constructor has better compatible ability when API parameters changed

func (ResumeLiveStreamRequest) GetRegionId

func (r ResumeLiveStreamRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ResumeLiveStreamRequest) SetAppName

func (r *ResumeLiveStreamRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*ResumeLiveStreamRequest) SetPublishDomain

func (r *ResumeLiveStreamRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

func (*ResumeLiveStreamRequest) SetStreamName

func (r *ResumeLiveStreamRequest) SetStreamName(streamName string)

param streamName: 流名称(Required)

type ResumeLiveStreamResponse

type ResumeLiveStreamResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ResumeLiveStreamResult `json:"result"`
}

type ResumeLiveStreamResult

type ResumeLiveStreamResult struct {
}

type SetLiveDomainCertificateRequest added in v1.13.0

type SetLiveDomainCertificateRequest struct {
	core.JDCloudRequest

	/* (直播or时移)播放域名  */
	PlayDomain string `json:"playDomain"`

	/* (直播or时移)播放证书状态
	  on: 开启
	  off: 关闭
	- 当播放证书状态on(开启)时,cert和key不能为空
	*/
	CertStatus string `json:"certStatus"`

	/* (直播or时移)播放证书
	- 取值: 最大支持4098
	- 当播放证书状态on(开启)时,cert不能为空
	 (Optional) */
	Cert *string `json:"cert"`

	/* (直播or时移)播放证书key
	- 取值: 最大支持2048
	- 当播放证书状态on(开启)时,key不能为空
	 (Optional) */
	Key *string `json:"key"`

	/* (直播or时移)播放证书别名
	- 取值: 支持大小写字母和数字 长度最大256
	 (Optional) */
	Title *string `json:"title"`
}

func NewSetLiveDomainCertificateRequest added in v1.13.0

func NewSetLiveDomainCertificateRequest(
	playDomain string,
	certStatus string,
) *SetLiveDomainCertificateRequest
  • param playDomain: (直播or时移)播放域名 (Required)
  • param certStatus: (直播or时移)播放证书状态 on: 开启 off: 关闭
  • 当播放证书状态on(开启)时,cert和key不能为空 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveDomainCertificateRequestWithAllParams added in v1.13.0

func NewSetLiveDomainCertificateRequestWithAllParams(
	playDomain string,
	certStatus string,
	cert *string,
	key *string,
	title *string,
) *SetLiveDomainCertificateRequest
  • param playDomain: (直播or时移)播放域名 (Required)
  • param certStatus: (直播or时移)播放证书状态 on: 开启 off: 关闭
  • 当播放证书状态on(开启)时,cert和key不能为空 (Required)
  • param cert: (直播or时移)播放证书
  • 取值: 最大支持4098
  • 当播放证书状态on(开启)时,cert不能为空 (Optional)
  • param key: (直播or时移)播放证书key
  • 取值: 最大支持2048
  • 当播放证书状态on(开启)时,key不能为空 (Optional)
  • param title: (直播or时移)播放证书别名
  • 取值: 支持大小写字母和数字 长度最大256 (Optional)

func NewSetLiveDomainCertificateRequestWithoutParam added in v1.13.0

func NewSetLiveDomainCertificateRequestWithoutParam() *SetLiveDomainCertificateRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveDomainCertificateRequest) GetRegionId added in v1.13.0

func (r SetLiveDomainCertificateRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveDomainCertificateRequest) SetCert added in v1.13.0

func (r *SetLiveDomainCertificateRequest) SetCert(cert string)
param cert: (直播or时移)播放证书

- 取值: 最大支持4098 - 当播放证书状态on(开启)时,cert不能为空 (Optional)

func (*SetLiveDomainCertificateRequest) SetCertStatus added in v1.13.0

func (r *SetLiveDomainCertificateRequest) SetCertStatus(certStatus string)
param certStatus: (直播or时移)播放证书状态
 on: 开启
 off: 关闭

- 当播放证书状态on(开启)时,cert和key不能为空 (Required)

func (*SetLiveDomainCertificateRequest) SetKey added in v1.13.0

func (r *SetLiveDomainCertificateRequest) SetKey(key string)
param key: (直播or时移)播放证书key

- 取值: 最大支持2048 - 当播放证书状态on(开启)时,key不能为空 (Optional)

func (*SetLiveDomainCertificateRequest) SetPlayDomain added in v1.13.0

func (r *SetLiveDomainCertificateRequest) SetPlayDomain(playDomain string)

param playDomain: (直播or时移)播放域名(Required)

func (*SetLiveDomainCertificateRequest) SetTitle added in v1.13.0

func (r *SetLiveDomainCertificateRequest) SetTitle(title string)
param title: (直播or时移)播放证书别名

- 取值: 支持大小写字母和数字 长度最大256 (Optional)

type SetLiveDomainCertificateResponse added in v1.13.0

type SetLiveDomainCertificateResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    SetLiveDomainCertificateResult `json:"result"`
}

type SetLiveDomainCertificateResult added in v1.13.0

type SetLiveDomainCertificateResult struct {
}

type SetLivePlayAuthKeyRequest added in v1.6.0

type SetLivePlayAuthKeyRequest struct {
	core.JDCloudRequest

	/* (直播or时移)播放域名  */
	PlayDomain string `json:"playDomain"`

	/* (直播or时移)播放鉴权状态
	  on: 开启
	  off: 关闭
	- 当播放鉴权状态on(开启)时,authKey不能为空
	 (Optional) */
	AuthStatus *string `json:"authStatus"`

	/* (直播or时移)播放鉴权key
	- 取值: 支持大小写字母和数字 长度6-32位
	 (Optional) */
	AuthKey *string `json:"authKey"`
}

func NewSetLivePlayAuthKeyRequest added in v1.6.0

func NewSetLivePlayAuthKeyRequest(
	playDomain string,
) *SetLivePlayAuthKeyRequest

* param playDomain: (直播or时移)播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetLivePlayAuthKeyRequestWithAllParams added in v1.6.0

func NewSetLivePlayAuthKeyRequestWithAllParams(
	playDomain string,
	authStatus *string,
	authKey *string,
) *SetLivePlayAuthKeyRequest
  • param playDomain: (直播or时移)播放域名 (Required)
  • param authStatus: (直播or时移)播放鉴权状态 on: 开启 off: 关闭
  • 当播放鉴权状态on(开启)时,authKey不能为空 (Optional)
  • param authKey: (直播or时移)播放鉴权key
  • 取值: 支持大小写字母和数字 长度6-32位 (Optional)

func NewSetLivePlayAuthKeyRequestWithoutParam added in v1.6.0

func NewSetLivePlayAuthKeyRequestWithoutParam() *SetLivePlayAuthKeyRequest

This constructor has better compatible ability when API parameters changed

func (SetLivePlayAuthKeyRequest) GetRegionId added in v1.6.0

func (r SetLivePlayAuthKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLivePlayAuthKeyRequest) SetAuthKey added in v1.6.0

func (r *SetLivePlayAuthKeyRequest) SetAuthKey(authKey string)
param authKey: (直播or时移)播放鉴权key

- 取值: 支持大小写字母和数字 长度6-32位 (Optional)

func (*SetLivePlayAuthKeyRequest) SetAuthStatus added in v1.6.0

func (r *SetLivePlayAuthKeyRequest) SetAuthStatus(authStatus string)
param authStatus: (直播or时移)播放鉴权状态
 on: 开启
 off: 关闭

- 当播放鉴权状态on(开启)时,authKey不能为空 (Optional)

func (*SetLivePlayAuthKeyRequest) SetPlayDomain added in v1.6.0

func (r *SetLivePlayAuthKeyRequest) SetPlayDomain(playDomain string)

param playDomain: (直播or时移)播放域名(Required)

type SetLivePlayAuthKeyResponse added in v1.6.0

type SetLivePlayAuthKeyResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    SetLivePlayAuthKeyResult `json:"result"`
}

type SetLivePlayAuthKeyResult added in v1.6.0

type SetLivePlayAuthKeyResult struct {
}

type SetLiveRestartAuthKeyRequest added in v1.13.0

type SetLiveRestartAuthKeyRequest struct {
	core.JDCloudRequest

	/* 直播回看播放域名  */
	RestartDomain string `json:"restartDomain"`

	/* 直播回看播放鉴权状态
	  on: 开启
	  off: 关闭
	- 当回看播放鉴权状态on(开启)时,authKey不能为空
	 (Optional) */
	AuthStatus *string `json:"authStatus"`

	/* 直播回看播放鉴权key
	- 取值: 支持大小写字母和数字 长度6-32位
	 (Optional) */
	AuthKey *string `json:"authKey"`
}

func NewSetLiveRestartAuthKeyRequest added in v1.13.0

func NewSetLiveRestartAuthKeyRequest(
	restartDomain string,
) *SetLiveRestartAuthKeyRequest

* param restartDomain: 直播回看播放域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveRestartAuthKeyRequestWithAllParams added in v1.13.0

func NewSetLiveRestartAuthKeyRequestWithAllParams(
	restartDomain string,
	authStatus *string,
	authKey *string,
) *SetLiveRestartAuthKeyRequest
  • param restartDomain: 直播回看播放域名 (Required)
  • param authStatus: 直播回看播放鉴权状态 on: 开启 off: 关闭
  • 当回看播放鉴权状态on(开启)时,authKey不能为空 (Optional)
  • param authKey: 直播回看播放鉴权key
  • 取值: 支持大小写字母和数字 长度6-32位 (Optional)

func NewSetLiveRestartAuthKeyRequestWithoutParam added in v1.13.0

func NewSetLiveRestartAuthKeyRequestWithoutParam() *SetLiveRestartAuthKeyRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveRestartAuthKeyRequest) GetRegionId added in v1.13.0

func (r SetLiveRestartAuthKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveRestartAuthKeyRequest) SetAuthKey added in v1.13.0

func (r *SetLiveRestartAuthKeyRequest) SetAuthKey(authKey string)
param authKey: 直播回看播放鉴权key

- 取值: 支持大小写字母和数字 长度6-32位 (Optional)

func (*SetLiveRestartAuthKeyRequest) SetAuthStatus added in v1.13.0

func (r *SetLiveRestartAuthKeyRequest) SetAuthStatus(authStatus string)
param authStatus: 直播回看播放鉴权状态
 on: 开启
 off: 关闭

- 当回看播放鉴权状态on(开启)时,authKey不能为空 (Optional)

func (*SetLiveRestartAuthKeyRequest) SetRestartDomain added in v1.13.0

func (r *SetLiveRestartAuthKeyRequest) SetRestartDomain(restartDomain string)

param restartDomain: 直播回看播放域名(Required)

type SetLiveRestartAuthKeyResponse added in v1.13.0

type SetLiveRestartAuthKeyResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    SetLiveRestartAuthKeyResult `json:"result"`
}

type SetLiveRestartAuthKeyResult added in v1.13.0

type SetLiveRestartAuthKeyResult struct {
}

type SetLiveRestartDomainCertificateRequest added in v1.13.0

type SetLiveRestartDomainCertificateRequest struct {
	core.JDCloudRequest

	/* 直播回看域名  */
	RestartDomain string `json:"restartDomain"`

	/* 直播回看证书状态
	  on: 开启
	  off: 关闭
	- 当播放证书状态on(开启)时,cert和key不能为空
	*/
	CertStatus string `json:"certStatus"`

	/* 直播回看证书
	- 取值: 最大支持4098
	- 当播放证书状态on(开启)时,cert不能为空
	 (Optional) */
	Cert *string `json:"cert"`

	/* 直播回看证书key
	- 取值: 最大支持2048
	- 当播放证书状态on(开启)时,key不能为空
	 (Optional) */
	Key *string `json:"key"`

	/* 直播回看证书别名
	- 取值: 支持大小写字母和数字 长度最大256
	 (Optional) */
	Title *string `json:"title"`
}

func NewSetLiveRestartDomainCertificateRequest added in v1.13.0

func NewSetLiveRestartDomainCertificateRequest(
	restartDomain string,
	certStatus string,
) *SetLiveRestartDomainCertificateRequest
  • param restartDomain: 直播回看域名 (Required)
  • param certStatus: 直播回看证书状态 on: 开启 off: 关闭
  • 当播放证书状态on(开启)时,cert和key不能为空 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveRestartDomainCertificateRequestWithAllParams added in v1.13.0

func NewSetLiveRestartDomainCertificateRequestWithAllParams(
	restartDomain string,
	certStatus string,
	cert *string,
	key *string,
	title *string,
) *SetLiveRestartDomainCertificateRequest
  • param restartDomain: 直播回看域名 (Required)
  • param certStatus: 直播回看证书状态 on: 开启 off: 关闭
  • 当播放证书状态on(开启)时,cert和key不能为空 (Required)
  • param cert: 直播回看证书
  • 取值: 最大支持4098
  • 当播放证书状态on(开启)时,cert不能为空 (Optional)
  • param key: 直播回看证书key
  • 取值: 最大支持2048
  • 当播放证书状态on(开启)时,key不能为空 (Optional)
  • param title: 直播回看证书别名
  • 取值: 支持大小写字母和数字 长度最大256 (Optional)

func NewSetLiveRestartDomainCertificateRequestWithoutParam added in v1.13.0

func NewSetLiveRestartDomainCertificateRequestWithoutParam() *SetLiveRestartDomainCertificateRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveRestartDomainCertificateRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveRestartDomainCertificateRequest) SetCert added in v1.13.0

param cert: 直播回看证书

- 取值: 最大支持4098 - 当播放证书状态on(开启)时,cert不能为空 (Optional)

func (*SetLiveRestartDomainCertificateRequest) SetCertStatus added in v1.13.0

func (r *SetLiveRestartDomainCertificateRequest) SetCertStatus(certStatus string)
param certStatus: 直播回看证书状态
 on: 开启
 off: 关闭

- 当播放证书状态on(开启)时,cert和key不能为空 (Required)

func (*SetLiveRestartDomainCertificateRequest) SetKey added in v1.13.0

param key: 直播回看证书key

- 取值: 最大支持2048 - 当播放证书状态on(开启)时,key不能为空 (Optional)

func (*SetLiveRestartDomainCertificateRequest) SetRestartDomain added in v1.13.0

func (r *SetLiveRestartDomainCertificateRequest) SetRestartDomain(restartDomain string)

param restartDomain: 直播回看域名(Required)

func (*SetLiveRestartDomainCertificateRequest) SetTitle added in v1.13.0

param title: 直播回看证书别名

- 取值: 支持大小写字母和数字 长度最大256 (Optional)

type SetLiveRestartDomainCertificateResponse added in v1.13.0

type SetLiveRestartDomainCertificateResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    SetLiveRestartDomainCertificateResult `json:"result"`
}

type SetLiveRestartDomainCertificateResult added in v1.13.0

type SetLiveRestartDomainCertificateResult struct {
}

type SetLiveStreamNotifyConfigRequest added in v1.4.0

type SetLiveStreamNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 直播流状态回调地址
	- 必须以 http:// 开头
	*/
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamNotifyConfigRequest added in v1.4.0

func NewSetLiveStreamNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 直播流状态回调地址
  • 必须以 http:// 开头 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveStreamNotifyConfigRequestWithAllParams added in v1.4.0

func NewSetLiveStreamNotifyConfigRequestWithAllParams(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 直播流状态回调地址
  • 必须以 http:// 开头 (Required)

func NewSetLiveStreamNotifyConfigRequestWithoutParam added in v1.4.0

func NewSetLiveStreamNotifyConfigRequestWithoutParam() *SetLiveStreamNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveStreamNotifyConfigRequest) GetRegionId added in v1.4.0

func (r SetLiveStreamNotifyConfigRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveStreamNotifyConfigRequest) SetNotifyUrl added in v1.4.0

func (r *SetLiveStreamNotifyConfigRequest) SetNotifyUrl(notifyUrl string)
param notifyUrl: 直播流状态回调地址

- 必须以 http:// 开头 (Required)

func (*SetLiveStreamNotifyConfigRequest) SetPublishDomain added in v1.4.0

func (r *SetLiveStreamNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type SetLiveStreamNotifyConfigResponse added in v1.4.0

type SetLiveStreamNotifyConfigResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    SetLiveStreamNotifyConfigResult `json:"result"`
}

type SetLiveStreamNotifyConfigResult added in v1.4.0

type SetLiveStreamNotifyConfigResult struct {
}

type SetLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

type SetLiveStreamQualityDetectionNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 质量检测回调通知的URL地址:
	- 以 http:// 开头,外网可访问的地址
	*/
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamQualityDetectionNotifyConfigRequest added in v1.13.0

func NewSetLiveStreamQualityDetectionNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamQualityDetectionNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 质量检测回调通知的URL地址:
  • 以 http:// 开头,外网可访问的地址 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveStreamQualityDetectionNotifyConfigRequestWithAllParams added in v1.13.0

func NewSetLiveStreamQualityDetectionNotifyConfigRequestWithAllParams(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamQualityDetectionNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 质量检测回调通知的URL地址:
  • 以 http:// 开头,外网可访问的地址 (Required)

func NewSetLiveStreamQualityDetectionNotifyConfigRequestWithoutParam added in v1.13.0

func NewSetLiveStreamQualityDetectionNotifyConfigRequestWithoutParam() *SetLiveStreamQualityDetectionNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveStreamQualityDetectionNotifyConfigRequest) GetRegionId added in v1.13.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveStreamQualityDetectionNotifyConfigRequest) SetNotifyUrl added in v1.13.0

func (r *SetLiveStreamQualityDetectionNotifyConfigRequest) SetNotifyUrl(notifyUrl string)
param notifyUrl: 质量检测回调通知的URL地址:

- 以 http:// 开头,外网可访问的地址 (Required)

func (*SetLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain added in v1.13.0

func (r *SetLiveStreamQualityDetectionNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type SetLiveStreamQualityDetectionNotifyConfigResponse added in v1.13.0

type SetLiveStreamQualityDetectionNotifyConfigResponse struct {
	RequestID string                                          `json:"requestId"`
	Error     core.ErrorResponse                              `json:"error"`
	Result    SetLiveStreamQualityDetectionNotifyConfigResult `json:"result"`
}

type SetLiveStreamQualityDetectionNotifyConfigResult added in v1.13.0

type SetLiveStreamQualityDetectionNotifyConfigResult struct {
}

type SetLiveStreamRecordNotifyConfigRequest added in v1.4.0

type SetLiveStreamRecordNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 录制回调通知的URL地址
	- 以 http:// 开头,外网可访问的地址
	*/
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamRecordNotifyConfigRequest added in v1.4.0

func NewSetLiveStreamRecordNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamRecordNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 录制回调通知的URL地址
  • 以 http:// 开头,外网可访问的地址 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveStreamRecordNotifyConfigRequestWithAllParams added in v1.4.0

func NewSetLiveStreamRecordNotifyConfigRequestWithAllParams(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamRecordNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 录制回调通知的URL地址
  • 以 http:// 开头,外网可访问的地址 (Required)

func NewSetLiveStreamRecordNotifyConfigRequestWithoutParam added in v1.4.0

func NewSetLiveStreamRecordNotifyConfigRequestWithoutParam() *SetLiveStreamRecordNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveStreamRecordNotifyConfigRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveStreamRecordNotifyConfigRequest) SetNotifyUrl added in v1.4.0

func (r *SetLiveStreamRecordNotifyConfigRequest) SetNotifyUrl(notifyUrl string)
param notifyUrl: 录制回调通知的URL地址

- 以 http:// 开头,外网可访问的地址 (Required)

func (*SetLiveStreamRecordNotifyConfigRequest) SetPublishDomain added in v1.4.0

func (r *SetLiveStreamRecordNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type SetLiveStreamRecordNotifyConfigResponse added in v1.4.0

type SetLiveStreamRecordNotifyConfigResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    SetLiveStreamRecordNotifyConfigResult `json:"result"`
}

type SetLiveStreamRecordNotifyConfigResult added in v1.4.0

type SetLiveStreamRecordNotifyConfigResult struct {
}

type SetLiveStreamSnapshotNotifyConfigRequest added in v1.4.0

type SetLiveStreamSnapshotNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 截图回调通知的URL地址:
	- 以 http:// 开头,外网可访问的地址
	*/
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamSnapshotNotifyConfigRequest added in v1.4.0

func NewSetLiveStreamSnapshotNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamSnapshotNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 截图回调通知的URL地址:
  • 以 http:// 开头,外网可访问的地址 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewSetLiveStreamSnapshotNotifyConfigRequestWithAllParams added in v1.4.0

func NewSetLiveStreamSnapshotNotifyConfigRequestWithAllParams(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamSnapshotNotifyConfigRequest
  • param publishDomain: 推流域名 (Required)
  • param notifyUrl: 截图回调通知的URL地址:
  • 以 http:// 开头,外网可访问的地址 (Required)

func NewSetLiveStreamSnapshotNotifyConfigRequestWithoutParam added in v1.4.0

func NewSetLiveStreamSnapshotNotifyConfigRequestWithoutParam() *SetLiveStreamSnapshotNotifyConfigRequest

This constructor has better compatible ability when API parameters changed

func (SetLiveStreamSnapshotNotifyConfigRequest) GetRegionId added in v1.4.0

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetLiveStreamSnapshotNotifyConfigRequest) SetNotifyUrl added in v1.4.0

func (r *SetLiveStreamSnapshotNotifyConfigRequest) SetNotifyUrl(notifyUrl string)
param notifyUrl: 截图回调通知的URL地址:

- 以 http:// 开头,外网可访问的地址 (Required)

func (*SetLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain added in v1.4.0

func (r *SetLiveStreamSnapshotNotifyConfigRequest) SetPublishDomain(publishDomain string)

param publishDomain: 推流域名(Required)

type SetLiveStreamSnapshotNotifyConfigResponse added in v1.4.0

type SetLiveStreamSnapshotNotifyConfigResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    SetLiveStreamSnapshotNotifyConfigResult `json:"result"`
}

type SetLiveStreamSnapshotNotifyConfigResult added in v1.4.0

type SetLiveStreamSnapshotNotifyConfigResult struct {
}

type StartLiveDomainRequest

type StartLiveDomainRequest struct {
	core.JDCloudRequest

	/* 推流域名
	- 需要启动的域名对(推流域名,播放域名)中的推流域名
	*/
	PublishDomain string `json:"publishDomain"`
}

func NewStartLiveDomainRequest

func NewStartLiveDomainRequest(
	publishDomain string,
) *StartLiveDomainRequest
  • param publishDomain: 推流域名
  • 需要启动的域名对(推流域名,播放域名)中的推流域名 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewStartLiveDomainRequestWithAllParams

func NewStartLiveDomainRequestWithAllParams(
	publishDomain string,
) *StartLiveDomainRequest
  • param publishDomain: 推流域名
  • 需要启动的域名对(推流域名,播放域名)中的推流域名 (Required)

func NewStartLiveDomainRequestWithoutParam

func NewStartLiveDomainRequestWithoutParam() *StartLiveDomainRequest

This constructor has better compatible ability when API parameters changed

func (StartLiveDomainRequest) GetRegionId

func (r StartLiveDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*StartLiveDomainRequest) SetPublishDomain

func (r *StartLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 推流域名

- 需要启动的域名对(推流域名,播放域名)中的推流域名 (Required)

type StartLiveDomainResponse

type StartLiveDomainResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    StartLiveDomainResult `json:"result"`
}

type StartLiveDomainResult

type StartLiveDomainResult struct {
}

type StopLiveAppRequest

type StopLiveAppRequest struct {
	core.JDCloudRequest

	/* 直播的推流域名  */
	PublishDomain string `json:"publishDomain"`

	/* 应用名称  */
	AppName string `json:"appName"`
}

func NewStopLiveAppRequest

func NewStopLiveAppRequest(
	publishDomain string,
	appName string,
) *StopLiveAppRequest

* param publishDomain: 直播的推流域名 (Required) * param appName: 应用名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewStopLiveAppRequestWithAllParams

func NewStopLiveAppRequestWithAllParams(
	publishDomain string,
	appName string,
) *StopLiveAppRequest

* param publishDomain: 直播的推流域名 (Required) * param appName: 应用名称 (Required)

func NewStopLiveAppRequestWithoutParam

func NewStopLiveAppRequestWithoutParam() *StopLiveAppRequest

This constructor has better compatible ability when API parameters changed

func (StopLiveAppRequest) GetRegionId

func (r StopLiveAppRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*StopLiveAppRequest) SetAppName

func (r *StopLiveAppRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*StopLiveAppRequest) SetPublishDomain

func (r *StopLiveAppRequest) SetPublishDomain(publishDomain string)

param publishDomain: 直播的推流域名(Required)

type StopLiveAppResponse

type StopLiveAppResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    StopLiveAppResult  `json:"result"`
}

type StopLiveAppResult

type StopLiveAppResult struct {
}

type StopLiveDomainRequest

type StopLiveDomainRequest struct {
	core.JDCloudRequest

	/* 推流域名
	- 需要停用的域名对(推流域名,播放域名)中的推流域名
	*/
	PublishDomain string `json:"publishDomain"`
}

func NewStopLiveDomainRequest

func NewStopLiveDomainRequest(
	publishDomain string,
) *StopLiveDomainRequest
  • param publishDomain: 推流域名
  • 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required) *
  • @Deprecated, not compatible when mandatory parameters changed

func NewStopLiveDomainRequestWithAllParams

func NewStopLiveDomainRequestWithAllParams(
	publishDomain string,
) *StopLiveDomainRequest
  • param publishDomain: 推流域名
  • 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required)

func NewStopLiveDomainRequestWithoutParam

func NewStopLiveDomainRequestWithoutParam() *StopLiveDomainRequest

This constructor has better compatible ability when API parameters changed

func (StopLiveDomainRequest) GetRegionId

func (r StopLiveDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*StopLiveDomainRequest) SetPublishDomain

func (r *StopLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 推流域名

- 需要停用的域名对(推流域名,播放域名)中的推流域名 (Required)

type StopLiveDomainResponse

type StopLiveDomainResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    StopLiveDomainResult `json:"result"`
}

type StopLiveDomainResult

type StopLiveDomainResult struct {
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL