v20200326

package
v3.0.1061+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Audio/Video transcoding template error
	INVALIDPARAMETER_AVTEMPLATES = "InvalidParameter.AVTemplates"

	// `Channel` already associated.
	INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"

	// `Input` already associated.
	INVALIDPARAMETER_ALREADYASSOCIATEDINPUT = "InvalidParameter.AlreadyAssociatedInput"

	// Invalid `AttachedInputs`.
	INVALIDPARAMETER_ATTACHEDINPUTS = "InvalidParameter.AttachedInputs"

	// Incorrect audio transcoding template.
	INVALIDPARAMETER_AUDIOTEMPLATES = "InvalidParameter.AudioTemplates"

	// Channel ID error.
	INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"

	// Invalid `EndTime`.
	INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"

	// The quantity exceeds the limit.
	INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"

	//
	INVALIDPARAMETER_FRAMECAPTURETEMPLATES = "InvalidParameter.FrameCaptureTemplates"

	// Invalid `Id`.
	INVALIDPARAMETER_ID = "InvalidParameter.Id"

	// Watermark image configuration error.
	INVALIDPARAMETER_IMAGESETTINGS = "InvalidParameter.ImageSettings"

	// Invalid `InputSettings`.
	INVALIDPARAMETER_INPUTSETTINGS = "InvalidParameter.InputSettings"

	// Invalid `Name`.
	INVALIDPARAMETER_NAME = "InvalidParameter.Name"

	// Not found.
	INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

	// Callback key format error.
	INVALIDPARAMETER_NOTIFYKEY = "InvalidParameter.NotifyKey"

	// Callback URL format error.
	INVALIDPARAMETER_NOTIFYURL = "InvalidParameter.NotifyUrl"

	// Invalid `OutputGroups`.
	INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"

	// Page number error.
	INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"

	// Invalid `Plan` parameter
	INVALIDPARAMETER_PLAN = "InvalidParameter.Plan"

	// Invalid `SecurityGroups`.
	INVALIDPARAMETER_SECURITYGROUPS = "InvalidParameter.SecurityGroups"

	// Invalid `StartTime`.
	INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

	// Exceptional status.
	INVALIDPARAMETER_STATE = "InvalidParameter.State"

	// Incorrect status.
	INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

	// Watermark text configuration error.
	INVALIDPARAMETER_TEXTSETTINGS = "InvalidParameter.TextSettings"

	// Invalid `Type`.
	INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

	// Incorrect video transcoding template.
	INVALIDPARAMETER_VIDEOTEMPLATES = "InvalidParameter.VideoTemplates"

	// Invalid `Whitelist`.
	INVALIDPARAMETER_WHITELIST = "InvalidParameter.Whitelist"
)
View Source
const APIVersion = "2020-03-26"

Variables

This section is empty.

Functions

This section is empty.

Types

type AVTemplate

type AVTemplate struct {
	// Name of an audio/video transcoding template, which can contain 1-20 case-sensitive letters and digits
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Whether video is needed. `0`: not needed; `1`: needed
	NeedVideo *uint64 `json:"NeedVideo,omitnil,omitempty" name:"NeedVideo"`

	// Video codec. Valid values: `H264`, `H265`. If this parameter is left empty, the original video codec will be used.
	Vcodec *string `json:"Vcodec,omitnil,omitempty" name:"Vcodec"`

	// Video width. Value range: (0, 3000]. The value must be an integer multiple of 4. If this parameter is left empty, the original video width will be used.
	Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Video height. Value range: (0, 3000]. The value must be an integer multiple of 4. If this parameter is left empty, the original video height will be used.
	Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"`

	// Video frame rate. Value range: [1, 240]. If this parameter is left empty, the original frame rate will be used.
	Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Whether to enable top speed codec transcoding. Valid values: `CLOSE` (disable), `OPEN` (enable). Default value: `CLOSE`
	TopSpeed *string `json:"TopSpeed,omitnil,omitempty" name:"TopSpeed"`

	// Compression ratio for top speed codec transcoding. Value range: [0, 50]. The lower the compression ratio, the higher the image quality.
	BitrateCompressionRatio *uint64 `json:"BitrateCompressionRatio,omitnil,omitempty" name:"BitrateCompressionRatio"`

	// Whether audio is needed. `0`: not needed; `1`: needed
	NeedAudio *int64 `json:"NeedAudio,omitnil,omitempty" name:"NeedAudio"`

	// Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
	Acodec *string `json:"Acodec,omitnil,omitempty" name:"Acodec"`

	// Audio bitrate. If this parameter is left empty, the original bitrate will be used.
	// Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000`, `24000`, `28000`, `32000`, `40000`, `48000`, `56000`, `64000`, `80000`, `96000`, `112000`, `128000`, `160000`, `192000`, `224000`, `256000`, `288000`, `320000`, `384000`, `448000`, `512000`, `576000`, `640000`, `768000`, `896000`, `1024000`
	AudioBitrate *uint64 `json:"AudioBitrate,omitnil,omitempty" name:"AudioBitrate"`

	// Video bitrate. Value range: [50000, 40000000]. The value must be an integer multiple of 1000. If this parameter is left empty, the original bitrate will be used.
	VideoBitrate *uint64 `json:"VideoBitrate,omitnil,omitempty" name:"VideoBitrate"`

	// Bitrate control mode. Valid values: `CBR`, `ABR` (default), `VBR`.
	RateControlMode *string `json:"RateControlMode,omitnil,omitempty" name:"RateControlMode"`

	// Watermark ID
	WatermarkId *string `json:"WatermarkId,omitnil,omitempty" name:"WatermarkId"`

	// Whether to convert audio to text. `0` (default): No; `1`: Yes.
	SmartSubtitles *uint64 `json:"SmartSubtitles,omitnil,omitempty" name:"SmartSubtitles"`

	// The subtitle settings. Currently, the following subtitles are supported:
	// `eng2eng`: English speech to English text.
	// `eng2chs`: English speech to Chinese text.
	// `eng2chseng`: English speech to English and Chinese text.
	// `chs2chs`: Chinese speech to Chinese text.
	// `chs2eng`: Chinese speech to English text.
	// `chs2chseng`: Chinese speech to Chinese and English text.
	SubtitleConfiguration *string `json:"SubtitleConfiguration,omitnil,omitempty" name:"SubtitleConfiguration"`

	// Whether to enable the face blur function, 1 is on, 0 is off, and the default is 0.
	FaceBlurringEnabled *uint64 `json:"FaceBlurringEnabled,omitnil,omitempty" name:"FaceBlurringEnabled"`

	// Only AttachedInputs.AudioSelectors.Name can be selected. The following types need to be filled in: 'RTP_PUSH', 'SRT_PUSH', 'UDP_PUSH', 'RTP-FEC_PUSH'.
	AudioSelectorName *string `json:"AudioSelectorName,omitnil,omitempty" name:"AudioSelectorName"`

	// Audio transcoding special configuration information.
	AudioNormalization *AudioNormalizationSettings `json:"AudioNormalization,omitnil,omitempty" name:"AudioNormalization"`

	// Audio sampling rate, unit HZ.
	AudioSampleRate *uint64 `json:"AudioSampleRate,omitnil,omitempty" name:"AudioSampleRate"`

	// This field indicates how to specify the output video frame rate. If FOLLOW_SOURCE is selected, the output video frame rate will be set equal to the input video frame rate of the first input. If SPECIFIED_FRACTION is selected, the output video frame rate is determined by the fraction (frame rate numerator and frame rate denominator). If SPECIFIED_HZ is selected, the frame rate of the output video is determined by the HZ you enter.
	FrameRateType *string `json:"FrameRateType,omitnil,omitempty" name:"FrameRateType"`

	// Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate numerator setting.
	FrameRateNumerator *uint64 `json:"FrameRateNumerator,omitnil,omitempty" name:"FrameRateNumerator"`

	// Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate denominator setting.
	FrameRateDenominator *uint64 `json:"FrameRateDenominator,omitnil,omitempty" name:"FrameRateDenominator"`

	// The number of B frames can be selected from 1 to 3.
	BFramesNum *uint64 `json:"BFramesNum,omitnil,omitempty" name:"BFramesNum"`

	// The number of reference frames can be selected from 1 to 16.
	RefFramesNum *uint64 `json:"RefFramesNum,omitnil,omitempty" name:"RefFramesNum"`

	// Additional video bitrate configuration.
	AdditionalRateSettings *AdditionalRateSetting `json:"AdditionalRateSettings,omitnil,omitempty" name:"AdditionalRateSettings"`

	// Video encoding configuration.
	VideoCodecDetails *VideoCodecDetail `json:"VideoCodecDetails,omitnil,omitempty" name:"VideoCodecDetails"`

	// Audio encoding configuration.
	AudioCodecDetails *AudioCodecDetail `json:"AudioCodecDetails,omitnil,omitempty" name:"AudioCodecDetails"`

	// Whether to enable multiple audio tracks 0: Not required 1: Required Default value 0.
	MultiAudioTrackEnabled *uint64 `json:"MultiAudioTrackEnabled,omitnil,omitempty" name:"MultiAudioTrackEnabled"`

	// Quantity limit 0-20 Valid when MultiAudioTrackEnabled is turned on.
	AudioTracks []*AudioTrackInfo `json:"AudioTracks,omitnil,omitempty" name:"AudioTracks"`

	VideoEnhanceEnabled *uint64 `json:"VideoEnhanceEnabled,omitnil,omitempty" name:"VideoEnhanceEnabled"`

	VideoEnhanceSettings []*VideoEnhanceSetting `json:"VideoEnhanceSettings,omitnil,omitempty" name:"VideoEnhanceSettings"`
}

type AdditionalRateSetting

type AdditionalRateSetting struct {
	// The maximum bit rate in a VBR scenario must be a multiple of 1000 and between 50000 - 40000000.
	VideoMaxBitrate *uint64 `json:"VideoMaxBitrate,omitnil,omitempty" name:"VideoMaxBitrate"`

	// Cache configuration supports configuring a Max Bitrate value of 1-4 times.
	BufferSize *uint64 `json:"BufferSize,omitnil,omitempty" name:"BufferSize"`

	// VBR scene is valid, video quality level, only supports user input numbers between 1-51.
	QualityLevel *uint64 `json:"QualityLevel,omitnil,omitempty" name:"QualityLevel"`
}

type AmazonS3Settings

type AmazonS3Settings struct {
	// Access key ID of the S3 sub-account.
	AccessKeyID *string `json:"AccessKeyID,omitnil,omitempty" name:"AccessKeyID"`

	// Secret access key of the S3 sub-account.
	SecretAccessKey *string `json:"SecretAccessKey,omitnil,omitempty" name:"SecretAccessKey"`

	// Region of S3.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Bucket name of S3.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// File output path, which can be empty. If it is not empty, it starts with / and ends with /.
	FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`

	// User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File suffix, only supports `jpg`.
	FileExt *string `json:"FileExt,omitnil,omitempty" name:"FileExt"`

	// Support `unix` or `utc0`, default unix.
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`
}

type AttachedInput

type AttachedInput struct {
	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Audio selector for the input. There can be 0 to 20 audio selectors.
	// Note: this field may return `null`, indicating that no valid value was found.
	AudioSelectors []*AudioSelectorInfo `json:"AudioSelectors,omitnil,omitempty" name:"AudioSelectors"`

	// Pull mode. If the input type is `HLS_PULL` or `MP4_PULL`, you can set this parameter to `LOOP` or `ONCE`. `LOOP` is the default value.
	// Note: this field may return `null`, indicating that no valid value was found.
	PullBehavior *string `json:"PullBehavior,omitnil,omitempty" name:"PullBehavior"`

	// Input failover configuration
	// Note: this field may return `null`, indicating that no valid value was found.
	FailOverSettings *FailOverSettings `json:"FailOverSettings,omitnil,omitempty" name:"FailOverSettings"`

	// Caption selector for the input. There can be 0 to 1 audio selectors.
	CaptionSelectors []*CaptionSelector `json:"CaptionSelectors,omitnil,omitempty" name:"CaptionSelectors"`
}

type AudioCodecDetail

type AudioCodecDetail struct {
	// Channel configuration, optional values: MONO (mono), STEREO (two-channel), 5.1 (surround).
	ChannelMode *string `json:"ChannelMode,omitnil,omitempty" name:"ChannelMode"`

	// Level in aac case, optional values: "LC" "HE-AAC" "HE-AACV2".
	Profile *string `json:"Profile,omitnil,omitempty" name:"Profile"`
}

type AudioNormalizationSettings

type AudioNormalizationSettings struct {
	// Whether to enable special configuration for audio transcoding: 1: Enable 0: Disable, the default value is 0.
	AudioNormalizationEnabled *uint64 `json:"AudioNormalizationEnabled,omitnil,omitempty" name:"AudioNormalizationEnabled"`

	// Loudness value, floating-point number, rounded to one decimal place, range -5 to -70.
	TargetLUFS *float64 `json:"TargetLUFS,omitnil,omitempty" name:"TargetLUFS"`
}

type AudioPidSelectionInfo

type AudioPidSelectionInfo struct {
	// Audio `Pid`. Default value: 0.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type AudioPipelineInputStatistics

type AudioPipelineInputStatistics struct {
	// Audio FPS.
	Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Audio bitrate in bps.
	Rate *uint64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// Audio `Pid`, which is available only if the input is `rtp/udp`.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type AudioSelectorInfo

type AudioSelectorInfo struct {
	// Audio name, which can contain 1-32 letters, digits, and underscores.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Audio `Pid` selection.
	AudioPidSelection *AudioPidSelectionInfo `json:"AudioPidSelection,omitnil,omitempty" name:"AudioPidSelection"`

	// Audio input type, optional values: 'PID_SELECTOR' 'TRACK_SELECTOR', default value PID_SELECTOR.
	AudioSelectorType *string `json:"AudioSelectorType,omitnil,omitempty" name:"AudioSelectorType"`

	// AudioTrack configuration.
	AudioTrackSelection *InputTracks `json:"AudioTrackSelection,omitnil,omitempty" name:"AudioTrackSelection"`
}

type AudioTemplateInfo

type AudioTemplateInfo struct {
	// Only `AttachedInputs.AudioSelectors.Name` can be selected. This parameter is required for RTP_PUSH and UDP_PUSH.
	AudioSelectorName *string `json:"AudioSelectorName,omitnil,omitempty" name:"AudioSelectorName"`

	// Audio transcoding template name, which can contain 1-20 letters and digits.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
	Acodec *string `json:"Acodec,omitnil,omitempty" name:"Acodec"`

	// Audio bitrate. If this parameter is left empty, the original value will be used.
	// Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000
	AudioBitrate *uint64 `json:"AudioBitrate,omitnil,omitempty" name:"AudioBitrate"`

	// Audio language code, whose length is always 3 characters.
	LanguageCode *string `json:"LanguageCode,omitnil,omitempty" name:"LanguageCode"`

	// Audio transcoding special configuration information.
	AudioNormalization *AudioNormalizationSettings `json:"AudioNormalization,omitnil,omitempty" name:"AudioNormalization"`

	// Audio sampling rate, unit HZ.
	AudioSampleRate *uint64 `json:"AudioSampleRate,omitnil,omitempty" name:"AudioSampleRate"`

	// Audio encoding parameters.
	AudioCodecDetails *AudioCodecDetail `json:"AudioCodecDetails,omitnil,omitempty" name:"AudioCodecDetails"`
}

type AudioTrackInfo

type AudioTrackInfo struct {
	// User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel.
	TrackName *string `json:"TrackName,omitnil,omitempty" name:"TrackName"`

	// Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
	AudioCodec *string `json:"AudioCodec,omitnil,omitempty" name:"AudioCodec"`

	// Audio bitrate.
	AudioBitrate *uint64 `json:"AudioBitrate,omitnil,omitempty" name:"AudioBitrate"`

	// Audio sample rate.
	AudioSampleRate *uint64 `json:"AudioSampleRate,omitnil,omitempty" name:"AudioSampleRate"`

	// Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered.
	AudioSelectorName *string `json:"AudioSelectorName,omitnil,omitempty" name:"AudioSelectorName"`

	// Audio loudness configuration.
	AudioNormalization *AudioNormalizationSettings `json:"AudioNormalization,omitnil,omitempty" name:"AudioNormalization"`

	// Audio encoding configuration.
	AudioCodecDetails *AudioCodecDetail `json:"AudioCodecDetails,omitnil,omitempty" name:"AudioCodecDetails"`
}

type CaptionSelector

type CaptionSelector struct {
	// Caption selector name, which can contain 1-32 letters, digits, and underscores.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Caption source type, only support `SCTE-128`.
	CaptionSourceType *string `json:"CaptionSourceType,omitnil,omitempty" name:"CaptionSourceType"`
}

type ChannelAlertInfos

type ChannelAlertInfos struct {
	// Alarm details of pipeline 0 under this channel.
	Pipeline0 []*ChannelPipelineAlerts `json:"Pipeline0,omitnil,omitempty" name:"Pipeline0"`

	// Alarm details of pipeline 1 under this channel.
	Pipeline1 []*ChannelPipelineAlerts `json:"Pipeline1,omitnil,omitempty" name:"Pipeline1"`
}

type ChannelInputStatistics

type ChannelInputStatistics struct {
	// Input ID.
	InputId *string `json:"InputId,omitnil,omitempty" name:"InputId"`

	// Input statistics.
	Statistics *InputStatistics `json:"Statistics,omitnil,omitempty" name:"Statistics"`
}

type ChannelOutputsStatistics

type ChannelOutputsStatistics struct {
	// Output group name.
	OutputGroupName *string `json:"OutputGroupName,omitnil,omitempty" name:"OutputGroupName"`

	// Output group statistics.
	Statistics *OutputsStatistics `json:"Statistics,omitnil,omitempty" name:"Statistics"`
}

type ChannelPipelineAlerts

type ChannelPipelineAlerts struct {
	// Alarm start time in UTC time.
	SetTime *string `json:"SetTime,omitnil,omitempty" name:"SetTime"`

	// Alarm end time in UTC time.
	// This time is available only after the alarm ends.
	ClearTime *string `json:"ClearTime,omitnil,omitempty" name:"ClearTime"`

	// Alarm type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Alarm details.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateStreamLiveChannel

func (c *Client) CreateStreamLiveChannel(request *CreateStreamLiveChannelRequest) (response *CreateStreamLiveChannelResponse, err error)

CreateStreamLiveChannel This API is used to create a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_AVTEMPLATES = "InvalidParameter.AVTemplates"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ATTACHEDINPUTS = "InvalidParameter.AttachedInputs"
INVALIDPARAMETER_AUDIOTEMPLATES = "InvalidParameter.AudioTemplates"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_FRAMECAPTURETEMPLATES = "InvalidParameter.FrameCaptureTemplates"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_NOTIFYKEY = "InvalidParameter.NotifyKey"
INVALIDPARAMETER_NOTIFYURL = "InvalidParameter.NotifyUrl"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_VIDEOTEMPLATES = "InvalidParameter.VideoTemplates"

func (*Client) CreateStreamLiveChannelWithContext

func (c *Client) CreateStreamLiveChannelWithContext(ctx context.Context, request *CreateStreamLiveChannelRequest) (response *CreateStreamLiveChannelResponse, err error)

CreateStreamLiveChannel This API is used to create a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_AVTEMPLATES = "InvalidParameter.AVTemplates"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ATTACHEDINPUTS = "InvalidParameter.AttachedInputs"
INVALIDPARAMETER_AUDIOTEMPLATES = "InvalidParameter.AudioTemplates"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_FRAMECAPTURETEMPLATES = "InvalidParameter.FrameCaptureTemplates"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_NOTIFYKEY = "InvalidParameter.NotifyKey"
INVALIDPARAMETER_NOTIFYURL = "InvalidParameter.NotifyUrl"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_VIDEOTEMPLATES = "InvalidParameter.VideoTemplates"

func (*Client) CreateStreamLiveInput

func (c *Client) CreateStreamLiveInput(request *CreateStreamLiveInputRequest) (response *CreateStreamLiveInputResponse, err error)

CreateStreamLiveInput This API is used to create a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUTSETTINGS = "InvalidParameter.InputSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_SECURITYGROUPS = "InvalidParameter.SecurityGroups"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) CreateStreamLiveInputSecurityGroup

func (c *Client) CreateStreamLiveInputSecurityGroup(request *CreateStreamLiveInputSecurityGroupRequest) (response *CreateStreamLiveInputSecurityGroupResponse, err error)

CreateStreamLiveInputSecurityGroup This API is used to create an input security group. Up to 5 security groups are allowed.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_WHITELIST = "InvalidParameter.Whitelist"

func (*Client) CreateStreamLiveInputSecurityGroupWithContext

func (c *Client) CreateStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *CreateStreamLiveInputSecurityGroupRequest) (response *CreateStreamLiveInputSecurityGroupResponse, err error)

CreateStreamLiveInputSecurityGroup This API is used to create an input security group. Up to 5 security groups are allowed.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_WHITELIST = "InvalidParameter.Whitelist"

func (*Client) CreateStreamLiveInputWithContext

func (c *Client) CreateStreamLiveInputWithContext(ctx context.Context, request *CreateStreamLiveInputRequest) (response *CreateStreamLiveInputResponse, err error)

CreateStreamLiveInput This API is used to create a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUTSETTINGS = "InvalidParameter.InputSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_SECURITYGROUPS = "InvalidParameter.SecurityGroups"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) CreateStreamLivePlan

func (c *Client) CreateStreamLivePlan(request *CreateStreamLivePlanRequest) (response *CreateStreamLivePlanResponse, err error)

CreateStreamLivePlan This API is used to create an event in the plan.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PLAN = "InvalidParameter.Plan"

func (*Client) CreateStreamLivePlanWithContext

func (c *Client) CreateStreamLivePlanWithContext(ctx context.Context, request *CreateStreamLivePlanRequest) (response *CreateStreamLivePlanResponse, err error)

CreateStreamLivePlan This API is used to create an event in the plan.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PLAN = "InvalidParameter.Plan"

func (*Client) CreateStreamLiveWatermark

func (c *Client) CreateStreamLiveWatermark(request *CreateStreamLiveWatermarkRequest) (response *CreateStreamLiveWatermarkResponse, err error)

CreateStreamLiveWatermark This API is used to add a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_IMAGESETTINGS = "InvalidParameter.ImageSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_TEXTSETTINGS = "InvalidParameter.TextSettings"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) CreateStreamLiveWatermarkWithContext

func (c *Client) CreateStreamLiveWatermarkWithContext(ctx context.Context, request *CreateStreamLiveWatermarkRequest) (response *CreateStreamLiveWatermarkResponse, err error)

CreateStreamLiveWatermark This API is used to add a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_IMAGESETTINGS = "InvalidParameter.ImageSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_TEXTSETTINGS = "InvalidParameter.TextSettings"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DeleteStreamLiveChannel

func (c *Client) DeleteStreamLiveChannel(request *DeleteStreamLiveChannelRequest) (response *DeleteStreamLiveChannelResponse, err error)

DeleteStreamLiveChannel This API is used to delete a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATE = "InvalidParameter.State"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) DeleteStreamLiveChannelWithContext

func (c *Client) DeleteStreamLiveChannelWithContext(ctx context.Context, request *DeleteStreamLiveChannelRequest) (response *DeleteStreamLiveChannelResponse, err error)

DeleteStreamLiveChannel This API is used to delete a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATE = "InvalidParameter.State"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) DeleteStreamLiveInput

func (c *Client) DeleteStreamLiveInput(request *DeleteStreamLiveInputRequest) (response *DeleteStreamLiveInputResponse, err error)

DeleteStreamLiveInput This API is used to delete a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamLiveInputSecurityGroup

func (c *Client) DeleteStreamLiveInputSecurityGroup(request *DeleteStreamLiveInputSecurityGroupRequest) (response *DeleteStreamLiveInputSecurityGroupResponse, err error)

DeleteStreamLiveInputSecurityGroup This API is used to delete an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALREADYASSOCIATEDINPUT = "InvalidParameter.AlreadyAssociatedInput"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamLiveInputSecurityGroupWithContext

func (c *Client) DeleteStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *DeleteStreamLiveInputSecurityGroupRequest) (response *DeleteStreamLiveInputSecurityGroupResponse, err error)

DeleteStreamLiveInputSecurityGroup This API is used to delete an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALREADYASSOCIATEDINPUT = "InvalidParameter.AlreadyAssociatedInput"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamLiveInputWithContext

func (c *Client) DeleteStreamLiveInputWithContext(ctx context.Context, request *DeleteStreamLiveInputRequest) (response *DeleteStreamLiveInputResponse, err error)

DeleteStreamLiveInput This API is used to delete a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamLivePlan

func (c *Client) DeleteStreamLivePlan(request *DeleteStreamLivePlanRequest) (response *DeleteStreamLivePlanResponse, err error)

DeleteStreamLivePlan This API is used to delete a StreamLive event.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PLAN = "InvalidParameter.Plan"

func (*Client) DeleteStreamLivePlanWithContext

func (c *Client) DeleteStreamLivePlanWithContext(ctx context.Context, request *DeleteStreamLivePlanRequest) (response *DeleteStreamLivePlanResponse, err error)

DeleteStreamLivePlan This API is used to delete a StreamLive event.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PLAN = "InvalidParameter.Plan"

func (*Client) DeleteStreamLiveWatermark

func (c *Client) DeleteStreamLiveWatermark(request *DeleteStreamLiveWatermarkRequest) (response *DeleteStreamLiveWatermarkResponse, err error)

DeleteStreamLiveWatermark This API is used to delete a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamLiveWatermarkWithContext

func (c *Client) DeleteStreamLiveWatermarkWithContext(ctx context.Context, request *DeleteStreamLiveWatermarkRequest) (response *DeleteStreamLiveWatermarkResponse, err error)

DeleteStreamLiveWatermark This API is used to delete a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeMediaLiveHighlightResult

func (c *Client) DescribeMediaLiveHighlightResult(request *DescribeMediaLiveHighlightResultRequest) (response *DescribeMediaLiveHighlightResultResponse, err error)

DescribeMediaLiveHighlightResult Query the highlight result information corresponding to the media live broadcast channel.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeMediaLiveHighlightResultWithContext

func (c *Client) DescribeMediaLiveHighlightResultWithContext(ctx context.Context, request *DescribeMediaLiveHighlightResultRequest) (response *DescribeMediaLiveHighlightResultResponse, err error)

DescribeMediaLiveHighlightResult Query the highlight result information corresponding to the media live broadcast channel.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveChannel

func (c *Client) DescribeStreamLiveChannel(request *DescribeStreamLiveChannelRequest) (response *DescribeStreamLiveChannelResponse, err error)

DescribeStreamLiveChannel This API is used to query a StreamLive channel.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveChannelAlerts

func (c *Client) DescribeStreamLiveChannelAlerts(request *DescribeStreamLiveChannelAlertsRequest) (response *DescribeStreamLiveChannelAlertsResponse, err error)

DescribeStreamLiveChannelAlerts This API is used to query the alarm information of a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveChannelAlertsWithContext

func (c *Client) DescribeStreamLiveChannelAlertsWithContext(ctx context.Context, request *DescribeStreamLiveChannelAlertsRequest) (response *DescribeStreamLiveChannelAlertsResponse, err error)

DescribeStreamLiveChannelAlerts This API is used to query the alarm information of a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveChannelInputStatistics

func (c *Client) DescribeStreamLiveChannelInputStatistics(request *DescribeStreamLiveChannelInputStatisticsRequest) (response *DescribeStreamLiveChannelInputStatisticsResponse, err error)

DescribeStreamLiveChannelInputStatistics This API is used to query input statistics.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelInputStatisticsWithContext

func (c *Client) DescribeStreamLiveChannelInputStatisticsWithContext(ctx context.Context, request *DescribeStreamLiveChannelInputStatisticsRequest) (response *DescribeStreamLiveChannelInputStatisticsResponse, err error)

DescribeStreamLiveChannelInputStatistics This API is used to query input statistics.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelLogs

func (c *Client) DescribeStreamLiveChannelLogs(request *DescribeStreamLiveChannelLogsRequest) (response *DescribeStreamLiveChannelLogsResponse, err error)

DescribeStreamLiveChannelLogs This API is used to query StreamLive channel logs, such as push event logs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelLogsWithContext

func (c *Client) DescribeStreamLiveChannelLogsWithContext(ctx context.Context, request *DescribeStreamLiveChannelLogsRequest) (response *DescribeStreamLiveChannelLogsResponse, err error)

DescribeStreamLiveChannelLogs This API is used to query StreamLive channel logs, such as push event logs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelOutputStatistics

func (c *Client) DescribeStreamLiveChannelOutputStatistics(request *DescribeStreamLiveChannelOutputStatisticsRequest) (response *DescribeStreamLiveChannelOutputStatisticsResponse, err error)

DescribeStreamLiveChannelOutputStatistics This API is used to query the output statistics of a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelOutputStatisticsWithContext

func (c *Client) DescribeStreamLiveChannelOutputStatisticsWithContext(ctx context.Context, request *DescribeStreamLiveChannelOutputStatisticsRequest) (response *DescribeStreamLiveChannelOutputStatisticsResponse, err error)

DescribeStreamLiveChannelOutputStatistics This API is used to query the output statistics of a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveChannelWithContext

func (c *Client) DescribeStreamLiveChannelWithContext(ctx context.Context, request *DescribeStreamLiveChannelRequest) (response *DescribeStreamLiveChannelResponse, err error)

DescribeStreamLiveChannel This API is used to query a StreamLive channel.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveChannels

func (c *Client) DescribeStreamLiveChannels(request *DescribeStreamLiveChannelsRequest) (response *DescribeStreamLiveChannelsResponse, err error)

DescribeStreamLiveChannels This API is used to query StreamLive channels in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveChannelsWithContext

func (c *Client) DescribeStreamLiveChannelsWithContext(ctx context.Context, request *DescribeStreamLiveChannelsRequest) (response *DescribeStreamLiveChannelsResponse, err error)

DescribeStreamLiveChannels This API is used to query StreamLive channels in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveInput

func (c *Client) DescribeStreamLiveInput(request *DescribeStreamLiveInputRequest) (response *DescribeStreamLiveInputResponse, err error)

DescribeStreamLiveInput This API is used to query a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveInputSecurityGroup

func (c *Client) DescribeStreamLiveInputSecurityGroup(request *DescribeStreamLiveInputSecurityGroupRequest) (response *DescribeStreamLiveInputSecurityGroupResponse, err error)

DescribeStreamLiveInputSecurityGroup This API is used to query an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveInputSecurityGroupWithContext

func (c *Client) DescribeStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *DescribeStreamLiveInputSecurityGroupRequest) (response *DescribeStreamLiveInputSecurityGroupResponse, err error)

DescribeStreamLiveInputSecurityGroup This API is used to query an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveInputSecurityGroups

func (c *Client) DescribeStreamLiveInputSecurityGroups(request *DescribeStreamLiveInputSecurityGroupsRequest) (response *DescribeStreamLiveInputSecurityGroupsResponse, err error)

DescribeStreamLiveInputSecurityGroups This API is used to query input security groups in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveInputSecurityGroupsWithContext

func (c *Client) DescribeStreamLiveInputSecurityGroupsWithContext(ctx context.Context, request *DescribeStreamLiveInputSecurityGroupsRequest) (response *DescribeStreamLiveInputSecurityGroupsResponse, err error)

DescribeStreamLiveInputSecurityGroups This API is used to query input security groups in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveInputWithContext

func (c *Client) DescribeStreamLiveInputWithContext(ctx context.Context, request *DescribeStreamLiveInputRequest) (response *DescribeStreamLiveInputResponse, err error)

DescribeStreamLiveInput This API is used to query a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveInputs

func (c *Client) DescribeStreamLiveInputs(request *DescribeStreamLiveInputsRequest) (response *DescribeStreamLiveInputsResponse, err error)

DescribeStreamLiveInputs This API is used to query StreamLive inputs in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveInputsWithContext

func (c *Client) DescribeStreamLiveInputsWithContext(ctx context.Context, request *DescribeStreamLiveInputsRequest) (response *DescribeStreamLiveInputsResponse, err error)

DescribeStreamLiveInputs This API is used to query StreamLive inputs in batches.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLivePlans

func (c *Client) DescribeStreamLivePlans(request *DescribeStreamLivePlansRequest) (response *DescribeStreamLivePlansResponse, err error)

DescribeStreamLivePlans This API is used to query the events in the plan in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLivePlansWithContext

func (c *Client) DescribeStreamLivePlansWithContext(ctx context.Context, request *DescribeStreamLivePlansRequest) (response *DescribeStreamLivePlansResponse, err error)

DescribeStreamLivePlans This API is used to query the events in the plan in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveRegions

func (c *Client) DescribeStreamLiveRegions(request *DescribeStreamLiveRegionsRequest) (response *DescribeStreamLiveRegionsResponse, err error)

DescribeStreamLiveRegions This API is used to query all StreamLive regions.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveRegionsWithContext

func (c *Client) DescribeStreamLiveRegionsWithContext(ctx context.Context, request *DescribeStreamLiveRegionsRequest) (response *DescribeStreamLiveRegionsResponse, err error)

DescribeStreamLiveRegions This API is used to query all StreamLive regions.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLiveTranscodeDetail

func (c *Client) DescribeStreamLiveTranscodeDetail(request *DescribeStreamLiveTranscodeDetailRequest) (response *DescribeStreamLiveTranscodeDetailResponse, err error)

DescribeStreamLiveTranscodeDetail This API is used to query the transcoding information of StreamLive streams.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveTranscodeDetailWithContext

func (c *Client) DescribeStreamLiveTranscodeDetailWithContext(ctx context.Context, request *DescribeStreamLiveTranscodeDetailRequest) (response *DescribeStreamLiveTranscodeDetailResponse, err error)

DescribeStreamLiveTranscodeDetail This API is used to query the transcoding information of StreamLive streams.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

func (*Client) DescribeStreamLiveWatermark

func (c *Client) DescribeStreamLiveWatermark(request *DescribeStreamLiveWatermarkRequest) (response *DescribeStreamLiveWatermarkResponse, err error)

DescribeStreamLiveWatermark This API is used to query a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveWatermarkWithContext

func (c *Client) DescribeStreamLiveWatermarkWithContext(ctx context.Context, request *DescribeStreamLiveWatermarkRequest) (response *DescribeStreamLiveWatermarkResponse, err error)

DescribeStreamLiveWatermark This API is used to query a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveWatermarks

func (c *Client) DescribeStreamLiveWatermarks(request *DescribeStreamLiveWatermarksRequest) (response *DescribeStreamLiveWatermarksResponse, err error)

DescribeStreamLiveWatermarks This API is used to query multiple watermarks at a time.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLiveWatermarksWithContext

func (c *Client) DescribeStreamLiveWatermarksWithContext(ctx context.Context, request *DescribeStreamLiveWatermarksRequest) (response *DescribeStreamLiveWatermarksResponse, err error)

DescribeStreamLiveWatermarks This API is used to query multiple watermarks at a time.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) ModifyStreamLiveChannel

func (c *Client) ModifyStreamLiveChannel(request *ModifyStreamLiveChannelRequest) (response *ModifyStreamLiveChannelResponse, err error)

ModifyStreamLiveChannel This API is used to modify a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_AVTEMPLATES = "InvalidParameter.AVTemplates"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ATTACHEDINPUTS = "InvalidParameter.AttachedInputs"
INVALIDPARAMETER_AUDIOTEMPLATES = "InvalidParameter.AudioTemplates"
INVALIDPARAMETER_FRAMECAPTURETEMPLATES = "InvalidParameter.FrameCaptureTemplates"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_VIDEOTEMPLATES = "InvalidParameter.VideoTemplates"

func (*Client) ModifyStreamLiveChannelWithContext

func (c *Client) ModifyStreamLiveChannelWithContext(ctx context.Context, request *ModifyStreamLiveChannelRequest) (response *ModifyStreamLiveChannelResponse, err error)

ModifyStreamLiveChannel This API is used to modify a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_AVTEMPLATES = "InvalidParameter.AVTemplates"
INVALIDPARAMETER_ALREADYASSOCIATEDCHANNEL = "InvalidParameter.AlreadyAssociatedChannel"
INVALIDPARAMETER_ATTACHEDINPUTS = "InvalidParameter.AttachedInputs"
INVALIDPARAMETER_AUDIOTEMPLATES = "InvalidParameter.AudioTemplates"
INVALIDPARAMETER_FRAMECAPTURETEMPLATES = "InvalidParameter.FrameCaptureTemplates"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_VIDEOTEMPLATES = "InvalidParameter.VideoTemplates"

func (*Client) ModifyStreamLiveInput

func (c *Client) ModifyStreamLiveInput(request *ModifyStreamLiveInputRequest) (response *ModifyStreamLiveInputResponse, err error)

ModifyStreamLiveInput This API is used to modify a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTSETTINGS = "InvalidParameter.InputSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_SECURITYGROUPS = "InvalidParameter.SecurityGroups"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) ModifyStreamLiveInputSecurityGroup

func (c *Client) ModifyStreamLiveInputSecurityGroup(request *ModifyStreamLiveInputSecurityGroupRequest) (response *ModifyStreamLiveInputSecurityGroupResponse, err error)

ModifyStreamLiveInputSecurityGroup This API is used to modify an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_WHITELIST = "InvalidParameter.Whitelist"

func (*Client) ModifyStreamLiveInputSecurityGroupWithContext

func (c *Client) ModifyStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *ModifyStreamLiveInputSecurityGroupRequest) (response *ModifyStreamLiveInputSecurityGroupResponse, err error)

ModifyStreamLiveInputSecurityGroup This API is used to modify an input security group.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_WHITELIST = "InvalidParameter.Whitelist"

func (*Client) ModifyStreamLiveInputWithContext

func (c *Client) ModifyStreamLiveInputWithContext(ctx context.Context, request *ModifyStreamLiveInputRequest) (response *ModifyStreamLiveInputResponse, err error)

ModifyStreamLiveInput This API is used to modify a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTSETTINGS = "InvalidParameter.InputSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_SECURITYGROUPS = "InvalidParameter.SecurityGroups"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) ModifyStreamLiveWatermark

func (c *Client) ModifyStreamLiveWatermark(request *ModifyStreamLiveWatermarkRequest) (response *ModifyStreamLiveWatermarkResponse, err error)

ModifyStreamLiveWatermark This API is used to modify a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_IMAGESETTINGS = "InvalidParameter.ImageSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_TEXTSETTINGS = "InvalidParameter.TextSettings"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) ModifyStreamLiveWatermarkWithContext

func (c *Client) ModifyStreamLiveWatermarkWithContext(ctx context.Context, request *ModifyStreamLiveWatermarkRequest) (response *ModifyStreamLiveWatermarkResponse, err error)

ModifyStreamLiveWatermark This API is used to modify a watermark.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_IMAGESETTINGS = "InvalidParameter.ImageSettings"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_TEXTSETTINGS = "InvalidParameter.TextSettings"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) QueryInputStreamState

func (c *Client) QueryInputStreamState(request *QueryInputStreamStateRequest) (response *QueryInputStreamStateResponse, err error)

QueryInputStreamState This API is used to query the stream status of a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) QueryInputStreamStateWithContext

func (c *Client) QueryInputStreamStateWithContext(ctx context.Context, request *QueryInputStreamStateRequest) (response *QueryInputStreamStateResponse, err error)

QueryInputStreamState This API is used to query the stream status of a StreamLive input.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) StartStreamLiveChannel

func (c *Client) StartStreamLiveChannel(request *StartStreamLiveChannelRequest) (response *StartStreamLiveChannelResponse, err error)

StartStreamLiveChannel This API is used to start a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) StartStreamLiveChannelWithContext

func (c *Client) StartStreamLiveChannelWithContext(ctx context.Context, request *StartStreamLiveChannelRequest) (response *StartStreamLiveChannelResponse, err error)

StartStreamLiveChannel This API is used to start a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) StopStreamLiveChannel

func (c *Client) StopStreamLiveChannel(request *StopStreamLiveChannelRequest) (response *StopStreamLiveChannelResponse, err error)

StopStreamLiveChannel This API is used to stop a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

func (*Client) StopStreamLiveChannelWithContext

func (c *Client) StopStreamLiveChannelWithContext(ctx context.Context, request *StopStreamLiveChannelRequest) (response *StopStreamLiveChannelResponse, err error)

StopStreamLiveChannel This API is used to stop a StreamLive channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATEERROR = "InvalidParameter.StateError"

type CosSettings

type CosSettings struct {
	// Region of COS.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Bucket name of COS.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// File output path, which can be empty. If it is not empty, it  ends with /.
	FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`

	// User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File suffix, only supports `jpg`.
	FileExt *string `json:"FileExt,omitnil,omitempty" name:"FileExt"`

	// Support `unix` or `utc0`, default unix.
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`
}

type CreateImageSettings

type CreateImageSettings struct {
	// Image file format. Valid values: png, jpg.
	ImageType *string `json:"ImageType,omitnil,omitempty" name:"ImageType"`

	// Base64 encoded image content
	ImageContent *string `json:"ImageContent,omitnil,omitempty" name:"ImageContent"`

	// Origin. Valid values: TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// The watermark’s horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
	XPos *int64 `json:"XPos,omitnil,omitempty" name:"XPos"`

	// The watermark’s vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
	YPos *int64 `json:"YPos,omitnil,omitempty" name:"YPos"`

	// The watermark image’s width as a percentage of the video width. Value range: 0-100. Default: 10.
	// `0` means to scale the width proportionally to the height.
	// You cannot set both `Width` and `Height` to `0`.
	Width *int64 `json:"Width,omitnil,omitempty" name:"Width"`

	// The watermark image’s height as a percentage of the video height. Value range: 0-100. Default: 10.
	// `0` means to scale the height proportionally to the width.
	// You cannot set both `Width` and `Height` to `0`.
	Height *int64 `json:"Height,omitnil,omitempty" name:"Height"`
}

type CreateStreamLiveChannelRequest

type CreateStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Inputs to attach. You can attach 1 to 5 inputs.
	AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil,omitempty" name:"AttachedInputs"`

	// Configuration information of the channel's output groups. Quantity: [1, 10]
	OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil,omitempty" name:"OutputGroups"`

	// Audio transcoding templates. Quantity: [1, 20]
	AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil,omitempty" name:"AudioTemplates"`

	// Video transcoding templates. Quantity: [1, 10]
	VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil,omitempty" name:"VideoTemplates"`

	// Audio/Video transcoding templates. Quantity: [1, 10]
	AVTemplates []*AVTemplate `json:"AVTemplates,omitnil,omitempty" name:"AVTemplates"`

	// Subtitle template configuration, only AVTemplates are valid.
	CaptionTemplates []*SubtitleConf `json:"CaptionTemplates,omitnil,omitempty" name:"CaptionTemplates"`

	// Event settings
	PlanSettings *PlanSettings `json:"PlanSettings,omitnil,omitempty" name:"PlanSettings"`

	// The callback settings.
	EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil,omitempty" name:"EventNotifySettings"`

	// Complement the last video frame settings.
	InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil,omitempty" name:"InputLossBehavior"`

	// Pipeline configuration.
	PipelineInputSettings *PipelineInputSettingsInfo `json:"PipelineInputSettings,omitnil,omitempty" name:"PipelineInputSettings"`

	// Recognition configuration for input content.
	InputAnalysisSettings *InputAnalysisInfo `json:"InputAnalysisSettings,omitnil,omitempty" name:"InputAnalysisSettings"`

	// Console tag list.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Frame capture templates.
	FrameCaptureTemplates []*FrameCaptureTemplate `json:"FrameCaptureTemplates,omitnil,omitempty" name:"FrameCaptureTemplates"`
}

func NewCreateStreamLiveChannelRequest

func NewCreateStreamLiveChannelRequest() (request *CreateStreamLiveChannelRequest)

func (*CreateStreamLiveChannelRequest) FromJsonString

func (r *CreateStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveChannelRequest) ToJsonString

func (r *CreateStreamLiveChannelRequest) ToJsonString() string

type CreateStreamLiveChannelRequestParams

type CreateStreamLiveChannelRequestParams struct {
	// Channel name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Inputs to attach. You can attach 1 to 5 inputs.
	AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil,omitempty" name:"AttachedInputs"`

	// Configuration information of the channel's output groups. Quantity: [1, 10]
	OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil,omitempty" name:"OutputGroups"`

	// Audio transcoding templates. Quantity: [1, 20]
	AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil,omitempty" name:"AudioTemplates"`

	// Video transcoding templates. Quantity: [1, 10]
	VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil,omitempty" name:"VideoTemplates"`

	// Audio/Video transcoding templates. Quantity: [1, 10]
	AVTemplates []*AVTemplate `json:"AVTemplates,omitnil,omitempty" name:"AVTemplates"`

	// Subtitle template configuration, only AVTemplates are valid.
	CaptionTemplates []*SubtitleConf `json:"CaptionTemplates,omitnil,omitempty" name:"CaptionTemplates"`

	// Event settings
	PlanSettings *PlanSettings `json:"PlanSettings,omitnil,omitempty" name:"PlanSettings"`

	// The callback settings.
	EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil,omitempty" name:"EventNotifySettings"`

	// Complement the last video frame settings.
	InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil,omitempty" name:"InputLossBehavior"`

	// Pipeline configuration.
	PipelineInputSettings *PipelineInputSettingsInfo `json:"PipelineInputSettings,omitnil,omitempty" name:"PipelineInputSettings"`

	// Recognition configuration for input content.
	InputAnalysisSettings *InputAnalysisInfo `json:"InputAnalysisSettings,omitnil,omitempty" name:"InputAnalysisSettings"`

	// Console tag list.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Frame capture templates.
	FrameCaptureTemplates []*FrameCaptureTemplate `json:"FrameCaptureTemplates,omitnil,omitempty" name:"FrameCaptureTemplates"`
}

Predefined struct for user

type CreateStreamLiveChannelResponse

type CreateStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLiveChannelResponseParams `json:"Response"`
}

func NewCreateStreamLiveChannelResponse

func NewCreateStreamLiveChannelResponse() (response *CreateStreamLiveChannelResponse)

func (*CreateStreamLiveChannelResponse) FromJsonString

func (r *CreateStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveChannelResponse) ToJsonString

func (r *CreateStreamLiveChannelResponse) ToJsonString() string

type CreateStreamLiveChannelResponseParams

type CreateStreamLiveChannelResponseParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Tag prompt information, this information will be attached when the tag operation fails.
	TagMsg *string `json:"TagMsg,omitnil,omitempty" name:"TagMsg"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLiveInputRequest

type CreateStreamLiveInputRequest struct {
	*tchttp.BaseRequest

	// Input name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Input type
	// Valid values: `RTMP_PUSH`, `RTP_PUSH`, `UDP_PUSH`, `RTMP_PULL`, `HLS_PULL`, `MP4_PULL`,`RTP-FEC_PUSH`,`RTSP_PULL`,`SRT_PUSH `,`SRT_PULL `
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// ID of the input security group to attach
	// You can attach only one security group to an input.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Input settings.
	// For the type:
	// `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`,`RTSP_PULL`,`SRT_PULL` or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured.
	// For the type:
	// `SRT_PUSH`, 0 or 2 inputs of the corresponding type can be configured.
	InputSettings []*InputSettingInfo `json:"InputSettings,omitnil,omitempty" name:"InputSettings"`
}

func NewCreateStreamLiveInputRequest

func NewCreateStreamLiveInputRequest() (request *CreateStreamLiveInputRequest)

func (*CreateStreamLiveInputRequest) FromJsonString

func (r *CreateStreamLiveInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveInputRequest) ToJsonString

func (r *CreateStreamLiveInputRequest) ToJsonString() string

type CreateStreamLiveInputRequestParams

type CreateStreamLiveInputRequestParams struct {
	// Input name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Input type
	// Valid values: `RTMP_PUSH`, `RTP_PUSH`, `UDP_PUSH`, `RTMP_PULL`, `HLS_PULL`, `MP4_PULL`,`RTP-FEC_PUSH`,`RTSP_PULL`,`SRT_PUSH `,`SRT_PULL `
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// ID of the input security group to attach
	// You can attach only one security group to an input.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Input settings.
	// For the type:
	// `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`,`RTSP_PULL`,`SRT_PULL` or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured.
	// For the type:
	// `SRT_PUSH`, 0 or 2 inputs of the corresponding type can be configured.
	InputSettings []*InputSettingInfo `json:"InputSettings,omitnil,omitempty" name:"InputSettings"`
}

Predefined struct for user

type CreateStreamLiveInputResponse

type CreateStreamLiveInputResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLiveInputResponseParams `json:"Response"`
}

func NewCreateStreamLiveInputResponse

func NewCreateStreamLiveInputResponse() (response *CreateStreamLiveInputResponse)

func (*CreateStreamLiveInputResponse) FromJsonString

func (r *CreateStreamLiveInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveInputResponse) ToJsonString

func (r *CreateStreamLiveInputResponse) ToJsonString() string

type CreateStreamLiveInputResponseParams

type CreateStreamLiveInputResponseParams struct {
	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLiveInputSecurityGroupRequest

type CreateStreamLiveInputSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Input security group name, which can contain case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Allowlist entries. Quantity: [1, 10]
	Whitelist []*string `json:"Whitelist,omitnil,omitempty" name:"Whitelist"`
}

func NewCreateStreamLiveInputSecurityGroupRequest

func NewCreateStreamLiveInputSecurityGroupRequest() (request *CreateStreamLiveInputSecurityGroupRequest)

func (*CreateStreamLiveInputSecurityGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveInputSecurityGroupRequest) ToJsonString

type CreateStreamLiveInputSecurityGroupRequestParams

type CreateStreamLiveInputSecurityGroupRequestParams struct {
	// Input security group name, which can contain case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Allowlist entries. Quantity: [1, 10]
	Whitelist []*string `json:"Whitelist,omitnil,omitempty" name:"Whitelist"`
}

Predefined struct for user

type CreateStreamLiveInputSecurityGroupResponse

type CreateStreamLiveInputSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLiveInputSecurityGroupResponseParams `json:"Response"`
}

func NewCreateStreamLiveInputSecurityGroupResponse

func NewCreateStreamLiveInputSecurityGroupResponse() (response *CreateStreamLiveInputSecurityGroupResponse)

func (*CreateStreamLiveInputSecurityGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveInputSecurityGroupResponse) ToJsonString

type CreateStreamLiveInputSecurityGroupResponseParams

type CreateStreamLiveInputSecurityGroupResponseParams struct {
	// Security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLivePlanRequest

type CreateStreamLivePlanRequest struct {
	*tchttp.BaseRequest

	// ID of the channel for which you want to configure an event
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Event configuration
	Plan *PlanReq `json:"Plan,omitnil,omitempty" name:"Plan"`
}

func NewCreateStreamLivePlanRequest

func NewCreateStreamLivePlanRequest() (request *CreateStreamLivePlanRequest)

func (*CreateStreamLivePlanRequest) FromJsonString

func (r *CreateStreamLivePlanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLivePlanRequest) ToJsonString

func (r *CreateStreamLivePlanRequest) ToJsonString() string

type CreateStreamLivePlanRequestParams

type CreateStreamLivePlanRequestParams struct {
	// ID of the channel for which you want to configure an event
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Event configuration
	Plan *PlanReq `json:"Plan,omitnil,omitempty" name:"Plan"`
}

Predefined struct for user

type CreateStreamLivePlanResponse

type CreateStreamLivePlanResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLivePlanResponseParams `json:"Response"`
}

func NewCreateStreamLivePlanResponse

func NewCreateStreamLivePlanResponse() (response *CreateStreamLivePlanResponse)

func (*CreateStreamLivePlanResponse) FromJsonString

func (r *CreateStreamLivePlanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLivePlanResponse) ToJsonString

func (r *CreateStreamLivePlanResponse) ToJsonString() string

type CreateStreamLivePlanResponseParams

type CreateStreamLivePlanResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLiveWatermarkRequest

type CreateStreamLiveWatermarkRequest struct {
	*tchttp.BaseRequest

	// Watermark name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Watermark type. Valid values: STATIC_IMAGE, TEXT.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`.
	ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil,omitempty" name:"ImageSettings"`

	// Watermark text settings. This parameter is valid if `Type` is `TEXT`.
	TextSettings *CreateTextSettings `json:"TextSettings,omitnil,omitempty" name:"TextSettings"`
}

func NewCreateStreamLiveWatermarkRequest

func NewCreateStreamLiveWatermarkRequest() (request *CreateStreamLiveWatermarkRequest)

func (*CreateStreamLiveWatermarkRequest) FromJsonString

func (r *CreateStreamLiveWatermarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveWatermarkRequest) ToJsonString

func (r *CreateStreamLiveWatermarkRequest) ToJsonString() string

type CreateStreamLiveWatermarkRequestParams

type CreateStreamLiveWatermarkRequestParams struct {
	// Watermark name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Watermark type. Valid values: STATIC_IMAGE, TEXT.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`.
	ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil,omitempty" name:"ImageSettings"`

	// Watermark text settings. This parameter is valid if `Type` is `TEXT`.
	TextSettings *CreateTextSettings `json:"TextSettings,omitnil,omitempty" name:"TextSettings"`
}

Predefined struct for user

type CreateStreamLiveWatermarkResponse

type CreateStreamLiveWatermarkResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLiveWatermarkResponseParams `json:"Response"`
}

func NewCreateStreamLiveWatermarkResponse

func NewCreateStreamLiveWatermarkResponse() (response *CreateStreamLiveWatermarkResponse)

func (*CreateStreamLiveWatermarkResponse) FromJsonString

func (r *CreateStreamLiveWatermarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLiveWatermarkResponse) ToJsonString

func (r *CreateStreamLiveWatermarkResponse) ToJsonString() string

type CreateStreamLiveWatermarkResponseParams

type CreateStreamLiveWatermarkResponseParams struct {
	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTextSettings

type CreateTextSettings struct {
	// Text
	Text *string `json:"Text,omitnil,omitempty" name:"Text"`

	// Origin. Valid values: TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// The watermark’s horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
	XPos *int64 `json:"XPos,omitnil,omitempty" name:"XPos"`

	// The watermark’s vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
	YPos *int64 `json:"YPos,omitnil,omitempty" name:"YPos"`

	// Font size. Value range: 25-50.
	FontSize *int64 `json:"FontSize,omitnil,omitempty" name:"FontSize"`

	// Font color, which is an RGB color value. Default value: 0x000000.
	FontColor *string `json:"FontColor,omitnil,omitempty" name:"FontColor"`
}

type DashRemuxSettingsInfo

type DashRemuxSettingsInfo struct {
	// Segment duration in ms. Value range: [1000,30000]. Default value: 4000. The value can only be a multiple of 1,000.
	SegmentDuration *uint64 `json:"SegmentDuration,omitnil,omitempty" name:"SegmentDuration"`

	// Number of segments. Value range: [1,30]. Default value: 5.
	SegmentNumber *uint64 `json:"SegmentNumber,omitnil,omitempty" name:"SegmentNumber"`

	// Whether to enable multi-period. Valid values: CLOSE/OPEN. Default value: CLOSE.
	PeriodTriggers *string `json:"PeriodTriggers,omitnil,omitempty" name:"PeriodTriggers"`

	// The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default).
	H265PackageType *string `json:"H265PackageType,omitnil,omitempty" name:"H265PackageType"`
}

type DeleteStreamLiveChannelRequest

type DeleteStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDeleteStreamLiveChannelRequest

func NewDeleteStreamLiveChannelRequest() (request *DeleteStreamLiveChannelRequest)

func (*DeleteStreamLiveChannelRequest) FromJsonString

func (r *DeleteStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveChannelRequest) ToJsonString

func (r *DeleteStreamLiveChannelRequest) ToJsonString() string

type DeleteStreamLiveChannelRequestParams

type DeleteStreamLiveChannelRequestParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteStreamLiveChannelResponse

type DeleteStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLiveChannelResponseParams `json:"Response"`
}

func NewDeleteStreamLiveChannelResponse

func NewDeleteStreamLiveChannelResponse() (response *DeleteStreamLiveChannelResponse)

func (*DeleteStreamLiveChannelResponse) FromJsonString

func (r *DeleteStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveChannelResponse) ToJsonString

func (r *DeleteStreamLiveChannelResponse) ToJsonString() string

type DeleteStreamLiveChannelResponseParams

type DeleteStreamLiveChannelResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLiveInputRequest

type DeleteStreamLiveInputRequest struct {
	*tchttp.BaseRequest

	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDeleteStreamLiveInputRequest

func NewDeleteStreamLiveInputRequest() (request *DeleteStreamLiveInputRequest)

func (*DeleteStreamLiveInputRequest) FromJsonString

func (r *DeleteStreamLiveInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveInputRequest) ToJsonString

func (r *DeleteStreamLiveInputRequest) ToJsonString() string

type DeleteStreamLiveInputRequestParams

type DeleteStreamLiveInputRequestParams struct {
	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteStreamLiveInputResponse

type DeleteStreamLiveInputResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLiveInputResponseParams `json:"Response"`
}

func NewDeleteStreamLiveInputResponse

func NewDeleteStreamLiveInputResponse() (response *DeleteStreamLiveInputResponse)

func (*DeleteStreamLiveInputResponse) FromJsonString

func (r *DeleteStreamLiveInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveInputResponse) ToJsonString

func (r *DeleteStreamLiveInputResponse) ToJsonString() string

type DeleteStreamLiveInputResponseParams

type DeleteStreamLiveInputResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLiveInputSecurityGroupRequest

type DeleteStreamLiveInputSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDeleteStreamLiveInputSecurityGroupRequest

func NewDeleteStreamLiveInputSecurityGroupRequest() (request *DeleteStreamLiveInputSecurityGroupRequest)

func (*DeleteStreamLiveInputSecurityGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveInputSecurityGroupRequest) ToJsonString

type DeleteStreamLiveInputSecurityGroupRequestParams

type DeleteStreamLiveInputSecurityGroupRequestParams struct {
	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteStreamLiveInputSecurityGroupResponse

type DeleteStreamLiveInputSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLiveInputSecurityGroupResponseParams `json:"Response"`
}

func NewDeleteStreamLiveInputSecurityGroupResponse

func NewDeleteStreamLiveInputSecurityGroupResponse() (response *DeleteStreamLiveInputSecurityGroupResponse)

func (*DeleteStreamLiveInputSecurityGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveInputSecurityGroupResponse) ToJsonString

type DeleteStreamLiveInputSecurityGroupResponseParams

type DeleteStreamLiveInputSecurityGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLivePlanRequest

type DeleteStreamLivePlanRequest struct {
	*tchttp.BaseRequest

	// ID of the channel whose event is to be deleted
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Name of the event to delete
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`
}

func NewDeleteStreamLivePlanRequest

func NewDeleteStreamLivePlanRequest() (request *DeleteStreamLivePlanRequest)

func (*DeleteStreamLivePlanRequest) FromJsonString

func (r *DeleteStreamLivePlanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLivePlanRequest) ToJsonString

func (r *DeleteStreamLivePlanRequest) ToJsonString() string

type DeleteStreamLivePlanRequestParams

type DeleteStreamLivePlanRequestParams struct {
	// ID of the channel whose event is to be deleted
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Name of the event to delete
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`
}

Predefined struct for user

type DeleteStreamLivePlanResponse

type DeleteStreamLivePlanResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLivePlanResponseParams `json:"Response"`
}

func NewDeleteStreamLivePlanResponse

func NewDeleteStreamLivePlanResponse() (response *DeleteStreamLivePlanResponse)

func (*DeleteStreamLivePlanResponse) FromJsonString

func (r *DeleteStreamLivePlanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLivePlanResponse) ToJsonString

func (r *DeleteStreamLivePlanResponse) ToJsonString() string

type DeleteStreamLivePlanResponseParams

type DeleteStreamLivePlanResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLiveWatermarkRequest

type DeleteStreamLiveWatermarkRequest struct {
	*tchttp.BaseRequest

	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDeleteStreamLiveWatermarkRequest

func NewDeleteStreamLiveWatermarkRequest() (request *DeleteStreamLiveWatermarkRequest)

func (*DeleteStreamLiveWatermarkRequest) FromJsonString

func (r *DeleteStreamLiveWatermarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveWatermarkRequest) ToJsonString

func (r *DeleteStreamLiveWatermarkRequest) ToJsonString() string

type DeleteStreamLiveWatermarkRequestParams

type DeleteStreamLiveWatermarkRequestParams struct {
	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteStreamLiveWatermarkResponse

type DeleteStreamLiveWatermarkResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLiveWatermarkResponseParams `json:"Response"`
}

func NewDeleteStreamLiveWatermarkResponse

func NewDeleteStreamLiveWatermarkResponse() (response *DeleteStreamLiveWatermarkResponse)

func (*DeleteStreamLiveWatermarkResponse) FromJsonString

func (r *DeleteStreamLiveWatermarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLiveWatermarkResponse) ToJsonString

func (r *DeleteStreamLiveWatermarkResponse) ToJsonString() string

type DeleteStreamLiveWatermarkResponseParams

type DeleteStreamLiveWatermarkResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeliveryRestrictionsInfo

type DeliveryRestrictionsInfo struct {
	// Corresponds to SCTE-35 web_delivery_allowed_flag parameter.
	WebDeliveryAllowed *string `json:"WebDeliveryAllowed,omitnil,omitempty" name:"WebDeliveryAllowed"`

	// Corresponds to SCTE-35 no_regional_blackout_flag parameter.
	NoRegionalBlackout *string `json:"NoRegionalBlackout,omitnil,omitempty" name:"NoRegionalBlackout"`

	// Corresponds to SCTE-35 archive_allowed_flag.
	ArchiveAllowed *string `json:"ArchiveAllowed,omitnil,omitempty" name:"ArchiveAllowed"`

	// Corresponds to SCTE-35 device_restrictions parameter.
	DeviceRestrictions *string `json:"DeviceRestrictions,omitnil,omitempty" name:"DeviceRestrictions"`
}

type DescribeImageSettings

type DescribeImageSettings struct {
	// Origin
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// The watermark image’s horizontal distance from the origin as a percentage of the video width
	XPos *int64 `json:"XPos,omitnil,omitempty" name:"XPos"`

	// The watermark image’s vertical distance from the origin as a percentage of the video height
	YPos *int64 `json:"YPos,omitnil,omitempty" name:"YPos"`

	// The watermark image’s width as a percentage of the video width
	Width *int64 `json:"Width,omitnil,omitempty" name:"Width"`

	// The watermark image’s height as a percentage of the video height
	Height *int64 `json:"Height,omitnil,omitempty" name:"Height"`
}

type DescribeMediaLiveHighlightResultRequest

type DescribeMediaLiveHighlightResultRequest struct {
	*tchttp.BaseRequest

	// Media live broadcast channel ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Query start time, unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, Unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Paging query page number.
	PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Paging query the size of each page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewDescribeMediaLiveHighlightResultRequest

func NewDescribeMediaLiveHighlightResultRequest() (request *DescribeMediaLiveHighlightResultRequest)

func (*DescribeMediaLiveHighlightResultRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaLiveHighlightResultRequest) ToJsonString

type DescribeMediaLiveHighlightResultRequestParams

type DescribeMediaLiveHighlightResultRequestParams struct {
	// Media live broadcast channel ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Query start time, unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, Unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Paging query page number.
	PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Paging query the size of each page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type DescribeMediaLiveHighlightResultResponse

type DescribeMediaLiveHighlightResultResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMediaLiveHighlightResultResponseParams `json:"Response"`
}

func NewDescribeMediaLiveHighlightResultResponse

func NewDescribeMediaLiveHighlightResultResponse() (response *DescribeMediaLiveHighlightResultResponse)

func (*DescribeMediaLiveHighlightResultResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaLiveHighlightResultResponse) ToJsonString

type DescribeMediaLiveHighlightResultResponseParams

type DescribeMediaLiveHighlightResultResponseParams struct {
	// Highlight results information.
	Info []*HighlightResInfoResp `json:"Info,omitnil,omitempty" name:"Info"`

	// Collection id.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Media live broadcast channel id.
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Number of pages.
	PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Paging Size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// The total number of eligible entries in the background.
	TotalNum *uint64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelAlertsRequest

type DescribeStreamLiveChannelAlertsRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeStreamLiveChannelAlertsRequest

func NewDescribeStreamLiveChannelAlertsRequest() (request *DescribeStreamLiveChannelAlertsRequest)

func (*DescribeStreamLiveChannelAlertsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelAlertsRequest) ToJsonString

type DescribeStreamLiveChannelAlertsRequestParams

type DescribeStreamLiveChannelAlertsRequestParams struct {
	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeStreamLiveChannelAlertsResponse

type DescribeStreamLiveChannelAlertsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelAlertsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelAlertsResponse

func NewDescribeStreamLiveChannelAlertsResponse() (response *DescribeStreamLiveChannelAlertsResponse)

func (*DescribeStreamLiveChannelAlertsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelAlertsResponse) ToJsonString

type DescribeStreamLiveChannelAlertsResponseParams

type DescribeStreamLiveChannelAlertsResponseParams struct {
	// Alarm information of the channel’s two pipelines
	Infos *ChannelAlertInfos `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelInputStatisticsRequest

type DescribeStreamLiveChannelInputStatisticsRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min`
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

func NewDescribeStreamLiveChannelInputStatisticsRequest

func NewDescribeStreamLiveChannelInputStatisticsRequest() (request *DescribeStreamLiveChannelInputStatisticsRequest)

func (*DescribeStreamLiveChannelInputStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelInputStatisticsRequest) ToJsonString

type DescribeStreamLiveChannelInputStatisticsRequestParams

type DescribeStreamLiveChannelInputStatisticsRequestParams struct {
	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min`
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

Predefined struct for user

type DescribeStreamLiveChannelInputStatisticsResponse

type DescribeStreamLiveChannelInputStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelInputStatisticsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelInputStatisticsResponse

func NewDescribeStreamLiveChannelInputStatisticsResponse() (response *DescribeStreamLiveChannelInputStatisticsResponse)

func (*DescribeStreamLiveChannelInputStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelInputStatisticsResponse) ToJsonString

type DescribeStreamLiveChannelInputStatisticsResponseParams

type DescribeStreamLiveChannelInputStatisticsResponseParams struct {
	// Channel input statistics
	Infos []*ChannelInputStatistics `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelLogsRequest

type DescribeStreamLiveChannelLogsRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query logs in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeStreamLiveChannelLogsRequest

func NewDescribeStreamLiveChannelLogsRequest() (request *DescribeStreamLiveChannelLogsRequest)

func (*DescribeStreamLiveChannelLogsRequest) FromJsonString

func (r *DescribeStreamLiveChannelLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelLogsRequest) ToJsonString

func (r *DescribeStreamLiveChannelLogsRequest) ToJsonString() string

type DescribeStreamLiveChannelLogsRequestParams

type DescribeStreamLiveChannelLogsRequestParams struct {
	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query logs in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeStreamLiveChannelLogsResponse

type DescribeStreamLiveChannelLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelLogsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelLogsResponse

func NewDescribeStreamLiveChannelLogsResponse() (response *DescribeStreamLiveChannelLogsResponse)

func (*DescribeStreamLiveChannelLogsResponse) FromJsonString

func (r *DescribeStreamLiveChannelLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelLogsResponse) ToJsonString

type DescribeStreamLiveChannelLogsResponseParams

type DescribeStreamLiveChannelLogsResponseParams struct {
	// Pipeline push information
	Infos *PipelineLogInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelOutputStatisticsRequest

type DescribeStreamLiveChannelOutputStatisticsRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min`
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

func NewDescribeStreamLiveChannelOutputStatisticsRequest

func NewDescribeStreamLiveChannelOutputStatisticsRequest() (request *DescribeStreamLiveChannelOutputStatisticsRequest)

func (*DescribeStreamLiveChannelOutputStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelOutputStatisticsRequest) ToJsonString

type DescribeStreamLiveChannelOutputStatisticsRequestParams

type DescribeStreamLiveChannelOutputStatisticsRequestParams struct {
	// Channel ID
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// Start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// UTC time, such as `2020-01-01T12:00:00Z`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for query, which is 1 hour after `StartTime` by default
	// UTC time, such as `2020-01-01T12:00:00Z`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min`
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

Predefined struct for user

type DescribeStreamLiveChannelOutputStatisticsResponse

type DescribeStreamLiveChannelOutputStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelOutputStatisticsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelOutputStatisticsResponse

func NewDescribeStreamLiveChannelOutputStatisticsResponse() (response *DescribeStreamLiveChannelOutputStatisticsResponse)

func (*DescribeStreamLiveChannelOutputStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelOutputStatisticsResponse) ToJsonString

type DescribeStreamLiveChannelOutputStatisticsResponseParams

type DescribeStreamLiveChannelOutputStatisticsResponseParams struct {
	// Channel output information
	Infos []*ChannelOutputsStatistics `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelRequest

type DescribeStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDescribeStreamLiveChannelRequest

func NewDescribeStreamLiveChannelRequest() (request *DescribeStreamLiveChannelRequest)

func (*DescribeStreamLiveChannelRequest) FromJsonString

func (r *DescribeStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelRequest) ToJsonString

func (r *DescribeStreamLiveChannelRequest) ToJsonString() string

type DescribeStreamLiveChannelRequestParams

type DescribeStreamLiveChannelRequestParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeStreamLiveChannelResponse

type DescribeStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelResponse

func NewDescribeStreamLiveChannelResponse() (response *DescribeStreamLiveChannelResponse)

func (*DescribeStreamLiveChannelResponse) FromJsonString

func (r *DescribeStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelResponse) ToJsonString

func (r *DescribeStreamLiveChannelResponse) ToJsonString() string

type DescribeStreamLiveChannelResponseParams

type DescribeStreamLiveChannelResponseParams struct {
	// Channel information
	Info *StreamLiveChannelInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveChannelsRequest

type DescribeStreamLiveChannelsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLiveChannelsRequest

func NewDescribeStreamLiveChannelsRequest() (request *DescribeStreamLiveChannelsRequest)

func (*DescribeStreamLiveChannelsRequest) FromJsonString

func (r *DescribeStreamLiveChannelsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelsRequest) ToJsonString

func (r *DescribeStreamLiveChannelsRequest) ToJsonString() string

type DescribeStreamLiveChannelsRequestParams

type DescribeStreamLiveChannelsRequestParams struct {
}

Predefined struct for user

type DescribeStreamLiveChannelsResponse

type DescribeStreamLiveChannelsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveChannelsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveChannelsResponse

func NewDescribeStreamLiveChannelsResponse() (response *DescribeStreamLiveChannelsResponse)

func (*DescribeStreamLiveChannelsResponse) FromJsonString

func (r *DescribeStreamLiveChannelsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveChannelsResponse) ToJsonString

func (r *DescribeStreamLiveChannelsResponse) ToJsonString() string

type DescribeStreamLiveChannelsResponseParams

type DescribeStreamLiveChannelsResponseParams struct {
	// List of channel information
	// Note: this field may return `null`, indicating that no valid value was found.
	Infos []*StreamLiveChannelInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveInputRequest

type DescribeStreamLiveInputRequest struct {
	*tchttp.BaseRequest

	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDescribeStreamLiveInputRequest

func NewDescribeStreamLiveInputRequest() (request *DescribeStreamLiveInputRequest)

func (*DescribeStreamLiveInputRequest) FromJsonString

func (r *DescribeStreamLiveInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputRequest) ToJsonString

func (r *DescribeStreamLiveInputRequest) ToJsonString() string

type DescribeStreamLiveInputRequestParams

type DescribeStreamLiveInputRequestParams struct {
	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeStreamLiveInputResponse

type DescribeStreamLiveInputResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveInputResponseParams `json:"Response"`
}

func NewDescribeStreamLiveInputResponse

func NewDescribeStreamLiveInputResponse() (response *DescribeStreamLiveInputResponse)

func (*DescribeStreamLiveInputResponse) FromJsonString

func (r *DescribeStreamLiveInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputResponse) ToJsonString

func (r *DescribeStreamLiveInputResponse) ToJsonString() string

type DescribeStreamLiveInputResponseParams

type DescribeStreamLiveInputResponseParams struct {
	// Input information
	Info *InputInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveInputSecurityGroupRequest

type DescribeStreamLiveInputSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDescribeStreamLiveInputSecurityGroupRequest

func NewDescribeStreamLiveInputSecurityGroupRequest() (request *DescribeStreamLiveInputSecurityGroupRequest)

func (*DescribeStreamLiveInputSecurityGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputSecurityGroupRequest) ToJsonString

type DescribeStreamLiveInputSecurityGroupRequestParams

type DescribeStreamLiveInputSecurityGroupRequestParams struct {
	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeStreamLiveInputSecurityGroupResponse

type DescribeStreamLiveInputSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveInputSecurityGroupResponseParams `json:"Response"`
}

func NewDescribeStreamLiveInputSecurityGroupResponse

func NewDescribeStreamLiveInputSecurityGroupResponse() (response *DescribeStreamLiveInputSecurityGroupResponse)

func (*DescribeStreamLiveInputSecurityGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputSecurityGroupResponse) ToJsonString

type DescribeStreamLiveInputSecurityGroupResponseParams

type DescribeStreamLiveInputSecurityGroupResponseParams struct {
	// Input security group information
	Info *InputSecurityGroupInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveInputSecurityGroupsRequest

type DescribeStreamLiveInputSecurityGroupsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLiveInputSecurityGroupsRequest

func NewDescribeStreamLiveInputSecurityGroupsRequest() (request *DescribeStreamLiveInputSecurityGroupsRequest)

func (*DescribeStreamLiveInputSecurityGroupsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputSecurityGroupsRequest) ToJsonString

type DescribeStreamLiveInputSecurityGroupsRequestParams

type DescribeStreamLiveInputSecurityGroupsRequestParams struct {
}

Predefined struct for user

type DescribeStreamLiveInputSecurityGroupsResponse

type DescribeStreamLiveInputSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveInputSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveInputSecurityGroupsResponse

func NewDescribeStreamLiveInputSecurityGroupsResponse() (response *DescribeStreamLiveInputSecurityGroupsResponse)

func (*DescribeStreamLiveInputSecurityGroupsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputSecurityGroupsResponse) ToJsonString

type DescribeStreamLiveInputSecurityGroupsResponseParams

type DescribeStreamLiveInputSecurityGroupsResponseParams struct {
	// List of input security group information
	Infos []*InputSecurityGroupInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveInputsRequest

type DescribeStreamLiveInputsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLiveInputsRequest

func NewDescribeStreamLiveInputsRequest() (request *DescribeStreamLiveInputsRequest)

func (*DescribeStreamLiveInputsRequest) FromJsonString

func (r *DescribeStreamLiveInputsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputsRequest) ToJsonString

func (r *DescribeStreamLiveInputsRequest) ToJsonString() string

type DescribeStreamLiveInputsRequestParams

type DescribeStreamLiveInputsRequestParams struct {
}

Predefined struct for user

type DescribeStreamLiveInputsResponse

type DescribeStreamLiveInputsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveInputsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveInputsResponse

func NewDescribeStreamLiveInputsResponse() (response *DescribeStreamLiveInputsResponse)

func (*DescribeStreamLiveInputsResponse) FromJsonString

func (r *DescribeStreamLiveInputsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveInputsResponse) ToJsonString

func (r *DescribeStreamLiveInputsResponse) ToJsonString() string

type DescribeStreamLiveInputsResponseParams

type DescribeStreamLiveInputsResponseParams struct {
	// List of input information
	// Note: this field may return `null`, indicating that no valid value was found.
	Infos []*InputInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLivePlansRequest

type DescribeStreamLivePlansRequest struct {
	*tchttp.BaseRequest

	// ID of the channel whose events you want to query
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeStreamLivePlansRequest

func NewDescribeStreamLivePlansRequest() (request *DescribeStreamLivePlansRequest)

func (*DescribeStreamLivePlansRequest) FromJsonString

func (r *DescribeStreamLivePlansRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLivePlansRequest) ToJsonString

func (r *DescribeStreamLivePlansRequest) ToJsonString() string

type DescribeStreamLivePlansRequestParams

type DescribeStreamLivePlansRequestParams struct {
	// ID of the channel whose events you want to query
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeStreamLivePlansResponse

type DescribeStreamLivePlansResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLivePlansResponseParams `json:"Response"`
}

func NewDescribeStreamLivePlansResponse

func NewDescribeStreamLivePlansResponse() (response *DescribeStreamLivePlansResponse)

func (*DescribeStreamLivePlansResponse) FromJsonString

func (r *DescribeStreamLivePlansResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLivePlansResponse) ToJsonString

func (r *DescribeStreamLivePlansResponse) ToJsonString() string

type DescribeStreamLivePlansResponseParams

type DescribeStreamLivePlansResponseParams struct {
	// List of event information
	// Note: this field may return `null`, indicating that no valid value was found.
	Infos []*PlanResp `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveRegionsRequest

type DescribeStreamLiveRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLiveRegionsRequest

func NewDescribeStreamLiveRegionsRequest() (request *DescribeStreamLiveRegionsRequest)

func (*DescribeStreamLiveRegionsRequest) FromJsonString

func (r *DescribeStreamLiveRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveRegionsRequest) ToJsonString

func (r *DescribeStreamLiveRegionsRequest) ToJsonString() string

type DescribeStreamLiveRegionsRequestParams

type DescribeStreamLiveRegionsRequestParams struct {
}

Predefined struct for user

type DescribeStreamLiveRegionsResponse

type DescribeStreamLiveRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveRegionsResponseParams `json:"Response"`
}

func NewDescribeStreamLiveRegionsResponse

func NewDescribeStreamLiveRegionsResponse() (response *DescribeStreamLiveRegionsResponse)

func (*DescribeStreamLiveRegionsResponse) FromJsonString

func (r *DescribeStreamLiveRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveRegionsResponse) ToJsonString

func (r *DescribeStreamLiveRegionsResponse) ToJsonString() string

type DescribeStreamLiveRegionsResponseParams

type DescribeStreamLiveRegionsResponseParams struct {
	// StreamLive region information
	Info *StreamLiveRegionInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveTranscodeDetailRequest

type DescribeStreamLiveTranscodeDetailRequest struct {
	*tchttp.BaseRequest

	// The query start time (UTC+8) in the format of yyyy-MM-dd.
	// You can only query data in the last month (not including the current day).
	StartDayTime *string `json:"StartDayTime,omitnil,omitempty" name:"StartDayTime"`

	// The query end time (UTC+8) in the format of yyyy-MM-dd.
	// You can only query data in the last month (not including the current day).
	EndDayTime *string `json:"EndDayTime,omitnil,omitempty" name:"EndDayTime"`

	// The channel ID (optional).
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// The number of pages. Default value: 1.
	// The value cannot exceed 100.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// The number of records per page. Default value: 10.
	// Value range: 1-1000.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewDescribeStreamLiveTranscodeDetailRequest

func NewDescribeStreamLiveTranscodeDetailRequest() (request *DescribeStreamLiveTranscodeDetailRequest)

func (*DescribeStreamLiveTranscodeDetailRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveTranscodeDetailRequest) ToJsonString

type DescribeStreamLiveTranscodeDetailRequestParams

type DescribeStreamLiveTranscodeDetailRequestParams struct {
	// The query start time (UTC+8) in the format of yyyy-MM-dd.
	// You can only query data in the last month (not including the current day).
	StartDayTime *string `json:"StartDayTime,omitnil,omitempty" name:"StartDayTime"`

	// The query end time (UTC+8) in the format of yyyy-MM-dd.
	// You can only query data in the last month (not including the current day).
	EndDayTime *string `json:"EndDayTime,omitnil,omitempty" name:"EndDayTime"`

	// The channel ID (optional).
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// The number of pages. Default value: 1.
	// The value cannot exceed 100.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// The number of records per page. Default value: 10.
	// Value range: 1-1000.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type DescribeStreamLiveTranscodeDetailResponse

type DescribeStreamLiveTranscodeDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveTranscodeDetailResponseParams `json:"Response"`
}

func NewDescribeStreamLiveTranscodeDetailResponse

func NewDescribeStreamLiveTranscodeDetailResponse() (response *DescribeStreamLiveTranscodeDetailResponse)

func (*DescribeStreamLiveTranscodeDetailResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveTranscodeDetailResponse) ToJsonString

type DescribeStreamLiveTranscodeDetailResponseParams

type DescribeStreamLiveTranscodeDetailResponseParams struct {
	// A list of the transcoding information.
	Infos []*DescribeTranscodeDetailInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The number of the current page.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// The total number of records.
	TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// The total number of pages.
	TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveWatermarkRequest

type DescribeStreamLiveWatermarkRequest struct {
	*tchttp.BaseRequest

	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDescribeStreamLiveWatermarkRequest

func NewDescribeStreamLiveWatermarkRequest() (request *DescribeStreamLiveWatermarkRequest)

func (*DescribeStreamLiveWatermarkRequest) FromJsonString

func (r *DescribeStreamLiveWatermarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveWatermarkRequest) ToJsonString

func (r *DescribeStreamLiveWatermarkRequest) ToJsonString() string

type DescribeStreamLiveWatermarkRequestParams

type DescribeStreamLiveWatermarkRequestParams struct {
	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeStreamLiveWatermarkResponse

type DescribeStreamLiveWatermarkResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveWatermarkResponseParams `json:"Response"`
}

func NewDescribeStreamLiveWatermarkResponse

func NewDescribeStreamLiveWatermarkResponse() (response *DescribeStreamLiveWatermarkResponse)

func (*DescribeStreamLiveWatermarkResponse) FromJsonString

func (r *DescribeStreamLiveWatermarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveWatermarkResponse) ToJsonString

func (r *DescribeStreamLiveWatermarkResponse) ToJsonString() string

type DescribeStreamLiveWatermarkResponseParams

type DescribeStreamLiveWatermarkResponseParams struct {
	// Watermark information
	Info *DescribeWatermarkInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLiveWatermarksRequest

type DescribeStreamLiveWatermarksRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLiveWatermarksRequest

func NewDescribeStreamLiveWatermarksRequest() (request *DescribeStreamLiveWatermarksRequest)

func (*DescribeStreamLiveWatermarksRequest) FromJsonString

func (r *DescribeStreamLiveWatermarksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveWatermarksRequest) ToJsonString

func (r *DescribeStreamLiveWatermarksRequest) ToJsonString() string

type DescribeStreamLiveWatermarksRequestParams

type DescribeStreamLiveWatermarksRequestParams struct {
}

Predefined struct for user

type DescribeStreamLiveWatermarksResponse

type DescribeStreamLiveWatermarksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLiveWatermarksResponseParams `json:"Response"`
}

func NewDescribeStreamLiveWatermarksResponse

func NewDescribeStreamLiveWatermarksResponse() (response *DescribeStreamLiveWatermarksResponse)

func (*DescribeStreamLiveWatermarksResponse) FromJsonString

func (r *DescribeStreamLiveWatermarksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLiveWatermarksResponse) ToJsonString

func (r *DescribeStreamLiveWatermarksResponse) ToJsonString() string

type DescribeStreamLiveWatermarksResponseParams

type DescribeStreamLiveWatermarksResponseParams struct {
	// List of watermark information
	Infos []*DescribeWatermarkInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTextSettings

type DescribeTextSettings struct {
	// Text
	Text *string `json:"Text,omitnil,omitempty" name:"Text"`

	// Origin
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// The watermark image’s horizontal distance from the origin as a percentage of the video width
	XPos *int64 `json:"XPos,omitnil,omitempty" name:"XPos"`

	// The watermark image’s vertical distance from the origin as a percentage of the video height
	YPos *int64 `json:"YPos,omitnil,omitempty" name:"YPos"`

	// Font size
	FontSize *int64 `json:"FontSize,omitnil,omitempty" name:"FontSize"`

	// Font color
	FontColor *string `json:"FontColor,omitnil,omitempty" name:"FontColor"`
}

type DescribeTranscodeDetailInfo

type DescribeTranscodeDetailInfo struct {
	// The channel ID.
	ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// The start time (UTC+8) of transcoding in the format of yyyy-MM-dd HH:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time (UTC+8) of transcoding in the format of yyyy-MM-dd HH:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The duration (s) of transcoding.
	Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// The encoding method.
	// Examples:
	// `liveprocessor_H264`: Live transcoding-H264
	// `liveprocessor_H265`: Live transcoding-H265
	// `topspeed_H264`: Top speed codec-H264
	// `topspeed_H265`: Top speed codec-H265
	ModuleCodec *string `json:"ModuleCodec,omitnil,omitempty" name:"ModuleCodec"`

	// The target bitrate (Kbps).
	Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"`

	// The transcoding type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The push domain name.
	PushDomain *string `json:"PushDomain,omitnil,omitempty" name:"PushDomain"`

	// The target resolution.
	Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"`
}

type DescribeWatermarkInfo

type DescribeWatermarkInfo struct {
	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Watermark name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Watermark type. Valid values: STATIC_IMAGE, TEXT.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`.
	// Note: This field may return `null`, indicating that no valid value was found.
	ImageSettings *DescribeImageSettings `json:"ImageSettings,omitnil,omitempty" name:"ImageSettings"`

	// Watermark text settings. This parameter is valid if `Type` is `TEXT`.
	// Note: This field may return `null`, indicating that no valid value was found.
	TextSettings *DescribeTextSettings `json:"TextSettings,omitnil,omitempty" name:"TextSettings"`

	// Last modified time (UTC+0) of the watermark, in the format of `2020-01-01T12:00:00Z`
	// Note: This field may return `null`, indicating that no valid value was found.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// List of channel IDs the watermark is bound to
	// Note: This field may return `null`, indicating that no valid value was found.
	AttachedChannels []*string `json:"AttachedChannels,omitnil,omitempty" name:"AttachedChannels"`
}

type DestinationInfo

type DestinationInfo struct {
	// Relay destination address. Length limit: [1,512].
	OutputUrl *string `json:"OutputUrl,omitnil,omitempty" name:"OutputUrl"`

	// Authentication key. Length limit: [1,128].
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthKey *string `json:"AuthKey,omitnil,omitempty" name:"AuthKey"`

	// Authentication username. Length limit: [1,128].
	// Note: this field may return null, indicating that no valid values can be obtained.
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// Authentication password. Length limit: [1,128].
	// Note: this field may return null, indicating that no valid values can be obtained.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// The destination type of the retweet. Currently available values are: Standard, AWS_MediaPackageV1, AWS_MediaPackageV2. The default is: Standard. When the output group type is FRAME_CAPTURE, valid values are: AWS_AmazonS3, COS.
	DestinationType *string `json:"DestinationType,omitnil,omitempty" name:"DestinationType"`

	// Aws S3 destination setting.
	AmazonS3Settings *AmazonS3Settings `json:"AmazonS3Settings,omitnil,omitempty" name:"AmazonS3Settings"`

	// Cos destination setting.
	CosSettings *CosSettings `json:"CosSettings,omitnil,omitempty" name:"CosSettings"`
}

type DrmKey

type DrmKey struct {
	// DRM key, which is a 32-bit hexadecimal string.
	// Note: uppercase letters in the string will be automatically converted to lowercase ones.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Required for Widevine encryption. Valid values: SD, HD, UHD1, UHD2, AUDIO, ALL.
	// ALL refers to all tracks. If this parameter is set to ALL, no other tracks can be added.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Track *string `json:"Track,omitnil,omitempty" name:"Track"`

	// Required for Widevine encryption. It is a 32-bit hexadecimal string.
	// Note: uppercase letters in the string will be automatically converted to lowercase ones.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// Required when FairPlay uses the AES encryption method. It is a 32-bit hexadecimal string.
	// For more information about this parameter, please see:
	// https://tools.ietf.org/html/rfc3826
	// Note: uppercase letters in the string will be automatically converted to lowercase ones.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Iv *string `json:"Iv,omitnil,omitempty" name:"Iv"`

	// The URI of the license server when AES-128 is used. This parameter may be empty.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	KeyUri *string `json:"KeyUri,omitnil,omitempty" name:"KeyUri"`
}

type DrmSettingsInfo

type DrmSettingsInfo struct {
	// Whether to enable DRM encryption. Valid values: `CLOSE` (disable), `OPEN` (enable). Default value: `CLOSE`
	// DRM encryption is supported only for HLS, DASH, HLS_ARCHIVE, DASH_ARCHIVE, HLS_MEDIAPACKAGE, and DASH_MEDIAPACKAGE outputs.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Valid values: `CustomDRMKeys` (default value), `SDMCDRM`
	// `CustomDRMKeys` means encryption keys customized by users.
	// `SDMCDRM` means the DRM key management system of SDMC.
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// If `Scheme` is set to `CustomDRMKeys`, this parameter is required.
	// If `Scheme` is set to `SDMCDRM`, this parameter is optional. It supports digits, letters, hyphens, and underscores and must contain 1 to 36 characters. If it is not specified, the value of `ChannelId` will be used.
	ContentId *string `json:"ContentId,omitnil,omitempty" name:"ContentId"`

	// The key customized by the content user, which is required when `Scheme` is set to CustomDRMKeys.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Keys []*DrmKey `json:"Keys,omitnil,omitempty" name:"Keys"`

	// SDMC key configuration. This parameter is used when `Scheme` is set to `SDMCDRM`.
	// Note: This field may return `null`, indicating that no valid value was found.
	SDMCSettings *SDMCSettingsInfo `json:"SDMCSettings,omitnil,omitempty" name:"SDMCSettings"`

	// Optional Types:
	// `FAIRPLAY`, `WIDEVINE`, `PLAYREADY`, `AES128`
	//
	// HLS-TS supports `FAIRPLAY` and `AES128`.
	//
	// HLS-FMP4 supports `FAIRPLAY`, `WIDEVINE`, `PLAYREADY`, `AES128`, and combinations of two or three from `FAIRPLAY`, `WIDEVINE`, and `PLAYREADY` (concatenated with commas, e.g., "FAIRPLAY,WIDEVINE,PLAYREADY").
	//
	// DASH supports `WIDEVINE`, `PLAYREADY`, and combinations of `PLAYREADY` and `WIDEVINE` (concatenated with commas, e.g., "PLAYREADY,WIDEVINE").
	DrmType *string `json:"DrmType,omitnil,omitempty" name:"DrmType"`
}

type EventNotifySetting

type EventNotifySetting struct {
	// The callback configuration for push events.
	PushEventSettings *PushEventSetting `json:"PushEventSettings,omitnil,omitempty" name:"PushEventSettings"`
}

type EventSettingsDestinationReq

type EventSettingsDestinationReq struct {
	// URL of the COS bucket to save recording files
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type EventSettingsDestinationResp

type EventSettingsDestinationResp struct {
	// URL of the COS bucket where recording files are saved
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type EventSettingsReq

type EventSettingsReq struct {
	// Valid values: `INPUT_SWITCH`, `TIMED_RECORD`, SCTE35_TIME_SIGNAL, SCTE35_SPLICE_INSERT, SCTE35_RETURN_TO_NETWORK. If it is not specified, `INPUT_SWITCH` will be used.
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// ID of the input to attach, which is required if `EventType` is `INPUT_SWITCH`
	InputAttachment *string `json:"InputAttachment,omitnil,omitempty" name:"InputAttachment"`

	// Name of the output group to attach. This parameter is required if `EventType` is `TIMED_RECORD`.
	OutputGroupName *string `json:"OutputGroupName,omitnil,omitempty" name:"OutputGroupName"`

	// Name of the manifest file for timed recording, which must end with `.m3u8` for HLS and `.mpd` for DASH. This parameter is required if `EventType` is `TIMED_RECORD`.
	ManifestName *string `json:"ManifestName,omitnil,omitempty" name:"ManifestName"`

	// URL of the COS bucket to save recording files. This parameter is required if `EventType` is `TIMED_RECORD`. It may contain 1 or 2 URLs. The first URL corresponds to pipeline 0 and the second pipeline 1.
	Destinations []*EventSettingsDestinationReq `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// SCTE-35 configuration information.
	SCTE35SegmentationDescriptor []*SegmentationDescriptorInfo `json:"SCTE35SegmentationDescriptor,omitnil,omitempty" name:"SCTE35SegmentationDescriptor"`

	// A 32-bit unique segmentation event identifier.Only one occurrence of a given segmentation_event_id value shall be active at any one time.
	SpliceEventID *uint64 `json:"SpliceEventID,omitnil,omitempty" name:"SpliceEventID"`

	// The duration of the segment in 90kHz ticks.It used to  give the splicer an indication of when the break will be over and when the network In Point will occur. If not specifyed,the splice_insert will continue when enter a return_to_network to end the splice_insert at the appropriate time.
	SpliceDuration *uint64 `json:"SpliceDuration,omitnil,omitempty" name:"SpliceDuration"`

	// Meta information plan configuration.
	TimedMetadataSetting *TimedMetadataInfo `json:"TimedMetadataSetting,omitnil,omitempty" name:"TimedMetadataSetting"`
}

type EventSettingsResp

type EventSettingsResp struct {
	// Valid values: INPUT_SWITCH, TIMED_RECORD, SCTE35_TIME_SIGNAL, SCTE35_SPLICE_INSERT, SCTE35_RETURN_TO_NETWORK.
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// ID of the input attached, which is not empty if `EventType` is `INPUT_SWITCH`
	InputAttachment *string `json:"InputAttachment,omitnil,omitempty" name:"InputAttachment"`

	// Name of the output group attached. This parameter is not empty if `EventType` is `TIMED_RECORD`.
	OutputGroupName *string `json:"OutputGroupName,omitnil,omitempty" name:"OutputGroupName"`

	// Name of the manifest file for timed recording, which ends with `.m3u8` for HLS and `.mpd` for DASH. This parameter is not empty if `EventType` is `TIMED_RECORD`.
	ManifestName *string `json:"ManifestName,omitnil,omitempty" name:"ManifestName"`

	// URL of the COS bucket where recording files are saved. This parameter is not empty if `EventType` is `TIMED_RECORD`. It may contain 1 or 2 URLs. The first URL corresponds to pipeline 0 and the second pipeline 1.
	Destinations []*EventSettingsDestinationResp `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// SCTE-35 configuration information.
	SCTE35SegmentationDescriptor []*SegmentationDescriptorRespInfo `json:"SCTE35SegmentationDescriptor,omitnil,omitempty" name:"SCTE35SegmentationDescriptor"`

	// A 32-bit unique segmentation event identifier.Only one occurrence of a given segmentation_event_id value shall be active at any one time.
	SpliceEventID *uint64 `json:"SpliceEventID,omitnil,omitempty" name:"SpliceEventID"`

	// The duration of the segment in 90kHz ticks.It used to  give the splicer an indication of when the break will be over and when the network In Point will occur. If not specifyed,the splice_insert will continue when enter a return_to_network to end the splice_insert at the appropriate time.
	SpliceDuration *string `json:"SpliceDuration,omitnil,omitempty" name:"SpliceDuration"`

	// Meta information plan configuration.
	TimedMetadataSetting *TimedMetadataInfo `json:"TimedMetadataSetting,omitnil,omitempty" name:"TimedMetadataSetting"`
}

type FailOverSettings

type FailOverSettings struct {
	// ID of the backup input
	// Note: this field may return `null`, indicating that no valid value was found.
	SecondaryInputId *string `json:"SecondaryInputId,omitnil,omitempty" name:"SecondaryInputId"`

	// The wait time (ms) for triggering failover after the primary input becomes unavailable. Value range: [1000, 86400000]. Default value: `3000`
	LossThreshold *int64 `json:"LossThreshold,omitnil,omitempty" name:"LossThreshold"`

	// Failover policy. Valid values: `CURRENT_PREFERRED` (default), `PRIMARY_PREFERRED`
	RecoverBehavior *string `json:"RecoverBehavior,omitnil,omitempty" name:"RecoverBehavior"`
}

type FrameCaptureTemplate

type FrameCaptureTemplate struct {
	// Name of frame capture template, limited to uppercase and lowercase letters and numbers, with a length between 1 and 20 characters.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Width of frame capture, optional, input range is from 0 to 3000, must be a multiple of 2.
	Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Height of frame capture, optional, input range is from 0 to 3000, must be a multiple of 2.
	Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"`

	// Interval of frame capture, an integer between 1 and 3600.
	CaptureInterval *uint64 `json:"CaptureInterval,omitnil,omitempty" name:"CaptureInterval"`

	// Interval units of frame capture, only supports SECONDS.
	CaptureIntervalUnits *string `json:"CaptureIntervalUnits,omitnil,omitempty" name:"CaptureIntervalUnits"`

	// Scaling behavior of frame capture, supports DEFAULT or STRETCH_TO_OUTPUT, with DEFAULT being the default option.
	ScalingBehavior *string `json:"ScalingBehavior,omitnil,omitempty" name:"ScalingBehavior"`

	// Sharpness, an integer between 0 and 100.
	Sharpness *uint64 `json:"Sharpness,omitnil,omitempty" name:"Sharpness"`
}

type HighlightInfo

type HighlightInfo struct {
	// Whether to enable input recognition 0: Disable 1 Enable Default value 0 Disable.
	HighlightEnabled *uint64 `json:"HighlightEnabled,omitnil,omitempty" name:"HighlightEnabled"`

	// The product where the results are saved, optional: COS. Currently, only Tencent Cloud COS is supported. In the future, it will be connected to AWS S3 and COS will be used by default.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Valid when Type is COS, the region where COS is stored.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Valid when Type is COS, the bucket name stored in COS.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// Valid when Type is COS, the path where cos is stored.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Valid when Type is COS, the file name stored in cos.
	Filename *string `json:"Filename,omitnil,omitempty" name:"Filename"`

	// Valid when Type is COS, the file name suffix stored in COS is automatically generated in the time format, optional values: unix, utc. Unix is the second-level timestamp and UTC is the year, month and day represented by the zero time zone.
	TimestampFormat *string `json:"TimestampFormat,omitnil,omitempty" name:"TimestampFormat"`

	// Audio selector list is optional and can be empty. If not filled in, an audio will be used as the output of the recognition result by default.
	AudioSelectorNames []*string `json:"AudioSelectorNames,omitnil,omitempty" name:"AudioSelectorNames"`
}

type HighlightResInfoResp

type HighlightResInfoResp struct {
	// MPS task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Highlights video link.
	SegmentUrl *string `json:"SegmentUrl,omitnil,omitempty" name:"SegmentUrl"`

	// Collection cover link.
	CovImgUrl *string `json:"CovImgUrl,omitnil,omitempty" name:"CovImgUrl"`

	// Generation time, UTC format.
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Starting pts.
	StartTime *float64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End pts.
	EndTime *float64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Duration in seconds.
	Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"`
}

type HlsRemuxSettingsInfo

type HlsRemuxSettingsInfo struct {
	// Segment duration in ms. Value range: [1000,30000]. Default value: 4000. The value can only be a multiple of 1,000.
	SegmentDuration *uint64 `json:"SegmentDuration,omitnil,omitempty" name:"SegmentDuration"`

	// Number of segments. Value range: [3,30]. Default value: 5.
	SegmentNumber *uint64 `json:"SegmentNumber,omitnil,omitempty" name:"SegmentNumber"`

	// Whether to enable PDT insertion. Valid values: CLOSE/OPEN. Default value: CLOSE.
	PdtInsertion *string `json:"PdtInsertion,omitnil,omitempty" name:"PdtInsertion"`

	// PDT duration in seconds. Value range: (0,3000]. Default value: 600.
	PdtDuration *uint64 `json:"PdtDuration,omitnil,omitempty" name:"PdtDuration"`

	// Audio/Video packaging scheme. Valid values: `SEPARATE`, `MERGE`. Default value is: SEPARATE.
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// The segment type. Valid values: `ts` (default), `fmp4`.
	// Currently, fMP4 segments do not support DRM or time shifting.
	SegmentType *string `json:"SegmentType,omitnil,omitempty" name:"SegmentType"`

	// The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default).
	H265PackageType *string `json:"H265PackageType,omitnil,omitempty" name:"H265PackageType"`

	// Whether to enable low latency 0:CLOSE, 1:OPEN, default value: 0.
	LowLatency *uint64 `json:"LowLatency,omitnil,omitempty" name:"LowLatency"`

	// Low latency slice size, unit ms. Value range: integer [200-HlsRemuxSettings.SegmentDuration] Default value: 500ms.
	PartialSegmentDuration *uint64 `json:"PartialSegmentDuration,omitnil,omitempty" name:"PartialSegmentDuration"`

	// Low latency slice playback position, unit ms. Value range: integer [3*HlsRemuxSettings.PartiSegmentDuration - 3*HlsRemuxSettings.SegmentDuration], Default value: 3*HlsRemuxSettings.PartiSegmentDuration.
	PartialSegmentPlaySite *uint64 `json:"PartialSegmentPlaySite,omitnil,omitempty" name:"PartialSegmentPlaySite"`

	// Hls main m3u8 file sorting rules by bitrate, optional values: 1: video bitrate ascending order; 2: video bitrate descending order. Default value: 1.
	StreamOrder *uint64 `json:"StreamOrder,omitnil,omitempty" name:"StreamOrder"`

	// Whether the Hls main m3u8 file contains resolution information, optional values: 1: INCLUDE includes video resolution; 2: EXCLUDE does not include video resolution. Default value: 1.
	VideoResolution *uint64 `json:"VideoResolution,omitnil,omitempty" name:"VideoResolution"`
}

type InputAnalysisInfo

type InputAnalysisInfo struct {
	// Highlight configuration.
	HighlightSetting *HighlightInfo `json:"HighlightSetting,omitnil,omitempty" name:"HighlightSetting"`
}

type InputInfo

type InputInfo struct {
	// Input region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Input ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Input type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Array of security groups associated with input.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Array of channels associated with input.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AttachedChannels []*string `json:"AttachedChannels,omitnil,omitempty" name:"AttachedChannels"`

	// Input configuration array.
	InputSettings []*InputSettingInfo `json:"InputSettings,omitnil,omitempty" name:"InputSettings"`
}

type InputLossBehaviorInfo

type InputLossBehaviorInfo struct {
	// The time to fill in the last video frame, unit ms, range 0-1000000, 1000000 means always inserting, default 0 means filling in black screen frame.
	RepeatLastFrameMs *uint64 `json:"RepeatLastFrameMs,omitnil,omitempty" name:"RepeatLastFrameMs"`

	// Fill frame type, COLOR means solid color filling, IMAGE means picture filling, the default is COLOR.
	InputLossImageType *string `json:"InputLossImageType,omitnil,omitempty" name:"InputLossImageType"`

	// When the type is COLOR, the corresponding rgb value
	ColorRGB *string `json:"ColorRGB,omitnil,omitempty" name:"ColorRGB"`

	// When the type is IMAGE, the corresponding image url value
	ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"`
}

type InputSecurityGroupInfo

type InputSecurityGroupInfo struct {
	// Input security group ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input security group name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// List of allowlist entries.
	Whitelist []*string `json:"Whitelist,omitnil,omitempty" name:"Whitelist"`

	// List of bound input streams.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OccupiedInputs []*string `json:"OccupiedInputs,omitnil,omitempty" name:"OccupiedInputs"`

	// Input security group address.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`
}

type InputSettingInfo

type InputSettingInfo struct {
	// Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
	// Note: This field may return `null`, indicating that no valid value was found.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`

	// Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
	// Note: This field may return `null`, indicating that no valid value was found.
	StreamName *string `json:"StreamName,omitnil,omitempty" name:"StreamName"`

	// Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL` and can contain 1-512 characters
	// Note: This field may return `null`, indicating that no valid value was found.
	SourceUrl *string `json:"SourceUrl,omitnil,omitempty" name:"SourceUrl"`

	// RTP/UDP input address, which does not need to be entered for the input parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InputAddress *string `json:"InputAddress,omitnil,omitempty" name:"InputAddress"`

	// Source type for stream pulling and relaying. To pull content from private-read COS buckets under the current account, set this parameter to `TencentCOS`; otherwise, leave it empty.
	// Note: this field may return `null`, indicating that no valid value was found.
	SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
	// Value range: 0 (default) or 10000-600000
	// The value must be a multiple of 1,000.
	// Note: This field may return `null`, indicating that no valid value was found.
	DelayTime *int64 `json:"DelayTime,omitnil,omitempty" name:"DelayTime"`

	// The domain name of the SRT_PUSH push address. No need to fill in the input parameter.
	InputDomain *string `json:"InputDomain,omitnil,omitempty" name:"InputDomain"`

	// The username, which is used for authentication.
	// Note: This field may return `null`, indicating that no valid value was found.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// The password, which is used for authentication.
	// Note: This field may return `null`, indicating that no valid value was found.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// This parameter is valid when the input source is HLS_PULL and MP4_PULL. It indicates the type of file the source is. The optional values are: LIVE, VOD. Please note that if you do not enter this parameter, the system will take the default input value VOD.
	ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`
}

type InputStatistics

type InputStatistics struct {
	// Input statistics of pipeline 0.
	Pipeline0 []*PipelineInputStatistics `json:"Pipeline0,omitnil,omitempty" name:"Pipeline0"`

	// Input statistics of pipeline 1.
	Pipeline1 []*PipelineInputStatistics `json:"Pipeline1,omitnil,omitempty" name:"Pipeline1"`
}

type InputStreamInfo

type InputStreamInfo struct {
	// The input stream address.
	InputAddress *string `json:"InputAddress,omitnil,omitempty" name:"InputAddress"`

	// The input stream path.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`

	// The input stream name.
	StreamName *string `json:"StreamName,omitnil,omitempty" name:"StreamName"`

	// The input stream status. `1` indicates the stream is active.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type InputTrack

type InputTrack struct {
	// Audio track index 1-based index mapping to the specified audio track integer starting from 1.
	TrackIndex *uint64 `json:"TrackIndex,omitnil,omitempty" name:"TrackIndex"`
}

type InputTracks

type InputTracks struct {
	// Audio track configuration information.
	Tracks []*InputTrack `json:"Tracks,omitnil,omitempty" name:"Tracks"`
}

type LogInfo

type LogInfo struct {
	// Log type.
	// It contains the value of `StreamStart` which refers to the push information.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Time when the log is printed.
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Log details.
	Message *LogMessageInfo `json:"Message,omitnil,omitempty" name:"Message"`
}

type LogMessageInfo

type LogMessageInfo struct {
	// Push information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StreamInfo *StreamInfo `json:"StreamInfo,omitnil,omitempty" name:"StreamInfo"`
}

type ModifyStreamLiveChannelRequest

type ModifyStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Channel name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Inputs to attach. You can attach 1 to 5 inputs.
	AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil,omitempty" name:"AttachedInputs"`

	// Configuration information of the channel's output groups. Quantity: [1, 10]
	OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil,omitempty" name:"OutputGroups"`

	// Audio transcoding templates. Quantity: [1, 20]
	AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil,omitempty" name:"AudioTemplates"`

	// Video transcoding templates. Quantity: [1, 10]
	VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil,omitempty" name:"VideoTemplates"`

	// Audio/Video transcoding templates. Quantity: [1, 10]
	AVTemplates []*AVTemplate `json:"AVTemplates,omitnil,omitempty" name:"AVTemplates"`

	// Subtitle template configuration, only AVTemplates are valid.
	CaptionTemplates []*SubtitleConf `json:"CaptionTemplates,omitnil,omitempty" name:"CaptionTemplates"`

	// Event settings
	PlanSettings *PlanSettings `json:"PlanSettings,omitnil,omitempty" name:"PlanSettings"`

	// The callback settings.
	EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil,omitempty" name:"EventNotifySettings"`

	// Complement the last video frame settings.
	InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil,omitempty" name:"InputLossBehavior"`

	// Pipeline configuration.
	PipelineInputSettings *PipelineInputSettingsInfo `json:"PipelineInputSettings,omitnil,omitempty" name:"PipelineInputSettings"`

	// Recognition configuration for input content.
	InputAnalysisSettings *InputAnalysisInfo `json:"InputAnalysisSettings,omitnil,omitempty" name:"InputAnalysisSettings"`

	// Console tag list.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Frame capture templates.
	FrameCaptureTemplates []*FrameCaptureTemplate `json:"FrameCaptureTemplates,omitnil,omitempty" name:"FrameCaptureTemplates"`
}

func NewModifyStreamLiveChannelRequest

func NewModifyStreamLiveChannelRequest() (request *ModifyStreamLiveChannelRequest)

func (*ModifyStreamLiveChannelRequest) FromJsonString

func (r *ModifyStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveChannelRequest) ToJsonString

func (r *ModifyStreamLiveChannelRequest) ToJsonString() string

type ModifyStreamLiveChannelRequestParams

type ModifyStreamLiveChannelRequestParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Channel name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Inputs to attach. You can attach 1 to 5 inputs.
	AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil,omitempty" name:"AttachedInputs"`

	// Configuration information of the channel's output groups. Quantity: [1, 10]
	OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil,omitempty" name:"OutputGroups"`

	// Audio transcoding templates. Quantity: [1, 20]
	AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil,omitempty" name:"AudioTemplates"`

	// Video transcoding templates. Quantity: [1, 10]
	VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil,omitempty" name:"VideoTemplates"`

	// Audio/Video transcoding templates. Quantity: [1, 10]
	AVTemplates []*AVTemplate `json:"AVTemplates,omitnil,omitempty" name:"AVTemplates"`

	// Subtitle template configuration, only AVTemplates are valid.
	CaptionTemplates []*SubtitleConf `json:"CaptionTemplates,omitnil,omitempty" name:"CaptionTemplates"`

	// Event settings
	PlanSettings *PlanSettings `json:"PlanSettings,omitnil,omitempty" name:"PlanSettings"`

	// The callback settings.
	EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil,omitempty" name:"EventNotifySettings"`

	// Complement the last video frame settings.
	InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil,omitempty" name:"InputLossBehavior"`

	// Pipeline configuration.
	PipelineInputSettings *PipelineInputSettingsInfo `json:"PipelineInputSettings,omitnil,omitempty" name:"PipelineInputSettings"`

	// Recognition configuration for input content.
	InputAnalysisSettings *InputAnalysisInfo `json:"InputAnalysisSettings,omitnil,omitempty" name:"InputAnalysisSettings"`

	// Console tag list.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Frame capture templates.
	FrameCaptureTemplates []*FrameCaptureTemplate `json:"FrameCaptureTemplates,omitnil,omitempty" name:"FrameCaptureTemplates"`
}

Predefined struct for user

type ModifyStreamLiveChannelResponse

type ModifyStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLiveChannelResponseParams `json:"Response"`
}

func NewModifyStreamLiveChannelResponse

func NewModifyStreamLiveChannelResponse() (response *ModifyStreamLiveChannelResponse)

func (*ModifyStreamLiveChannelResponse) FromJsonString

func (r *ModifyStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveChannelResponse) ToJsonString

func (r *ModifyStreamLiveChannelResponse) ToJsonString() string

type ModifyStreamLiveChannelResponseParams

type ModifyStreamLiveChannelResponseParams struct {
	// Tag prompt information, this information will be attached when the tag operation fails.
	TagMsg *string `json:"TagMsg,omitnil,omitempty" name:"TagMsg"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStreamLiveInputRequest

type ModifyStreamLiveInputRequest struct {
	*tchttp.BaseRequest

	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// List of the IDs of the security groups to attach
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Input settings.
	// For the type:
	// `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`,`RTSP_PULL`,`SRT_PULL` or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured.
	// For the type:
	// `SRT_PUSH`, 0 or 2 inputs of the corresponding type can be configured.
	// This parameter can be left empty for RTP_PUSH and UDP_PUSH inputs.
	//
	// Note: If this parameter is not specified or empty, the original input settings will be used.
	InputSettings []*InputSettingInfo `json:"InputSettings,omitnil,omitempty" name:"InputSettings"`
}

func NewModifyStreamLiveInputRequest

func NewModifyStreamLiveInputRequest() (request *ModifyStreamLiveInputRequest)

func (*ModifyStreamLiveInputRequest) FromJsonString

func (r *ModifyStreamLiveInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveInputRequest) ToJsonString

func (r *ModifyStreamLiveInputRequest) ToJsonString() string

type ModifyStreamLiveInputRequestParams

type ModifyStreamLiveInputRequestParams struct {
	// Input ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// List of the IDs of the security groups to attach
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Input settings.
	// For the type:
	// `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`,`RTSP_PULL`,`SRT_PULL` or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured.
	// For the type:
	// `SRT_PUSH`, 0 or 2 inputs of the corresponding type can be configured.
	// This parameter can be left empty for RTP_PUSH and UDP_PUSH inputs.
	//
	// Note: If this parameter is not specified or empty, the original input settings will be used.
	InputSettings []*InputSettingInfo `json:"InputSettings,omitnil,omitempty" name:"InputSettings"`
}

Predefined struct for user

type ModifyStreamLiveInputResponse

type ModifyStreamLiveInputResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLiveInputResponseParams `json:"Response"`
}

func NewModifyStreamLiveInputResponse

func NewModifyStreamLiveInputResponse() (response *ModifyStreamLiveInputResponse)

func (*ModifyStreamLiveInputResponse) FromJsonString

func (r *ModifyStreamLiveInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveInputResponse) ToJsonString

func (r *ModifyStreamLiveInputResponse) ToJsonString() string

type ModifyStreamLiveInputResponseParams

type ModifyStreamLiveInputResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStreamLiveInputSecurityGroupRequest

type ModifyStreamLiveInputSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input security group name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Allowlist entries (max: 10)
	Whitelist []*string `json:"Whitelist,omitnil,omitempty" name:"Whitelist"`
}

func NewModifyStreamLiveInputSecurityGroupRequest

func NewModifyStreamLiveInputSecurityGroupRequest() (request *ModifyStreamLiveInputSecurityGroupRequest)

func (*ModifyStreamLiveInputSecurityGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveInputSecurityGroupRequest) ToJsonString

type ModifyStreamLiveInputSecurityGroupRequestParams

type ModifyStreamLiveInputSecurityGroupRequestParams struct {
	// Input security group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Input security group name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Allowlist entries (max: 10)
	Whitelist []*string `json:"Whitelist,omitnil,omitempty" name:"Whitelist"`
}

Predefined struct for user

type ModifyStreamLiveInputSecurityGroupResponse

type ModifyStreamLiveInputSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLiveInputSecurityGroupResponseParams `json:"Response"`
}

func NewModifyStreamLiveInputSecurityGroupResponse

func NewModifyStreamLiveInputSecurityGroupResponse() (response *ModifyStreamLiveInputSecurityGroupResponse)

func (*ModifyStreamLiveInputSecurityGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveInputSecurityGroupResponse) ToJsonString

type ModifyStreamLiveInputSecurityGroupResponseParams

type ModifyStreamLiveInputSecurityGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStreamLiveWatermarkRequest

type ModifyStreamLiveWatermarkRequest struct {
	*tchttp.BaseRequest

	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Watermark name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`.
	ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil,omitempty" name:"ImageSettings"`

	// Watermark text settings. This parameter is valid if `Type` is `TEXT`.
	TextSettings *CreateTextSettings `json:"TextSettings,omitnil,omitempty" name:"TextSettings"`
}

func NewModifyStreamLiveWatermarkRequest

func NewModifyStreamLiveWatermarkRequest() (request *ModifyStreamLiveWatermarkRequest)

func (*ModifyStreamLiveWatermarkRequest) FromJsonString

func (r *ModifyStreamLiveWatermarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveWatermarkRequest) ToJsonString

func (r *ModifyStreamLiveWatermarkRequest) ToJsonString() string

type ModifyStreamLiveWatermarkRequestParams

type ModifyStreamLiveWatermarkRequestParams struct {
	// Watermark ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Watermark name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`.
	ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil,omitempty" name:"ImageSettings"`

	// Watermark text settings. This parameter is valid if `Type` is `TEXT`.
	TextSettings *CreateTextSettings `json:"TextSettings,omitnil,omitempty" name:"TextSettings"`
}

Predefined struct for user

type ModifyStreamLiveWatermarkResponse

type ModifyStreamLiveWatermarkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLiveWatermarkResponseParams `json:"Response"`
}

func NewModifyStreamLiveWatermarkResponse

func NewModifyStreamLiveWatermarkResponse() (response *ModifyStreamLiveWatermarkResponse)

func (*ModifyStreamLiveWatermarkResponse) FromJsonString

func (r *ModifyStreamLiveWatermarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLiveWatermarkResponse) ToJsonString

func (r *ModifyStreamLiveWatermarkResponse) ToJsonString() string

type ModifyStreamLiveWatermarkResponseParams

type ModifyStreamLiveWatermarkResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OutputInfo

type OutputInfo struct {
	// Output name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Audio transcoding template name array.
	// Quantity limit: [0,1] for RTMP; [0,20] for others.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioTemplateNames []*string `json:"AudioTemplateNames,omitnil,omitempty" name:"AudioTemplateNames"`

	// Video transcoding template name array. Quantity limit: [0,1].
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoTemplateNames []*string `json:"VideoTemplateNames,omitnil,omitempty" name:"VideoTemplateNames"`

	// SCTE-35 information configuration.
	Scte35Settings *Scte35SettingsInfo `json:"Scte35Settings,omitnil,omitempty" name:"Scte35Settings"`

	// Audio/Video transcoding template name. If `HlsRemuxSettings.Scheme` is `MERGE`, there is 1 audio/video transcoding template. Otherwise, this parameter is empty.
	// Note: this field may return `null`, indicating that no valid value was found.
	AVTemplateNames []*string `json:"AVTemplateNames,omitnil,omitempty" name:"AVTemplateNames"`

	// For the subtitle template used, only the AVTemplateNames is valid.
	CaptionTemplateNames []*string `json:"CaptionTemplateNames,omitnil,omitempty" name:"CaptionTemplateNames"`

	// Meta information controls configuration.
	TimedMetadataSettings *TimedMetadataSettingInfo `json:"TimedMetadataSettings,omitnil,omitempty" name:"TimedMetadataSettings"`

	// Frame capture template name array. Quantity limit: [0,1].
	FrameCaptureTemplateNames []*string `json:"FrameCaptureTemplateNames,omitnil,omitempty" name:"FrameCaptureTemplateNames"`
}

type OutputsStatistics

type OutputsStatistics struct {
	// Output information of pipeline 0.
	Pipeline0 []*PipelineOutputStatistics `json:"Pipeline0,omitnil,omitempty" name:"Pipeline0"`

	// Output information of pipeline 1.
	Pipeline1 []*PipelineOutputStatistics `json:"Pipeline1,omitnil,omitempty" name:"Pipeline1"`
}

type PipelineInputSettingsInfo

type PipelineInputSettingsInfo struct {
	// Pipeline failover configuration, the valid value is: 1.PIPELINE_FAILOVER (channels are mutually failover); 2.PIPELINE_FILLING (channels fill in themselves). Default value: PIPELINE_FILLING. The specific content is specified by FaultBehavior.
	FaultBehavior *string `json:"FaultBehavior,omitnil,omitempty" name:"FaultBehavior"`
}

type PipelineInputStatistics

type PipelineInputStatistics struct {
	// Data timestamp in seconds.
	Timestamp *uint64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Input bandwidth in bps.
	NetworkIn *uint64 `json:"NetworkIn,omitnil,omitempty" name:"NetworkIn"`

	// Video information array.
	// For `rtp/udp` input, the quantity is the number of `Pid` of the input video.
	// For other inputs, the quantity is 1.
	Video []*VideoPipelineInputStatistics `json:"Video,omitnil,omitempty" name:"Video"`

	// Audio information array.
	// For `rtp/udp` input, the quantity is the number of `Pid` of the input audio.
	// For other inputs, the quantity is 1.
	Audio []*AudioPipelineInputStatistics `json:"Audio,omitnil,omitempty" name:"Audio"`
}

type PipelineLogInfo

type PipelineLogInfo struct {
	// Log information of pipeline 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pipeline0 []*LogInfo `json:"Pipeline0,omitnil,omitempty" name:"Pipeline0"`

	// Log information of pipeline 1.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pipeline1 []*LogInfo `json:"Pipeline1,omitnil,omitempty" name:"Pipeline1"`
}

type PipelineOutputStatistics

type PipelineOutputStatistics struct {
	// Timestamp.
	// In seconds, indicating data time.
	Timestamp *uint64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Output bandwidth in bps.
	NetworkOut *uint64 `json:"NetworkOut,omitnil,omitempty" name:"NetworkOut"`
}

type PlanReq

type PlanReq struct {
	// Event name
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`

	// Event trigger time settings
	TimingSettings *TimingSettingsReq `json:"TimingSettings,omitnil,omitempty" name:"TimingSettings"`

	// Event configuration
	EventSettings *EventSettingsReq `json:"EventSettings,omitnil,omitempty" name:"EventSettings"`
}

type PlanResp

type PlanResp struct {
	// Event name
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`

	// Event trigger time settings
	TimingSettings *TimingSettingsResp `json:"TimingSettings,omitnil,omitempty" name:"TimingSettings"`

	// Event configuration
	EventSettings *EventSettingsResp `json:"EventSettings,omitnil,omitempty" name:"EventSettings"`
}

type PlanSettings

type PlanSettings struct {
	// Timed recording settings
	// Note: This field may return `null`, indicating that no valid value was found.
	TimedRecordSettings *TimedRecordSettings `json:"TimedRecordSettings,omitnil,omitempty" name:"TimedRecordSettings"`
}

type PushEventSetting

type PushEventSetting struct {
	// The callback URL (required).
	NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"`

	// The callback key (optional).
	NotifyKey *string `json:"NotifyKey,omitnil,omitempty" name:"NotifyKey"`
}

type QueryDispatchInputInfo

type QueryDispatchInputInfo struct {
	// The input ID.
	InputID *string `json:"InputID,omitnil,omitempty" name:"InputID"`

	// The input name.
	InputName *string `json:"InputName,omitnil,omitempty" name:"InputName"`

	// The input protocol.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The stream status of the input.
	InputStreamInfoList []*InputStreamInfo `json:"InputStreamInfoList,omitnil,omitempty" name:"InputStreamInfoList"`
}

type QueryInputStreamStateRequest

type QueryInputStreamStateRequest struct {
	*tchttp.BaseRequest

	// The StreamLive input ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewQueryInputStreamStateRequest

func NewQueryInputStreamStateRequest() (request *QueryInputStreamStateRequest)

func (*QueryInputStreamStateRequest) FromJsonString

func (r *QueryInputStreamStateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*QueryInputStreamStateRequest) ToJsonString

func (r *QueryInputStreamStateRequest) ToJsonString() string

type QueryInputStreamStateRequestParams

type QueryInputStreamStateRequestParams struct {
	// The StreamLive input ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type QueryInputStreamStateResponse

type QueryInputStreamStateResponse struct {
	*tchttp.BaseResponse
	Response *QueryInputStreamStateResponseParams `json:"Response"`
}

func NewQueryInputStreamStateResponse

func NewQueryInputStreamStateResponse() (response *QueryInputStreamStateResponse)

func (*QueryInputStreamStateResponse) FromJsonString

func (r *QueryInputStreamStateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*QueryInputStreamStateResponse) ToJsonString

func (r *QueryInputStreamStateResponse) ToJsonString() string

type QueryInputStreamStateResponseParams

type QueryInputStreamStateResponseParams struct {
	// The information of the StreamLive input queried.
	Info *QueryDispatchInputInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type SDMCSettingsInfo

type SDMCSettingsInfo struct {
	// User ID in the SDMC DRM system
	Uid *string `json:"Uid,omitnil,omitempty" name:"Uid"`

	// Tracks of the SDMC DRM system. This parameter is valid for DASH output groups.
	// `1`: audio
	// `2`: SD
	// `4`: HD
	// `8`: UHD1
	// `16`: UHD2
	//
	// Default value: `31` (audio + SD + HD + UHD1 + UHD2)
	Tracks *int64 `json:"Tracks,omitnil,omitempty" name:"Tracks"`

	// Key ID in the SDMC DRM system; required
	SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"`

	// Key in the SDMC DRM system; required
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Key request URL of the SDMC DRM system, which is `https://uat.multidrm.tv/cpix/2.2/getcontentkey` by default
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Token name in an SDMC key request URL, which is `token` by default
	TokenName *string `json:"TokenName,omitnil,omitempty" name:"TokenName"`
}

type Scte35SettingsInfo

type Scte35SettingsInfo struct {
	// Whether to pass through SCTE-35 information. Valid values: NO_PASSTHROUGH/PASSTHROUGH. Default value: NO_PASSTHROUGH.
	Behavior *string `json:"Behavior,omitnil,omitempty" name:"Behavior"`
}

type SegmentationDescriptorInfo

type SegmentationDescriptorInfo struct {
	// A 32-bit unique segmentation event identifier. Only one occurrence of a given segmentation_event_id value shall be active at any one time.
	EventID *uint64 `json:"EventID,omitnil,omitempty" name:"EventID"`

	// Indicates that a previously sent segmentation event, identified by segmentation_event_id, has been cancelled.
	EventCancelIndicator *uint64 `json:"EventCancelIndicator,omitnil,omitempty" name:"EventCancelIndicator"`

	// Distribution configuration.
	DeliveryRestrictions *DeliveryRestrictionsInfo `json:"DeliveryRestrictions,omitnil,omitempty" name:"DeliveryRestrictions"`

	// The duration of the segment in 90kHz ticks. indicat when the segment will be over and when the next segmentation message will occur.Shall be 0 for end messages.the time signal will continue until insert a cancellation message when not specify the duration.
	Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Corresponds to SCTE-35 segmentation_upid_type parameter.
	UPIDType *uint64 `json:"UPIDType,omitnil,omitempty" name:"UPIDType"`

	// Corresponds to SCTE-35 segmentation_upid.
	UPID *string `json:"UPID,omitnil,omitempty" name:"UPID"`

	// Corresponds to SCTE-35 segmentation_type_id.
	TypeID *uint64 `json:"TypeID,omitnil,omitempty" name:"TypeID"`

	// Corresponds to SCTE-35 segment_num。This field provides support for numbering segments within a given collection of segments.
	Num *uint64 `json:"Num,omitnil,omitempty" name:"Num"`

	// Corresponds to SCTE-35 segment_expected.This field provides a count of the expected number of individual segments within a collection of segments.
	Expected *uint64 `json:"Expected,omitnil,omitempty" name:"Expected"`

	// Corresponds to SCTE-35 sub_segment_num.This field provides identification for a specific sub-segment within a collection of sub-segments.
	SubSegmentNum *uint64 `json:"SubSegmentNum,omitnil,omitempty" name:"SubSegmentNum"`

	// Corresponds to SCTE-35 sub_segments_expected.This field provides a count of the expected number of individual sub-segments within the collection of sub-segments.
	SubSegmentsExpected *uint64 `json:"SubSegmentsExpected,omitnil,omitempty" name:"SubSegmentsExpected"`
}

type SegmentationDescriptorRespInfo

type SegmentationDescriptorRespInfo struct {
	// A 32-bit unique segmentation event identifier. Only one occurrence of a given segmentation_event_id value shall be active at any one time.
	EventID *uint64 `json:"EventID,omitnil,omitempty" name:"EventID"`

	// Indicates that a previously sent segmentation event, identified by segmentation_event_id, has been cancelled.
	EventCancelIndicator *uint64 `json:"EventCancelIndicator,omitnil,omitempty" name:"EventCancelIndicator"`

	// Distribution configuration.
	DeliveryRestrictions *DeliveryRestrictionsInfo `json:"DeliveryRestrictions,omitnil,omitempty" name:"DeliveryRestrictions"`

	// The duration of the segment in 90kHz ticks. indicat when the segment will be over and when the next segmentation message will occur.Shall be 0 for end messages.the time signal will continue until insert a cancellation message when not specify the duration.
	Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Corresponds to SCTE-35 segmentation_upid_type parameter.
	UPIDType *uint64 `json:"UPIDType,omitnil,omitempty" name:"UPIDType"`

	// Corresponds to SCTE-35 segmentation_upid.
	UPID *string `json:"UPID,omitnil,omitempty" name:"UPID"`

	// Corresponds to SCTE-35 segmentation_type_id.
	TypeID *uint64 `json:"TypeID,omitnil,omitempty" name:"TypeID"`

	// Corresponds to SCTE-35 segment_num。This field provides support for numbering segments within a given collection of segments.
	Num *uint64 `json:"Num,omitnil,omitempty" name:"Num"`

	// Corresponds to SCTE-35 segment_expected.This field provides a count of the expected number of individual segments within a collection of segments.
	Expected *uint64 `json:"Expected,omitnil,omitempty" name:"Expected"`

	// Corresponds to SCTE-35 sub_segment_num.This field provides identification for a specific sub-segment within a collection of sub-segments.
	SubSegmentNum *uint64 `json:"SubSegmentNum,omitnil,omitempty" name:"SubSegmentNum"`

	// Corresponds to SCTE-35 sub_segments_expected.This field provides a count of the expected number of individual sub-segments within the collection of sub-segments.
	SubSegmentsExpected *uint64 `json:"SubSegmentsExpected,omitnil,omitempty" name:"SubSegmentsExpected"`
}

type StartStreamLiveChannelRequest

type StartStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewStartStreamLiveChannelRequest

func NewStartStreamLiveChannelRequest() (request *StartStreamLiveChannelRequest)

func (*StartStreamLiveChannelRequest) FromJsonString

func (r *StartStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLiveChannelRequest) ToJsonString

func (r *StartStreamLiveChannelRequest) ToJsonString() string

type StartStreamLiveChannelRequestParams

type StartStreamLiveChannelRequestParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type StartStreamLiveChannelResponse

type StartStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *StartStreamLiveChannelResponseParams `json:"Response"`
}

func NewStartStreamLiveChannelResponse

func NewStartStreamLiveChannelResponse() (response *StartStreamLiveChannelResponse)

func (*StartStreamLiveChannelResponse) FromJsonString

func (r *StartStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLiveChannelResponse) ToJsonString

func (r *StartStreamLiveChannelResponse) ToJsonString() string

type StartStreamLiveChannelResponseParams

type StartStreamLiveChannelResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopStreamLiveChannelRequest

type StopStreamLiveChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewStopStreamLiveChannelRequest

func NewStopStreamLiveChannelRequest() (request *StopStreamLiveChannelRequest)

func (*StopStreamLiveChannelRequest) FromJsonString

func (r *StopStreamLiveChannelRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLiveChannelRequest) ToJsonString

func (r *StopStreamLiveChannelRequest) ToJsonString() string

type StopStreamLiveChannelRequestParams

type StopStreamLiveChannelRequestParams struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type StopStreamLiveChannelResponse

type StopStreamLiveChannelResponse struct {
	*tchttp.BaseResponse
	Response *StopStreamLiveChannelResponseParams `json:"Response"`
}

func NewStopStreamLiveChannelResponse

func NewStopStreamLiveChannelResponse() (response *StopStreamLiveChannelResponse)

func (*StopStreamLiveChannelResponse) FromJsonString

func (r *StopStreamLiveChannelResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLiveChannelResponse) ToJsonString

func (r *StopStreamLiveChannelResponse) ToJsonString() string

type StopStreamLiveChannelResponseParams

type StopStreamLiveChannelResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StreamAudioInfo

type StreamAudioInfo struct {
	// Audio `Pid`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Audio codec.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"`

	// Audio frame rate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Audio bitrate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// Audio sample rate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
}

type StreamInfo

type StreamInfo struct {
	// Client IP.
	ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"`

	// Video information of pushed streams.
	Video []*StreamVideoInfo `json:"Video,omitnil,omitempty" name:"Video"`

	// Audio information of pushed streams.
	Audio []*StreamAudioInfo `json:"Audio,omitnil,omitempty" name:"Audio"`

	// SCTE-35 information of pushed streams.
	Scte35 []*StreamScte35Info `json:"Scte35,omitnil,omitempty" name:"Scte35"`
}

type StreamLiveChannelInfo

type StreamLiveChannelInfo struct {
	// Channel ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Channel status
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Information of attached inputs
	AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil,omitempty" name:"AttachedInputs"`

	// Information of output groups
	OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil,omitempty" name:"OutputGroups"`

	// Channel name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Audio transcoding templates
	// Note: this field may return `null`, indicating that no valid value was found.
	AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil,omitempty" name:"AudioTemplates"`

	// Video transcoding templates
	// Note: this field may return `null`, indicating that no valid value was found.
	VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil,omitempty" name:"VideoTemplates"`

	// Audio/Video transcoding templates
	// Note: this field may return `null`, indicating that no valid value was found.
	AVTemplates []*AVTemplate `json:"AVTemplates,omitnil,omitempty" name:"AVTemplates"`

	CaptionTemplates []*SubtitleConf `json:"CaptionTemplates,omitnil,omitempty" name:"CaptionTemplates"`

	// Event settings
	// Note: This field may return `null`, indicating that no valid value was found.
	PlanSettings *PlanSettings `json:"PlanSettings,omitnil,omitempty" name:"PlanSettings"`

	// The callback settings.
	// Note: This field may return `null`, indicating that no valid value was found.
	EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil,omitempty" name:"EventNotifySettings"`

	// Supplement the last video frame configuration settings.
	InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil,omitempty" name:"InputLossBehavior"`

	// Pipeline configuration.
	PipelineInputSettings *PipelineInputSettingsInfo `json:"PipelineInputSettings,omitnil,omitempty" name:"PipelineInputSettings"`

	// Recognition configuration for input content.
	InputAnalysisSettings *InputAnalysisInfo `json:"InputAnalysisSettings,omitnil,omitempty" name:"InputAnalysisSettings"`

	// Console tag list.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Frame capture templates.
	FrameCaptureTemplates []*FrameCaptureTemplate `json:"FrameCaptureTemplates,omitnil,omitempty" name:"FrameCaptureTemplates"`
}

type StreamLiveOutputGroupsInfo

type StreamLiveOutputGroupsInfo struct {
	// Output group name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the channel level
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Output protocol
	// Valid values: `HLS`, `DASH`, `HLS_ARCHIVE`, `DASH_ARCHIVE`,`HLS_STREAM_PACKAGE`, `DASH_STREAM_PACKAGE`, `FRAME_CAPTURE`,`RTP`,`RTMP`.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Output information
	// If the type is RTMP or RTP, only one output is allowed; if it is HLS or DASH, 1-10 outputs are allowed.
	Outputs []*OutputInfo `json:"Outputs,omitnil,omitempty" name:"Outputs"`

	// Relay destinations. Quantity: [1, 2]
	Destinations []*DestinationInfo `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// HLS protocol configuration information, which takes effect only for HLS/HLS_ARCHIVE/HLS_STREAM_PACKAGE outputs.
	// Note: this field may return `null`, indicating that no valid value was found.
	HlsRemuxSettings *HlsRemuxSettingsInfo `json:"HlsRemuxSettings,omitnil,omitempty" name:"HlsRemuxSettings"`

	// DRM configuration information
	// Note: this field may return `null`, indicating that no valid value was found.
	DrmSettings *DrmSettingsInfo `json:"DrmSettings,omitnil,omitempty" name:"DrmSettings"`

	// DASH protocol configuration information, which takes effect only for DASH/DASH_ARCHIVE outputs
	// Note: this field may return `null`, indicating that no valid value was found.
	DashRemuxSettings *DashRemuxSettingsInfo `json:"DashRemuxSettings,omitnil,omitempty" name:"DashRemuxSettings"`

	// StreamPackage configuration information, which is required if the output type is StreamPackage
	// Note: this field may return `null`, indicating that no valid value was found.
	StreamPackageSettings *StreamPackageSettingsInfo `json:"StreamPackageSettings,omitnil,omitempty" name:"StreamPackageSettings"`

	// Time-shift configuration information
	// Note: This field may return `null`, indicating that no valid value was found.
	TimeShiftSettings *TimeShiftSettingsInfo `json:"TimeShiftSettings,omitnil,omitempty" name:"TimeShiftSettings"`
}

type StreamLiveRegionInfo

type StreamLiveRegionInfo struct {
	// List of StreamLive regions
	Regions []*RegionInfo `json:"Regions,omitnil,omitempty" name:"Regions"`
}

type StreamPackageSettingsInfo

type StreamPackageSettingsInfo struct {
	// Channel ID in StreamPackage
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

type StreamScte35Info

type StreamScte35Info struct {
	// SCTE-35 `Pid`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type StreamVideoInfo

type StreamVideoInfo struct {
	// Video `Pid`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Video codec.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"`

	// Video frame rate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Video bitrate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// Video width.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Video height.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitnil,omitempty" name:"Height"`
}

type SubtitleConf

type SubtitleConf struct {
	// Template name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Name of caption selector. Required when CaptionSource selects `INPUT`.
	CaptionSelectorName *string `json:"CaptionSelectorName,omitnil,omitempty" name:"CaptionSelectorName"`

	// Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles).
	CaptionSource *string `json:"CaptionSource,omitnil,omitempty" name:"CaptionSource"`

	// Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language). Required when CaptionSource selects `ANALYSIS `.
	ContentType *uint64 `json:"ContentType,omitnil,omitempty" name:"ContentType"`

	// Output mode: 1 Burn in, 2 Embedded. Support `2` when CaptionSource selects `INPUT`. Support `1` when CaptionSource selects `ANALYSIS `.
	TargetType *uint64 `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Original phonetic language.
	// Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.
	SourceLanguage *string `json:"SourceLanguage,omitnil,omitempty" name:"SourceLanguage"`

	// Target language.
	// Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.
	TargetLanguage *string `json:"TargetLanguage,omitnil,omitempty" name:"TargetLanguage"`

	// Font style configuration. Required when CaptionSource selects `ANALYSIS `.
	FontStyle *SubtitleFontConf `json:"FontStyle,omitnil,omitempty" name:"FontStyle"`

	// There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY. Required when CaptionSource selects `ANALYSIS `.
	StateEffectMode *string `json:"StateEffectMode,omitnil,omitempty" name:"StateEffectMode"`

	// Steady-state delay time, unit seconds; optional values: 10, 20, default 10. Required when CaptionSource selects `ANALYSIS `.
	SteadyStateDelayedTime *uint64 `json:"SteadyStateDelayedTime,omitnil,omitempty" name:"SteadyStateDelayedTime"`
}

type SubtitleFontConf

type SubtitleFontConf struct {
	// Line spacing.
	LineSpacing *uint64 `json:"LineSpacing,omitnil,omitempty" name:"LineSpacing"`

	// Margins.
	Margins *uint64 `json:"Margins,omitnil,omitempty" name:"Margins"`

	// Rows.
	Lines *uint64 `json:"Lines,omitnil,omitempty" name:"Lines"`

	// Number of characters per line.
	CharactersPerLine *uint64 `json:"CharactersPerLine,omitnil,omitempty" name:"CharactersPerLine"`

	// Original font Helvetica: simhei.ttf Song Dynasty: simsun.ttc Dynacw Diamond Black: hkjgh.ttf Helvetica font: helvetica.ttf; Need to be set in Source or Source+Target mode
	SourceTextFont *string `json:"SourceTextFont,omitnil,omitempty" name:"SourceTextFont"`

	// Font color is represented by 6 RGB hexadecimal characters.
	TextColor *string `json:"TextColor,omitnil,omitempty" name:"TextColor"`

	// The background color is represented by 6 RGB hexadecimal characters.
	BackgroundColor *string `json:"BackgroundColor,omitnil,omitempty" name:"BackgroundColor"`

	// Background transparency, a number from 0-100.
	BackgroundAlpha *uint64 `json:"BackgroundAlpha,omitnil,omitempty" name:"BackgroundAlpha"`

	// Preview copy.
	PreviewContent *string `json:"PreviewContent,omitnil,omitempty" name:"PreviewContent"`

	// Preview window height.
	PreviewWindowHeight *uint64 `json:"PreviewWindowHeight,omitnil,omitempty" name:"PreviewWindowHeight"`

	// Preview window width.
	PreviewWindowWidth *uint64 `json:"PreviewWindowWidth,omitnil,omitempty" name:"PreviewWindowWidth"`

	// Translation language font, the enumeration value is the same as Font, the fonts supported by the language need to be distinguished; TextColor needs to be set in Target or Source+Target mode
	TranslatedTextFont *string `json:"TranslatedTextFont,omitnil,omitempty" name:"TranslatedTextFont"`
}

type Tag

type Tag struct {
	// Tag key, for restrictions please refer to the tag documentation: https://www.tencentcloud.com/document/product/651/13354.
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value, for restrictions please refer to the tag documentation: https://www.tencentcloud.com/document/product/651/13354.
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`

	// Tag type, optional; for documentation please refer to: https://www.tencentcloud.com/document/product/651/33023#tag.
	Category *string `json:"Category,omitnil,omitempty" name:"Category"`
}

type TimeShiftSettingsInfo

type TimeShiftSettingsInfo struct {
	// Whether to enable time shifting. Valid values: `OPEN`; `CLOSE`
	// Note: This field may return `null`, indicating that no valid value was found.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Domain name bound for time shifting
	// Note: This field may return `null`, indicating that no valid value was found.
	PlayDomain *string `json:"PlayDomain,omitnil,omitempty" name:"PlayDomain"`

	// Allowable time-shift period (s). Value range: [300, 2592000]. Default value: 300Note: This field may return `null`, indicating that no valid value was found.
	StartoverWindow *int64 `json:"StartoverWindow,omitnil,omitempty" name:"StartoverWindow"`
}

type TimedMetadataInfo

type TimedMetadataInfo struct {
	// Base64-encoded id3 metadata information, with a maximum limit of 1024 characters.
	ID3 *string `json:"ID3,omitnil,omitempty" name:"ID3"`
}

type TimedMetadataSettingInfo

type TimedMetadataSettingInfo struct {
	// Whether to transparently transmit ID3 information, optional values: 0:NO_PASSTHROUGH, 1:PASSTHROUGH, default 0.
	Behavior *uint64 `json:"Behavior,omitnil,omitempty" name:"Behavior"`
}

type TimedRecordSettings

type TimedRecordSettings struct {
	// Whether to automatically delete finished recording events. Valid values: `CLOSE`, `OPEN`. If this parameter is left empty, `CLOSE` will be used.
	// If it is set to `OPEN`, a recording event will be deleted 7 days after it is finished.
	// Note: This field may return `null`, indicating that no valid value was found.
	AutoClear *string `json:"AutoClear,omitnil,omitempty" name:"AutoClear"`
}

type TimingSettingsReq

type TimingSettingsReq struct {
	// Event trigger type. Valid values: `FIXED_TIME`, `IMMEDIATE`. This parameter is required if `EventType` is `INPUT_SWITCH`.
	StartType *string `json:"StartType,omitnil,omitempty" name:"StartType"`

	// This parameter is required if `EventType` is `INPUT_SWITCH` and `StartType` is `FIXED_TIME`.
	// It must be in UTC format, e.g., `2020-01-01T12:00:00Z`.
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// This parameter is required if `EventType` is `TIMED_RECORD`.
	// It specifies the recording start time in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the current time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// This parameter is required if `EventType` is `TIMED_RECORD`.
	// It specifies the recording end time in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the recording start time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type TimingSettingsResp

type TimingSettingsResp struct {
	// Event trigger type
	StartType *string `json:"StartType,omitnil,omitempty" name:"StartType"`

	// Not empty if `StartType` is `FIXED_TIME`
	// UTC time, such as `2020-01-01T12:00:00Z`
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// This parameter cannot be empty if `EventType` is `TIMED_RECORD`.
	// It indicates the start time for recording in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the current time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// This parameter cannot be empty if `EventType` is `TIMED_RECORD`.
	// It indicates the end time for recording in UTC format (e.g., `2020-01-01T12:00:00Z`) and must be at least 1 minute later than the start time for recording.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type VideoCodecDetail

type VideoCodecDetail struct {
	// The three image quality levels of h264 include: BASELINE, HIGH, and MAIN. The default option is MAIN.
	Profile *string `json:"Profile,omitnil,omitempty" name:"Profile"`

	// Profile corresponding codec performance, options include: 1, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 2.3, 3, 3.1, 3.2, 4, 4.1, 4.2, 5, 5.1, AUTO. The default option is AUTO.
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// Codecs include entropy coding and lossless coding, and options include: CABAC and CAVLC. The default option is CABAC. .
	EntropyEncoding *string `json:"EntropyEncoding,omitnil,omitempty" name:"EntropyEncoding"`

	// Mode, options include: AUTO, HIGH, HIGHER, LOW, MAX, MEDIUM, OFF. The default option is: AUTO. .
	AdaptiveQuantization *string `json:"AdaptiveQuantization,omitnil,omitempty" name:"AdaptiveQuantization"`

	// Analyze subsequent encoded frames in advance, options include: HIGH, LOW, MEDIUM. The default option is: MEDIUM. .
	LookAheadRateControl *string `json:"LookAheadRateControl,omitnil,omitempty" name:"LookAheadRateControl"`
}

type VideoEnhanceSetting

type VideoEnhanceSetting struct {
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	Strength *float64 `json:"Strength,omitnil,omitempty" name:"Strength"`
}

type VideoPipelineInputStatistics

type VideoPipelineInputStatistics struct {
	// Video FPS.
	Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Video bitrate in bps.
	Rate *uint64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// Video `Pid`, which is available only if the input is `rtp/udp`.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type VideoTemplateInfo

type VideoTemplateInfo struct {
	// Video transcoding template name, which can contain 1-20 letters and digits.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Video codec. Valid values: H264/H265. If this parameter is left empty, the original value will be used.
	Vcodec *string `json:"Vcodec,omitnil,omitempty" name:"Vcodec"`

	// Video bitrate. Value range: [50000,40000000]. The value can only be a multiple of 1,000. If this parameter is left empty, the original value will be used.
	VideoBitrate *uint64 `json:"VideoBitrate,omitnil,omitempty" name:"VideoBitrate"`

	// Video width. Value range: (0,3000]. The value can only be a multiple of 4. If this parameter is left empty, the original value will be used.
	Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Video height. Value range: (0,3000]. The value can only be a multiple of 4. If this parameter is left empty, the original value will be used.
	Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"`

	// Video frame rate. Value range: [1,240]. If this parameter is left empty, the original value will be used.
	Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// Whether to enable top speed codec. Valid value: CLOSE/OPEN. Default value: CLOSE.
	TopSpeed *string `json:"TopSpeed,omitnil,omitempty" name:"TopSpeed"`

	// Top speed codec compression ratio. Value range: [0,50]. The lower the compression ratio, the higher the image quality.
	BitrateCompressionRatio *uint64 `json:"BitrateCompressionRatio,omitnil,omitempty" name:"BitrateCompressionRatio"`

	// Bitrate control mode. Valid values: `CBR`, `ABR` (default), `VBR`.
	RateControlMode *string `json:"RateControlMode,omitnil,omitempty" name:"RateControlMode"`

	// Watermark ID
	// Note: This field may return `null`, indicating that no valid value was found.
	WatermarkId *string `json:"WatermarkId,omitnil,omitempty" name:"WatermarkId"`

	// Whether to enable the face blur function, 1 is on, 0 is off, and the default is 0.
	FaceBlurringEnabled *uint64 `json:"FaceBlurringEnabled,omitnil,omitempty" name:"FaceBlurringEnabled"`

	// This field indicates how to specify the output video frame rate. If FOLLOW_SOURCE is selected, the output video frame rate will be set equal to the input video frame rate of the first input. If SPECIFIED_FRACTION is selected, the output video frame rate is determined by the fraction (frame rate numerator and frame rate denominator). If SPECIFIED_HZ is selected, the frame rate of the output video is determined by the HZ you enter.
	FrameRateType *string `json:"FrameRateType,omitnil,omitempty" name:"FrameRateType"`

	// Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate numerator setting.
	FrameRateNumerator *uint64 `json:"FrameRateNumerator,omitnil,omitempty" name:"FrameRateNumerator"`

	// Valid when the FrameRateType type you select is SPECIFIED_FRACTION, the output frame rate denominator setting.
	FrameRateDenominator *uint64 `json:"FrameRateDenominator,omitnil,omitempty" name:"FrameRateDenominator"`

	// The number of B frames can be selected from 1 to 3.
	BFramesNum *uint64 `json:"BFramesNum,omitnil,omitempty" name:"BFramesNum"`

	// The number of reference frames can be selected from 1 to 16.
	RefFramesNum *uint64 `json:"RefFramesNum,omitnil,omitempty" name:"RefFramesNum"`

	// Additional video bitrate configuration.
	AdditionalRateSettings *AdditionalRateSetting `json:"AdditionalRateSettings,omitnil,omitempty" name:"AdditionalRateSettings"`

	// Video encoding configuration.
	VideoCodecDetails *VideoCodecDetail `json:"VideoCodecDetails,omitnil,omitempty" name:"VideoCodecDetails"`

	VideoEnhanceEnabled *uint64 `json:"VideoEnhanceEnabled,omitnil,omitempty" name:"VideoEnhanceEnabled"`

	VideoEnhanceSettings []*VideoEnhanceSetting `json:"VideoEnhanceSettings,omitnil,omitempty" name:"VideoEnhanceSettings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL