apis

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCustomLiveStreamRecordTemplateRequest

type AddCustomLiveStreamRecordTemplateRequest struct {
	core.JDCloudRequest

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

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

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

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

	/* 录制模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddCustomLiveStreamRecordTemplateRequest

func NewAddCustomLiveStreamRecordTemplateRequest(
	recordPeriod int,
	saveBucket string,
	saveEndpoint string,
	recordFileType string,
	template string,
) *AddCustomLiveStreamRecordTemplateRequest

* param recordPeriod: 自动录制周期:

  • 取值:[15,360]
  • 单位: 分钟

(Required) * param saveBucket: 存储桶 (Required) * param saveEndpoint: 存储地址 (Required) * param recordFileType: 录制文件格式:

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

(Required) * param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <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: 存储地址 (Required) * param recordFileType: 录制文件格式:

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

(Required) * param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <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: 存储地址

(Required)

func (*AddCustomLiveStreamRecordTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamRecordTemplateRequest) SetTemplate(template string)
param template: 录制模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <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]
	 - 等比: 如果只填写一个参数,则按参数比例等比缩放截图
	 - 随源: 如果两个参数都不填写,则截取源流大小原图
	(Optional) */
	Width *int `json:"width"`

	/* 截图高度:
	 - 取值: [8,8192]
	 - 等比: 如果只填写一个参数,则按参数比例等比缩放截图
	 - 随源: 如果两个参数都不填写,则截取源流大小原图
	(Optional) */
	Height *int `json:"height"`

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

	/* 截图周期:
	- MIN_INTEGER = 5
	- MAX_INTEGER = 3600;
	- 单位: 秒
	*/
	SnapshotInterval int `json:"snapshotInterval"`

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

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

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

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddCustomLiveStreamSnapshotTemplateRequest

func NewAddCustomLiveStreamSnapshotTemplateRequest(
	format string,
	fillType int,
	snapshotInterval int,
	saveMode int,
	saveBucket string,
	saveEndpoint string,
	template string,
) *AddCustomLiveStreamSnapshotTemplateRequest

* param format: 截图格式:

  • 取值: jpg, png
  • 不区分大小写

(Required) * param fillType: 截图与设定的宽高不匹配时的处理规则:

  • 1-拉伸
  • 2-留黑
  • 3-留白
  • 4-高斯模糊
  • 默认值1,2,3,4是等比例的缩放,1是按照设定宽高拉伸

(Required) * param snapshotInterval: 截图周期:

  • MIN_INTEGER = 5
  • MAX_INTEGER = 3600;
  • 单位: 秒

(Required) * param saveMode: 存储模式:

  • 1-覆盖
  • 2-顺序编号存储

(Required) * param saveBucket: 存储桶 (Required) * param saveEndpoint: 存储地址 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <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]
  • 等比: 如果只填写一个参数,则按参数比例等比缩放截图
  • 随源: 如果两个参数都不填写,则截取源流大小原图

(Optional) * param height: 截图高度:

  • 取值: [8,8192]
  • 等比: 如果只填写一个参数,则按参数比例等比缩放截图
  • 随源: 如果两个参数都不填写,则截取源流大小原图

(Optional) * param fillType: 截图与设定的宽高不匹配时的处理规则:

  • 1-拉伸
  • 2-留黑
  • 3-留白
  • 4-高斯模糊
  • 默认值1,2,3,4是等比例的缩放,1是按照设定宽高拉伸

(Required) * param snapshotInterval: 截图周期:

  • MIN_INTEGER = 5
  • MAX_INTEGER = 3600;
  • 单位: 秒

(Required) * param saveMode: 存储模式:

  • 1-覆盖
  • 2-顺序编号存储

(Required) * param saveBucket: 存储桶 (Required) * param saveEndpoint: 存储地址 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <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是等比例的缩放,1是按照设定宽高拉伸

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetFormat

param format: 截图格式:
 - 取值: jpg, png
 - 不区分大小写

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetHeight

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetHeight(height int)
param height: 截图高度:
 - 取值: [8,8192]
 - 等比: 如果只填写一个参数,则按参数比例等比缩放截图
 - 随源: 如果两个参数都不填写,则截取源流大小原图

(Optional)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSaveBucket

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSaveBucket(saveBucket string)

param saveBucket: 存储桶(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetSaveEndpoint

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetSaveEndpoint(saveEndpoint string)

param saveEndpoint: 存储地址(Required)

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: 截图周期:
 - MIN_INTEGER = 5
 - MAX_INTEGER = 3600;
 - 单位: 秒

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamSnapshotTemplateRequest) SetTemplate(template string)
param template: 截图模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required)

func (*AddCustomLiveStreamSnapshotTemplateRequest) SetWidth

param width: 截图宽度:
 - 取值: [8,8192]
 - 等比: 如果只填写一个参数,则按参数比例等比缩放截图
 - 随源: 如果两个参数都不填写,则截取源流大小原图

(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

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

	/* 转码输出的帧率值:
	- 取值:15/1、25/1、30/1、60/1
	*/
	VideoFrameRate string `json:"videoFrameRate"`

	/* 转码输出视频宽度:
	 - 取值: [100,1920]
	 - 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
	 - 随源: 如果两个参数都不填写,则按照源比例输出转码视频
	(Optional) */
	Width *int `json:"width"`

	/* 转码输出视频宽度:
	 - 取值: [100,1920]
	 - 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
	 - 随源: 如果两个参数都不填写,则按照源比例输出转码视频
	(Optional) */
	Height *int `json:"height"`

	/* 转码模板后缀:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`

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

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

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

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

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

func NewAddCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewAddCustomLiveStreamTranscodeTemplateRequest(
	videoCodeRate int,
	videoFrameRate string,
	template string,
	audioCodec string,
	audioFormat string,
	audioSampleRate int,
	audioChannel int,
	audioCodeRate int,
) *AddCustomLiveStreamTranscodeTemplateRequest

* param videoCodeRate: 转码输出的码率值: - 取值范围:[200,3000] - 单位: kpbs (Required) * param videoFrameRate: 转码输出的帧率值:

  • 取值:15/1、25/1、30/1、60/1

(Required) * param template: 转码模板后缀:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param audioCodec: 转码输出音频编码格式:

  • 取值: aac、mp3
  • 不区分大小写

(Required) * param audioFormat: 转码输出音频格式:

  • 取值: aac_lc,aac_low,aac_he,aac_he_v2
  • 不区分大小写

(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(
	videoCodeRate int,
	videoFrameRate string,
	width *int,
	height *int,
	template string,
	audioCodec string,
	audioFormat string,
	audioSampleRate int,
	audioChannel int,
	audioCodeRate int,
) *AddCustomLiveStreamTranscodeTemplateRequest

* param videoCodeRate: 转码输出的码率值: - 取值范围:[200,3000] - 单位: kpbs (Required) * param videoFrameRate: 转码输出的帧率值:

  • 取值:15/1、25/1、30/1、60/1

(Required) * param width: 转码输出视频宽度:

  • 取值: [100,1920]
  • 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
  • 随源: 如果两个参数都不填写,则按照源比例输出转码视频

(Optional) * param height: 转码输出视频宽度:

  • 取值: [100,1920]
  • 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
  • 随源: 如果两个参数都不填写,则按照源比例输出转码视频

(Optional) * param template: 转码模板后缀:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param audioCodec: 转码输出音频编码格式:

  • 取值: aac、mp3
  • 不区分大小写

(Required) * param audioFormat: 转码输出音频格式:

  • 取值: aac_lc,aac_low,aac_he,aac_he_v2
  • 不区分大小写

(Required) * param audioSampleRate: 转码输出音频采样率:

  • 取值: [44100,48000]

(Required) * param audioChannel: 转码输出音频通道数:

  • 1 单声道
  • 2 双声道

(Required) * param audioCodeRate: 转码输出音频码率:

  • 取值: [16,128]
  • 单位: kbps

(Required)

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) SetAudioFormat added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetAudioFormat(audioFormat string)
param audioFormat: 转码输出音频格式:
 - 取值: aac_lc,aac_low,aac_he,aac_he_v2
 - 不区分大小写

(Required)

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: 转码输出视频宽度:
 - 取值: [100,1920]
 - 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
 - 随源: 如果两个参数都不填写,则按照源比例输出转码视频

(Optional)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetTemplate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetTemplate(template string)
param template: 转码模板后缀:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodeRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetVideoCodeRate(videoCodeRate int)
param videoCodeRate: 转码输出的码率值:
- 取值范围:[200,3000]
- 单位: kpbs

(Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetVideoFrameRate added in v1.4.0

func (r *AddCustomLiveStreamTranscodeTemplateRequest) SetVideoFrameRate(videoFrameRate string)
param videoFrameRate: 转码输出的帧率值:
 - 取值:15/1、25/1、30/1、60/1

(Required)

func (*AddCustomLiveStreamTranscodeTemplateRequest) SetWidth added in v1.4.0

param width: 转码输出视频宽度:
 - 取值: [100,1920]
 - 等比: 如果只填写一个参数,则按参数比例调节输出转码视频
 - 随源: 如果两个参数都不填写,则按照源比例输出转码视频

(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

	/* x轴偏移量:
	- 单位:像素
	*/
	OffsetX int `json:"offsetX"`

	/* y轴偏移量:
	- 单位:像素
	*/
	OffsetY int `json:"offsetY"`

	/* 水印宽度:
	- 取值: [0,1920]
	*/
	Width int `json:"width"`

	/* 水印高度:
	- 取值: [0,1920]
	*/
	Height int `json:"height"`

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`

	/* 水印地址:
	- 以 http开头,可访问地址
	*/
	Url string `json:"url"`
}

func NewAddCustomLiveStreamWatermarkTemplateRequest

func NewAddCustomLiveStreamWatermarkTemplateRequest(
	offsetX int,
	offsetY int,
	width int,
	height int,
	template string,
	url string,
) *AddCustomLiveStreamWatermarkTemplateRequest

* param offsetX: x轴偏移量:

  • 单位:像素

(Required) * param offsetY: y轴偏移量:

  • 单位:像素

(Required) * param width: 水印宽度:

  • 取值: [0,1920]

(Required) * param height: 水印高度:

  • 取值: [0,1920]

(Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param url: 水印地址:

  • 以 http开头,可访问地址

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

func NewAddCustomLiveStreamWatermarkTemplateRequestWithAllParams

func NewAddCustomLiveStreamWatermarkTemplateRequestWithAllParams(
	offsetX int,
	offsetY int,
	width int,
	height int,
	template string,
	url string,
) *AddCustomLiveStreamWatermarkTemplateRequest

* param offsetX: x轴偏移量:

  • 单位:像素

(Required) * param offsetY: y轴偏移量:

  • 单位:像素

(Required) * param width: 水印宽度:

  • 取值: [0,1920]

(Required) * param height: 水印高度:

  • 取值: [0,1920]

(Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param url: 水印地址:

  • 以 http开头,可访问地址

(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: 水印高度:
 - 取值: [0,1920]

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetX

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetX(offsetX int)
param offsetX: x轴偏移量:
 - 单位:像素

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetY

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetOffsetY(offsetY int)
param offsetY: y轴偏移量:
 - 单位:像素

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetTemplate

func (r *AddCustomLiveStreamWatermarkTemplateRequest) SetTemplate(template string)
param template: 水印模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetUrl

param url: 水印地址:
 - 以 http开头,可访问地址

(Required)

func (*AddCustomLiveStreamWatermarkTemplateRequest) SetWidth

param width: 水印宽度:
 - 取值: [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"`

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

func NewAddLiveAppRequest

func NewAddLiveAppRequest(
	publishDomain string,
	appName string,
) *AddLiveAppRequest

* param publishDomain: 直播的推流域名(不支持泛域名) (Required) * param appName: 应用名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveAppRequestWithAllParams

func NewAddLiveAppRequestWithAllParams(
	publishDomain string,
	appName string,
) *AddLiveAppRequest

* param publishDomain: 直播的推流域名(不支持泛域名) (Required) * param appName: 应用名称 (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: 应用名称(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"`

	/* 录制时间集合  */
	RecordTimes []live.RecordTime `json:"recordTimes"`

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

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

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

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

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: 录制时间集合 (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,
) *AddLiveRecordTaskRequest

* param publishDomain: 推流加速域名 (Required) * param appName: 直播流所属应用名称 (Required) * param streamName: 直播流名称 (Required) * param recordTimes: 录制时间集合 (Required) * param saveBucket: 存储桶 (Required) * param saveEndpoint: 存储地址 (Required) * param recordFileType: 录制文件类型:

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

(Required) * param saveObject: 录制文件存储路径:

  • 默认地址: record/{Date}/{ServerId}/{AppName}/{StreamName}/{StartTime}_{EndTime}.{format}

(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: 录制时间集合(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: 录制文件存储路径:
 - 默认地址: record/{Date}/{ServerId}/{AppName}/{StreamName}/{StartTime}_{EndTime}.{format}

(Optional)

func (*AddLiveRecordTaskRequest) SetStreamName added in v1.4.0

func (r *AddLiveRecordTaskRequest) SetStreamName(streamName string)

param streamName: 直播流名称(Required)

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 AddLiveStreamAppRecordRequest

type AddLiveStreamAppRecordRequest struct {
	core.JDCloudRequest

	/* 直播流所属应用名称  */
	AppName string `json:"appName"`

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

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

func NewAddLiveStreamAppRecordRequest

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (Required) * param template: 录制模版 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppRecordRequestWithAllParams

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (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

	/* 直播流所属应用名称  */
	AppName string `json:"appName"`

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamAppSnapshotRequest

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewAddLiveStreamAppSnapshotRequestWithAllParams

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 截图模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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"`

	/* 转码模版:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`

	/* 直播流所属应用名称  */
	AppName string `json:"appName"`
}

func NewAddLiveStreamAppTranscodeRequest

func NewAddLiveStreamAppTranscodeRequest(
	publishDomain string,
	template string,
	appName string,
) *AddLiveStreamAppTranscodeRequest

* param publishDomain: 直播的推流域名 (Required) * param template: 转码模版:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param appName: 直播流所属应用名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddLiveStreamAppTranscodeRequestWithAllParams

func NewAddLiveStreamAppTranscodeRequestWithAllParams(
	publishDomain string,
	template string,
	appName string,
) *AddLiveStreamAppTranscodeRequest

* param publishDomain: 直播的推流域名 (Required) * param template: 转码模版:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(Required) * param appName: 直播流所属应用名称 (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: 转码模版:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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

	/* 直播流所属应用名称  */
	AppName string `json:"appName"`

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamAppWatermarkRequest

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewAddLiveStreamAppWatermarkRequestWithAllParams

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

* param appName: 直播流所属应用名称 (Required) * param publishDomain: 您的推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 水印模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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 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"`

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamDomainSnapshotRequest

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

* param publishDomain: 您的推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewAddLiveStreamDomainSnapshotRequestWithAllParams

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

* param publishDomain: 您的推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 截图模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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"`

	/* 转码模版:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- 注意: 不能与标准的转码模板和已定义命名重复
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamDomainTranscodeRequest

func NewAddLiveStreamDomainTranscodeRequest(
	publishDomain string,
	template string,
) *AddLiveStreamDomainTranscodeRequest

* param publishDomain: 直播的推流域名 (Required) * param template: 转码模版:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • 注意: 不能与标准的转码模板和已定义命名重复

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

func NewAddLiveStreamDomainTranscodeRequestWithAllParams

func NewAddLiveStreamDomainTranscodeRequestWithAllParams(
	publishDomain string,
	template string,
) *AddLiveStreamDomainTranscodeRequest

* param publishDomain: 直播的推流域名 (Required) * param template: 转码模版:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • 注意: 不能与标准的转码模板和已定义命名重复

(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: 转码模版:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - 注意: 不能与标准的转码模板和已定义命名重复

(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"`

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewAddLiveStreamDomainWatermarkRequest

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

* param publishDomain: 您的推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewAddLiveStreamDomainWatermarkRequestWithAllParams

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

* param publishDomain: 您的推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 水印模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
             取值要求:数字、大小写字母或短横线("-"),
             首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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 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 DeleteCustomLiveStreamRecordTemplateRequest

type DeleteCustomLiveStreamRecordTemplateRequest struct {
	core.JDCloudRequest

	/* 录制模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamRecordTemplateRequest

func NewDeleteCustomLiveStreamRecordTemplateRequest(
	template string,
) *DeleteCustomLiveStreamRecordTemplateRequest

* param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewDeleteCustomLiveStreamRecordTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamRecordTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamRecordTemplateRequest

* param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 录制模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamSnapshotTemplateRequest

func NewDeleteCustomLiveStreamSnapshotTemplateRequest(
	template string,
) *DeleteCustomLiveStreamSnapshotTemplateRequest

* param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamSnapshotTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamSnapshotTemplateRequest

* param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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

	/* 转码模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewDeleteCustomLiveStreamTranscodeTemplateRequest(
	template string,
) *DeleteCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithAllParams added in v1.4.0

func NewDeleteCustomLiveStreamTranscodeTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteCustomLiveStreamWatermarkTemplateRequest

func NewDeleteCustomLiveStreamWatermarkTemplateRequest(
	template string,
) *DeleteCustomLiveStreamWatermarkTemplateRequest

* param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithAllParams

func NewDeleteCustomLiveStreamWatermarkTemplateRequestWithAllParams(
	template string,
) *DeleteCustomLiveStreamWatermarkTemplateRequest

* param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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 DeleteLiveAppRequest

type DeleteLiveAppRequest struct {
	core.JDCloudRequest

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

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

func NewDeleteLiveAppRequest

func NewDeleteLiveAppRequest(
	publishDomain string,
	appName string,
) *DeleteLiveAppRequest

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

func NewDeleteLiveAppRequestWithAllParams

func NewDeleteLiveAppRequestWithAllParams(
	publishDomain string,
	appName string,
) *DeleteLiveAppRequest

* param publishDomain: 直播推流域名 (Required) * param appName: 应用名称 (Required)

func NewDeleteLiveAppRequestWithoutParam

func NewDeleteLiveAppRequestWithoutParam() *DeleteLiveAppRequest

This constructor has better compatible ability when API parameters changed

func (DeleteLiveAppRequest) GetRegionId

func (r DeleteLiveAppRequest) GetRegionId() string

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

func (*DeleteLiveAppRequest) SetAppName

func (r *DeleteLiveAppRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*DeleteLiveAppRequest) SetPublishDomain

func (r *DeleteLiveAppRequest) SetPublishDomain(publishDomain string)

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

type DeleteLiveAppResponse

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

type DeleteLiveAppResult

type DeleteLiveAppResult 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 DeleteLiveStreamAppRecordRequest

type DeleteLiveStreamAppRecordRequest struct {
	core.JDCloudRequest

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

	/* 直播流所属应用名称  */
	AppName string `json:"appName"`

	/* 录制模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppRecordRequest

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

* param publishDomain: 推流加速域名 (Required) * param appName: 直播流所属应用名称 (Required) * param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 录制模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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"`

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppSnapshotRequest

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

* param publishDomain: 推流加速域名 (Required) * param appName: 直播流所属应用名称 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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"`

	/* 转码模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppTranscodeRequest

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

* param publishDomain: 推流加速域名 (Required) * param appName: 直播流所属应用名称 (Required) * param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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"`

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamAppWatermarkRequest

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

* param publishDomain: 推流加速域名 (Required) * param appName: 直播流所属应用名称 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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 DeleteLiveStreamDomainRecordRequest

type DeleteLiveStreamDomainRecordRequest struct {
	core.JDCloudRequest

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

	/* 录制模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>
	*/
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainRecordRequest

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

* param publishDomain: 推流加速域名 (Required) * param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

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

func NewDeleteLiveStreamDomainRecordRequestWithAllParams

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

* param publishDomain: 推流加速域名 (Required) * param template: 录制模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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: 录制模板自定义名称:
 - 标准质量模板:sd、hd、hsd
 - 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
              取值要求:数字、大小写字母或短横线("-"),
              首尾不能有特殊字符("-")
 - <b>注意: 不能与标准的转码模板和已定义命名重复</b>

(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"`

	/* 截图模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainSnapshotRequest

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

* param publishDomain: 推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainSnapshotRequestWithAllParams

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

* param publishDomain: 推流加速域名 (Required) * param template: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 截图模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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"`

	/* 转码模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainTranscodeRequest

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

* param publishDomain: 推流加速域名 (Required) * param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainTranscodeRequestWithAllParams

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

* param publishDomain: 推流加速域名 (Required) * param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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"`

	/* 水印模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	            取值要求:数字、大小写字母或短横线("-"),
	            首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDeleteLiveStreamDomainWatermarkRequest

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

* param publishDomain: 推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteLiveStreamDomainWatermarkRequestWithAllParams

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

* param publishDomain: 推流加速域名 (Required) * param template: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 水印模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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 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 DescribeCustomLiveStreamRecordConfigRequest

type DescribeCustomLiveStreamRecordConfigRequest struct {
	core.JDCloudRequest

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

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

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

func NewDescribeCustomLiveStreamRecordConfigRequest

func NewDescribeCustomLiveStreamRecordConfigRequest() *DescribeCustomLiveStreamRecordConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamRecordConfigRequestWithAllParams

func NewDescribeCustomLiveStreamRecordConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamRecordConfigRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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

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

(Optional)

func (*DescribeCustomLiveStreamRecordConfigRequest) SetPageNum

func (r *DescribeCustomLiveStreamRecordConfigRequest) SetPageNum(pageNum int)

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

func (*DescribeCustomLiveStreamRecordConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamRecordConfigRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

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

func NewDescribeCustomLiveStreamRecordTemplatesRequest

func NewDescribeCustomLiveStreamRecordTemplatesRequest() *DescribeCustomLiveStreamRecordTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamRecordTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamRecordTemplatesRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamRecordTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamRecordTemplatesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

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

func NewDescribeCustomLiveStreamSnapshotConfigRequest

func NewDescribeCustomLiveStreamSnapshotConfigRequest() *DescribeCustomLiveStreamSnapshotConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithAllParams

func NewDescribeCustomLiveStreamSnapshotConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamSnapshotConfigRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamSnapshotConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamSnapshotConfigRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

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

func NewDescribeCustomLiveStreamSnapshotTemplatesRequest

func NewDescribeCustomLiveStreamSnapshotTemplatesRequest() *DescribeCustomLiveStreamSnapshotTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamSnapshotTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamSnapshotTemplatesRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamSnapshotTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamSnapshotTemplatesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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

	/* 转码模板自定义名称:
	- 标准质量模板:sd、hd、hsd
	- 自定义模板: 枚举类型校验,忽略大小写,自动删除空格,
	             取值要求:数字、大小写字母或短横线("-"),
	             首尾不能有特殊字符("-")
	- <b>注意: 不能与标准的转码模板和已定义命名重复</b>  */
	Template string `json:"template"`
}

func NewDescribeCustomLiveStreamTranscodeTemplateRequest added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplateRequest(
	template string,
) *DescribeCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (Required)

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithAllParams added in v1.4.0

func NewDescribeCustomLiveStreamTranscodeTemplateRequestWithAllParams(
	template string,
) *DescribeCustomLiveStreamTranscodeTemplateRequest

* param template: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b> (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: 转码模板自定义名称:

  • 标准质量模板:sd、hd、hsd
  • 自定义模板: 枚举类型校验,忽略大小写,自动删除空格, 取值要求:数字、大小写字母或短横线("-"), 首尾不能有特殊字符("-")
  • <b>注意: 不能与标准的转码模板和已定义命名重复</b>(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 {
	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"`
}

type DescribeCustomLiveStreamTranscodeTemplatesRequest added in v1.4.0

type DescribeCustomLiveStreamTranscodeTemplatesRequest struct {
	core.JDCloudRequest

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

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

	/* 转码模板查询过滤条件:
	 - name:   template 录制模板自定义名称
	 - value:  如果参数为空,则查询全部
	(Optional) */
	Filters []common.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 []common.Filter,
) *DescribeCustomLiveStreamTranscodeTemplatesRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamTranscodeTemplatesRequest) SetPageSize added in v1.4.0

func (r *DescribeCustomLiveStreamTranscodeTemplatesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

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

func NewDescribeCustomLiveStreamWatermarkConfigRequest

func NewDescribeCustomLiveStreamWatermarkConfigRequest() *DescribeCustomLiveStreamWatermarkConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithAllParams

func NewDescribeCustomLiveStreamWatermarkConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamWatermarkConfigRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamWatermarkConfigRequest) SetPageSize

func (r *DescribeCustomLiveStreamWatermarkConfigRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

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

func NewDescribeCustomLiveStreamWatermarkTemplatesRequest

func NewDescribeCustomLiveStreamWatermarkTemplatesRequest() *DescribeCustomLiveStreamWatermarkTemplatesRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithAllParams

func NewDescribeCustomLiveStreamWatermarkTemplatesRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeCustomLiveStreamWatermarkTemplatesRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeCustomLiveStreamWatermarkTemplatesRequest) SetPageSize

func (r *DescribeCustomLiveStreamWatermarkTemplatesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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 DescribeLiveAppRequest

type DescribeLiveAppRequest struct {
	core.JDCloudRequest

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

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

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

func NewDescribeLiveAppRequest

func NewDescribeLiveAppRequest() *DescribeLiveAppRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveAppRequestWithAllParams

func NewDescribeLiveAppRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeLiveAppRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param filters: 域名下的app列表过滤条件:

  • name: publishDomain 直播的推流域名
  • value: 如果参数为空,则查询全部

(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 []common.Filter)
param filters: 域名下的app列表过滤条件:
 - name:   publishDomain 直播的推流域名
 - value:  如果参数为空,则查询全部

(Optional)

func (*DescribeLiveAppRequest) SetPageNum

func (r *DescribeLiveAppRequest) SetPageNum(pageNum int)

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

func (*DescribeLiveAppRequest) SetPageSize

func (r *DescribeLiveAppRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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 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 {
	PublishDomains []live.PublishDomain `json:"publishDomains"`
	PlayDomains    []live.PlayDomain    `json:"playDomains"`
}

type DescribeLiveDomainsRequest added in v1.4.0

type DescribeLiveDomainsRequest struct {
	core.JDCloudRequest

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

	/* 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000](Optional)

func (*DescribeLiveDomainsRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveDomainsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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 DescribeLivePlayAuthKeyRequest added in v1.6.0

type DescribeLivePlayAuthKeyRequest struct {
	core.JDCloudRequest

	/* 您的播放加速域名  */
	PlayDomain string `json:"playDomain"`
}

func NewDescribeLivePlayAuthKeyRequest added in v1.6.0

func NewDescribeLivePlayAuthKeyRequest(
	playDomain string,
) *DescribeLivePlayAuthKeyRequest

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

func NewDescribeLivePlayAuthKeyRequestWithAllParams added in v1.6.0

func NewDescribeLivePlayAuthKeyRequestWithAllParams(
	playDomain string,
) *DescribeLivePlayAuthKeyRequest

* param playDomain: 您的播放加速域名 (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: 您的播放加速域名(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

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 直播流所属应用名称 (Optional) */
	AppName *string `json:"appName"`

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

	/* 起始时间:
	- UTC 时间格式 e.g: 2019-03-12T00:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	 - UTC 时间格式 e.g: 2019-03-12T00:00:00Z
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLivePornDataRequest added in v1.6.0

func NewDescribeLivePornDataRequest(
	publishDomain string,
	startTime string,
) *DescribeLivePornDataRequest

* param publishDomain: 您的推流加速域名 (Required) * param startTime: 起始时间:

  • UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(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: 您的推流加速域名 (Required) * param appName: 直播流所属应用名称 (Optional) * param streamName: 直播流名称 (Optional) * param startTime: 起始时间:

  • UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(Required) * param endTime: 结束时间:

  • UTC 时间格式 e.g: 2019-03-12T00: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 时间格式 e.g: 2019-03-12T00:00:00Z

(Optional)

func (*DescribeLivePornDataRequest) SetPublishDomain added in v1.6.0

func (r *DescribeLivePornDataRequest) SetPublishDomain(publishDomain string)

param publishDomain: 您的推流加速域名(Required)

func (*DescribeLivePornDataRequest) SetStartTime added in v1.6.0

func (r *DescribeLivePornDataRequest) SetStartTime(startTime string)
param startTime: 起始时间:
 - UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(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.PornData `json:"pornData"`
}

type DescribeLiveSnapshotDataRequest added in v1.6.0

type DescribeLiveSnapshotDataRequest struct {
	core.JDCloudRequest

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 直播流所属应用名称 (Optional) */
	AppName *string `json:"appName"`

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

	/* 起始时间:
	- UTC 时间格式 e.g: 2019-03-12T00:00:00Z
	*/
	StartTime string `json:"startTime"`

	/* 结束时间:
	 - UTC 时间格式 e.g: 2019-03-12T00:00:00Z
	(Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveSnapshotDataRequest added in v1.6.0

func NewDescribeLiveSnapshotDataRequest(
	publishDomain string,
	startTime string,
) *DescribeLiveSnapshotDataRequest

* param publishDomain: 您的推流加速域名 (Required) * param startTime: 起始时间:

  • UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(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: 您的推流加速域名 (Required) * param appName: 直播流所属应用名称 (Optional) * param streamName: 直播流名称 (Optional) * param startTime: 起始时间:

  • UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(Required) * param endTime: 结束时间:

  • UTC 时间格式 e.g: 2019-03-12T00: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 时间格式 e.g: 2019-03-12T00:00:00Z

(Optional)

func (*DescribeLiveSnapshotDataRequest) SetPublishDomain added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetPublishDomain(publishDomain string)

param publishDomain: 您的推流加速域名(Required)

func (*DescribeLiveSnapshotDataRequest) SetStartTime added in v1.6.0

func (r *DescribeLiveSnapshotDataRequest) SetStartTime(startTime string)
param startTime: 起始时间:
 - UTC 时间格式 e.g: 2019-03-12T00:00:00Z

(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.SnapshotData `json:"snapshotData"`
}

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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

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

	/* 应用名称(APP) (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;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param appName: 应用名称(APP) (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: 应用名称(APP)(Optional)

func (*DescribeLiveStreamOnlineListRequest) SetPageNum added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetPageNum(pageNum int)

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

func (*DescribeLiveStreamOnlineListRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveStreamOnlineListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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 DescribeLiveStreamPublishListRequest added in v1.4.0

type DescribeLiveStreamPublishListRequest struct {
	core.JDCloudRequest

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

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

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

	/* 直播流所属应用名称 (Optional) */
	AppName *string `json:"appName"`

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

	/* 起始时间  */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeLiveStreamPublishListRequest added in v1.4.0

func NewDescribeLiveStreamPublishListRequest(
	publishDomain string,
	startTime string,
) *DescribeLiveStreamPublishListRequest

* param publishDomain: 推流域名 (Required) * param startTime: 起始时间 (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: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param appName: 直播流所属应用名称 (Optional) * param streamName: 直播流名称 (Optional) * param startTime: 起始时间 (Required) * param endTime: 结束时间 (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: 结束时间(Optional)

func (*DescribeLiveStreamPublishListRequest) SetPageNum added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetPageNum(pageNum int)

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

func (*DescribeLiveStreamPublishListRequest) SetPageSize added in v1.4.0

func (r *DescribeLiveStreamPublishListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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: 起始时间(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 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 DescribeLiveStreamTranscodeConfigRequest

type DescribeLiveStreamTranscodeConfigRequest struct {
	core.JDCloudRequest

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

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

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

func NewDescribeLiveStreamTranscodeConfigRequest

func NewDescribeLiveStreamTranscodeConfigRequest() *DescribeLiveStreamTranscodeConfigRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLiveStreamTranscodeConfigRequestWithAllParams

func NewDescribeLiveStreamTranscodeConfigRequestWithAllParams(
	pageNum *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeLiveStreamTranscodeConfigRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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 []common.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;取值范围[1, 100000](Optional)

func (*DescribeLiveStreamTranscodeConfigRequest) SetPageSize

func (r *DescribeLiveStreamTranscodeConfigRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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;取值范围[1, 100000] (Optional) */
	PageNum *int `json:"pageNum"`

	/* 分页大小;默认为10;取值范围[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(
	pageNum *int,
	pageSize *int,
	playDomain string,
) *DescribeLiveTimeshiftConfigsRequest

* param pageNum: 页码;默认为1;取值范围[1, 100000] (Optional) * param pageSize: 分页大小;默认为10;取值范围[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) SetPageNum added in v1.6.0

func (r *DescribeLiveTimeshiftConfigsRequest) SetPageNum(pageNum int)

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

func (*DescribeLiveTimeshiftConfigsRequest) SetPageSize added in v1.6.0

func (r *DescribeLiveTimeshiftConfigsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小;默认为10;取值范围[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 ForbidLiveStreamRequest

type ForbidLiveStreamRequest struct {
	core.JDCloudRequest

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

	/* 您的加速域名  */
	PublishDomain string `json:"publishDomain"`

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

func NewForbidLiveStreamRequest

func NewForbidLiveStreamRequest(
	appName string,
	publishDomain string,
	streamName string,
) *ForbidLiveStreamRequest

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

func NewForbidLiveStreamRequestWithAllParams

func NewForbidLiveStreamRequestWithAllParams(
	appName string,
	publishDomain string,
	streamName string,
) *ForbidLiveStreamRequest

* param appName: 应用名称 (Required) * param publishDomain: 您的加速域名 (Required) * param streamName: 流名称 (Required)

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) 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 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

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

	/* 您的加速域名  */
	PublishDomain string `json:"publishDomain"`

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

func NewResumeLiveStreamRequest

func NewResumeLiveStreamRequest(
	appName string,
	publishDomain string,
	streamName string,
) *ResumeLiveStreamRequest

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

func NewResumeLiveStreamRequestWithAllParams

func NewResumeLiveStreamRequestWithAllParams(
	appName string,
	publishDomain string,
	streamName string,
) *ResumeLiveStreamRequest

* param appName: 应用名称 (Required) * param publishDomain: 您的加速域名 (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 SetLivePlayAuthKeyRequest added in v1.6.0

type SetLivePlayAuthKeyRequest struct {
	core.JDCloudRequest

	/* 您的播放加速域名  */
	PlayDomain string `json:"playDomain"`

	/* 播放鉴权状态 (Optional) */
	AuthStatus *string `json:"authStatus"`

	/* 播放鉴权key (Optional) */
	AuthKey *string `json:"authKey"`
}

func NewSetLivePlayAuthKeyRequest added in v1.6.0

func NewSetLivePlayAuthKeyRequest(
	playDomain string,
) *SetLivePlayAuthKeyRequest

* param playDomain: 您的播放加速域名 (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: 您的播放加速域名 (Required) * param authStatus: 播放鉴权状态 (Optional) * param authKey: 播放鉴权key (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: 播放鉴权key(Optional)

func (*SetLivePlayAuthKeyRequest) SetAuthStatus added in v1.6.0

func (r *SetLivePlayAuthKeyRequest) SetAuthStatus(authStatus string)

param authStatus: 播放鉴权状态(Optional)

func (*SetLivePlayAuthKeyRequest) SetPlayDomain added in v1.6.0

func (r *SetLivePlayAuthKeyRequest) SetPlayDomain(playDomain string)

param playDomain: 您的播放加速域名(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 SetLiveStreamNotifyConfigRequest added in v1.4.0

type SetLiveStreamNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 您的加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 设置直播流信息推送到的 URL 地址:
	- 必须以 http:// 开头
	- 正则校验格式
	*/
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamNotifyConfigRequest added in v1.4.0

func NewSetLiveStreamNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamNotifyConfigRequest

* param publishDomain: 您的加速域名 (Required) * param notifyUrl: 设置直播流信息推送到的 URL 地址:

  • 必须以 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: 设置直播流信息推送到的 URL 地址:

  • 必须以 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: 设置直播流信息推送到的 URL 地址:
 - 必须以 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 SetLiveStreamRecordNotifyConfigRequest added in v1.4.0

type SetLiveStreamRecordNotifyConfigRequest struct {
	core.JDCloudRequest

	/* 您的推流加速域名  */
	PublishDomain string `json:"publishDomain"`

	/* 设置直播流信息推送到的 URL 地址  */
	NotifyUrl string `json:"notifyUrl"`
}

func NewSetLiveStreamRecordNotifyConfigRequest added in v1.4.0

func NewSetLiveStreamRecordNotifyConfigRequest(
	publishDomain string,
	notifyUrl string,
) *SetLiveStreamRecordNotifyConfigRequest

* param publishDomain: 您的推流加速域名 (Required) * param notifyUrl: 设置直播流信息推送到的 URL 地址 (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 地址 (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 地址(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 StartLiveAppRequest

type StartLiveAppRequest struct {
	core.JDCloudRequest

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

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

func NewStartLiveAppRequest

func NewStartLiveAppRequest(
	publishDomain string,
	appName string,
) *StartLiveAppRequest

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

func NewStartLiveAppRequestWithAllParams

func NewStartLiveAppRequestWithAllParams(
	publishDomain string,
	appName string,
) *StartLiveAppRequest

* param publishDomain: 直播的推流域名 (Required) * param appName: 应用名称 (Required)

func NewStartLiveAppRequestWithoutParam

func NewStartLiveAppRequestWithoutParam() *StartLiveAppRequest

This constructor has better compatible ability when API parameters changed

func (StartLiveAppRequest) GetRegionId

func (r StartLiveAppRequest) GetRegionId() string

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

func (*StartLiveAppRequest) SetAppName

func (r *StartLiveAppRequest) SetAppName(appName string)

param appName: 应用名称(Required)

func (*StartLiveAppRequest) SetPublishDomain

func (r *StartLiveAppRequest) SetPublishDomain(publishDomain string)

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

type StartLiveAppResponse

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

type StartLiveAppResult

type StartLiveAppResult 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