Documentation ¶
Index ¶
- Constants
- type AVTemplate
- type AttachedInput
- type AudioPidSelectionInfo
- type AudioPipelineInputStatistics
- type AudioSelectorInfo
- type AudioTemplateInfo
- type ChannelAlertInfos
- type ChannelInputStatistics
- type ChannelOutputsStatistics
- type ChannelPipelineAlerts
- type Client
- func (c *Client) CreateStreamLiveChannel(request *CreateStreamLiveChannelRequest) (response *CreateStreamLiveChannelResponse, err error)
- func (c *Client) CreateStreamLiveChannelWithContext(ctx context.Context, request *CreateStreamLiveChannelRequest) (response *CreateStreamLiveChannelResponse, err error)
- func (c *Client) CreateStreamLiveInput(request *CreateStreamLiveInputRequest) (response *CreateStreamLiveInputResponse, err error)
- func (c *Client) CreateStreamLiveInputSecurityGroup(request *CreateStreamLiveInputSecurityGroupRequest) (response *CreateStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) CreateStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *CreateStreamLiveInputSecurityGroupRequest) (response *CreateStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) CreateStreamLiveInputWithContext(ctx context.Context, request *CreateStreamLiveInputRequest) (response *CreateStreamLiveInputResponse, err error)
- func (c *Client) CreateStreamLivePlan(request *CreateStreamLivePlanRequest) (response *CreateStreamLivePlanResponse, err error)
- func (c *Client) CreateStreamLivePlanWithContext(ctx context.Context, request *CreateStreamLivePlanRequest) (response *CreateStreamLivePlanResponse, err error)
- func (c *Client) CreateStreamLiveWatermark(request *CreateStreamLiveWatermarkRequest) (response *CreateStreamLiveWatermarkResponse, err error)
- func (c *Client) CreateStreamLiveWatermarkWithContext(ctx context.Context, request *CreateStreamLiveWatermarkRequest) (response *CreateStreamLiveWatermarkResponse, err error)
- func (c *Client) DeleteStreamLiveChannel(request *DeleteStreamLiveChannelRequest) (response *DeleteStreamLiveChannelResponse, err error)
- func (c *Client) DeleteStreamLiveChannelWithContext(ctx context.Context, request *DeleteStreamLiveChannelRequest) (response *DeleteStreamLiveChannelResponse, err error)
- func (c *Client) DeleteStreamLiveInput(request *DeleteStreamLiveInputRequest) (response *DeleteStreamLiveInputResponse, err error)
- func (c *Client) DeleteStreamLiveInputSecurityGroup(request *DeleteStreamLiveInputSecurityGroupRequest) (response *DeleteStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) DeleteStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *DeleteStreamLiveInputSecurityGroupRequest) (response *DeleteStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) DeleteStreamLiveInputWithContext(ctx context.Context, request *DeleteStreamLiveInputRequest) (response *DeleteStreamLiveInputResponse, err error)
- func (c *Client) DeleteStreamLivePlan(request *DeleteStreamLivePlanRequest) (response *DeleteStreamLivePlanResponse, err error)
- func (c *Client) DeleteStreamLivePlanWithContext(ctx context.Context, request *DeleteStreamLivePlanRequest) (response *DeleteStreamLivePlanResponse, err error)
- func (c *Client) DeleteStreamLiveWatermark(request *DeleteStreamLiveWatermarkRequest) (response *DeleteStreamLiveWatermarkResponse, err error)
- func (c *Client) DeleteStreamLiveWatermarkWithContext(ctx context.Context, request *DeleteStreamLiveWatermarkRequest) (response *DeleteStreamLiveWatermarkResponse, err error)
- func (c *Client) DescribeStreamLiveChannel(request *DescribeStreamLiveChannelRequest) (response *DescribeStreamLiveChannelResponse, err error)
- func (c *Client) DescribeStreamLiveChannelAlerts(request *DescribeStreamLiveChannelAlertsRequest) (response *DescribeStreamLiveChannelAlertsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelAlertsWithContext(ctx context.Context, request *DescribeStreamLiveChannelAlertsRequest) (response *DescribeStreamLiveChannelAlertsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelInputStatistics(request *DescribeStreamLiveChannelInputStatisticsRequest) (response *DescribeStreamLiveChannelInputStatisticsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelInputStatisticsWithContext(ctx context.Context, request *DescribeStreamLiveChannelInputStatisticsRequest) (response *DescribeStreamLiveChannelInputStatisticsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelLogs(request *DescribeStreamLiveChannelLogsRequest) (response *DescribeStreamLiveChannelLogsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelLogsWithContext(ctx context.Context, request *DescribeStreamLiveChannelLogsRequest) (response *DescribeStreamLiveChannelLogsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelOutputStatistics(request *DescribeStreamLiveChannelOutputStatisticsRequest) (response *DescribeStreamLiveChannelOutputStatisticsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelOutputStatisticsWithContext(ctx context.Context, request *DescribeStreamLiveChannelOutputStatisticsRequest) (response *DescribeStreamLiveChannelOutputStatisticsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelWithContext(ctx context.Context, request *DescribeStreamLiveChannelRequest) (response *DescribeStreamLiveChannelResponse, err error)
- func (c *Client) DescribeStreamLiveChannels(request *DescribeStreamLiveChannelsRequest) (response *DescribeStreamLiveChannelsResponse, err error)
- func (c *Client) DescribeStreamLiveChannelsWithContext(ctx context.Context, request *DescribeStreamLiveChannelsRequest) (response *DescribeStreamLiveChannelsResponse, err error)
- func (c *Client) DescribeStreamLiveInput(request *DescribeStreamLiveInputRequest) (response *DescribeStreamLiveInputResponse, err error)
- func (c *Client) DescribeStreamLiveInputSecurityGroup(request *DescribeStreamLiveInputSecurityGroupRequest) (response *DescribeStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) DescribeStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *DescribeStreamLiveInputSecurityGroupRequest) (response *DescribeStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) DescribeStreamLiveInputSecurityGroups(request *DescribeStreamLiveInputSecurityGroupsRequest) (response *DescribeStreamLiveInputSecurityGroupsResponse, err error)
- func (c *Client) DescribeStreamLiveInputSecurityGroupsWithContext(ctx context.Context, request *DescribeStreamLiveInputSecurityGroupsRequest) (response *DescribeStreamLiveInputSecurityGroupsResponse, err error)
- func (c *Client) DescribeStreamLiveInputWithContext(ctx context.Context, request *DescribeStreamLiveInputRequest) (response *DescribeStreamLiveInputResponse, err error)
- func (c *Client) DescribeStreamLiveInputs(request *DescribeStreamLiveInputsRequest) (response *DescribeStreamLiveInputsResponse, err error)
- func (c *Client) DescribeStreamLiveInputsWithContext(ctx context.Context, request *DescribeStreamLiveInputsRequest) (response *DescribeStreamLiveInputsResponse, err error)
- func (c *Client) DescribeStreamLivePlans(request *DescribeStreamLivePlansRequest) (response *DescribeStreamLivePlansResponse, err error)
- func (c *Client) DescribeStreamLivePlansWithContext(ctx context.Context, request *DescribeStreamLivePlansRequest) (response *DescribeStreamLivePlansResponse, err error)
- func (c *Client) DescribeStreamLiveRegions(request *DescribeStreamLiveRegionsRequest) (response *DescribeStreamLiveRegionsResponse, err error)
- func (c *Client) DescribeStreamLiveRegionsWithContext(ctx context.Context, request *DescribeStreamLiveRegionsRequest) (response *DescribeStreamLiveRegionsResponse, err error)
- func (c *Client) DescribeStreamLiveTranscodeDetail(request *DescribeStreamLiveTranscodeDetailRequest) (response *DescribeStreamLiveTranscodeDetailResponse, err error)
- func (c *Client) DescribeStreamLiveTranscodeDetailWithContext(ctx context.Context, request *DescribeStreamLiveTranscodeDetailRequest) (response *DescribeStreamLiveTranscodeDetailResponse, err error)
- func (c *Client) DescribeStreamLiveWatermark(request *DescribeStreamLiveWatermarkRequest) (response *DescribeStreamLiveWatermarkResponse, err error)
- func (c *Client) DescribeStreamLiveWatermarkWithContext(ctx context.Context, request *DescribeStreamLiveWatermarkRequest) (response *DescribeStreamLiveWatermarkResponse, err error)
- func (c *Client) DescribeStreamLiveWatermarks(request *DescribeStreamLiveWatermarksRequest) (response *DescribeStreamLiveWatermarksResponse, err error)
- func (c *Client) DescribeStreamLiveWatermarksWithContext(ctx context.Context, request *DescribeStreamLiveWatermarksRequest) (response *DescribeStreamLiveWatermarksResponse, err error)
- func (c *Client) ModifyStreamLiveChannel(request *ModifyStreamLiveChannelRequest) (response *ModifyStreamLiveChannelResponse, err error)
- func (c *Client) ModifyStreamLiveChannelWithContext(ctx context.Context, request *ModifyStreamLiveChannelRequest) (response *ModifyStreamLiveChannelResponse, err error)
- func (c *Client) ModifyStreamLiveInput(request *ModifyStreamLiveInputRequest) (response *ModifyStreamLiveInputResponse, err error)
- func (c *Client) ModifyStreamLiveInputSecurityGroup(request *ModifyStreamLiveInputSecurityGroupRequest) (response *ModifyStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) ModifyStreamLiveInputSecurityGroupWithContext(ctx context.Context, request *ModifyStreamLiveInputSecurityGroupRequest) (response *ModifyStreamLiveInputSecurityGroupResponse, err error)
- func (c *Client) ModifyStreamLiveInputWithContext(ctx context.Context, request *ModifyStreamLiveInputRequest) (response *ModifyStreamLiveInputResponse, err error)
- func (c *Client) ModifyStreamLiveWatermark(request *ModifyStreamLiveWatermarkRequest) (response *ModifyStreamLiveWatermarkResponse, err error)
- func (c *Client) ModifyStreamLiveWatermarkWithContext(ctx context.Context, request *ModifyStreamLiveWatermarkRequest) (response *ModifyStreamLiveWatermarkResponse, err error)
- func (c *Client) QueryInputStreamState(request *QueryInputStreamStateRequest) (response *QueryInputStreamStateResponse, err error)
- func (c *Client) QueryInputStreamStateWithContext(ctx context.Context, request *QueryInputStreamStateRequest) (response *QueryInputStreamStateResponse, err error)
- func (c *Client) StartStreamLiveChannel(request *StartStreamLiveChannelRequest) (response *StartStreamLiveChannelResponse, err error)
- func (c *Client) StartStreamLiveChannelWithContext(ctx context.Context, request *StartStreamLiveChannelRequest) (response *StartStreamLiveChannelResponse, err error)
- func (c *Client) StopStreamLiveChannel(request *StopStreamLiveChannelRequest) (response *StopStreamLiveChannelResponse, err error)
- func (c *Client) StopStreamLiveChannelWithContext(ctx context.Context, request *StopStreamLiveChannelRequest) (response *StopStreamLiveChannelResponse, err error)
- type CreateImageSettings
- type CreateStreamLiveChannelRequest
- type CreateStreamLiveChannelRequestParams
- type CreateStreamLiveChannelResponse
- type CreateStreamLiveChannelResponseParams
- type CreateStreamLiveInputRequest
- type CreateStreamLiveInputRequestParams
- type CreateStreamLiveInputResponse
- type CreateStreamLiveInputResponseParams
- type CreateStreamLiveInputSecurityGroupRequest
- type CreateStreamLiveInputSecurityGroupRequestParams
- type CreateStreamLiveInputSecurityGroupResponse
- type CreateStreamLiveInputSecurityGroupResponseParams
- type CreateStreamLivePlanRequest
- type CreateStreamLivePlanRequestParams
- type CreateStreamLivePlanResponse
- type CreateStreamLivePlanResponseParams
- type CreateStreamLiveWatermarkRequest
- type CreateStreamLiveWatermarkRequestParams
- type CreateStreamLiveWatermarkResponse
- type CreateStreamLiveWatermarkResponseParams
- type CreateTextSettings
- type DashRemuxSettingsInfo
- type DeleteStreamLiveChannelRequest
- type DeleteStreamLiveChannelRequestParams
- type DeleteStreamLiveChannelResponse
- type DeleteStreamLiveChannelResponseParams
- type DeleteStreamLiveInputRequest
- type DeleteStreamLiveInputRequestParams
- type DeleteStreamLiveInputResponse
- type DeleteStreamLiveInputResponseParams
- type DeleteStreamLiveInputSecurityGroupRequest
- type DeleteStreamLiveInputSecurityGroupRequestParams
- type DeleteStreamLiveInputSecurityGroupResponse
- type DeleteStreamLiveInputSecurityGroupResponseParams
- type DeleteStreamLivePlanRequest
- type DeleteStreamLivePlanRequestParams
- type DeleteStreamLivePlanResponse
- type DeleteStreamLivePlanResponseParams
- type DeleteStreamLiveWatermarkRequest
- type DeleteStreamLiveWatermarkRequestParams
- type DeleteStreamLiveWatermarkResponse
- type DeleteStreamLiveWatermarkResponseParams
- type DeliveryRestrictionsInfo
- type DescribeImageSettings
- type DescribeStreamLiveChannelAlertsRequest
- type DescribeStreamLiveChannelAlertsRequestParams
- type DescribeStreamLiveChannelAlertsResponse
- type DescribeStreamLiveChannelAlertsResponseParams
- type DescribeStreamLiveChannelInputStatisticsRequest
- type DescribeStreamLiveChannelInputStatisticsRequestParams
- type DescribeStreamLiveChannelInputStatisticsResponse
- type DescribeStreamLiveChannelInputStatisticsResponseParams
- type DescribeStreamLiveChannelLogsRequest
- type DescribeStreamLiveChannelLogsRequestParams
- type DescribeStreamLiveChannelLogsResponse
- type DescribeStreamLiveChannelLogsResponseParams
- type DescribeStreamLiveChannelOutputStatisticsRequest
- type DescribeStreamLiveChannelOutputStatisticsRequestParams
- type DescribeStreamLiveChannelOutputStatisticsResponse
- type DescribeStreamLiveChannelOutputStatisticsResponseParams
- type DescribeStreamLiveChannelRequest
- type DescribeStreamLiveChannelRequestParams
- type DescribeStreamLiveChannelResponse
- type DescribeStreamLiveChannelResponseParams
- type DescribeStreamLiveChannelsRequest
- type DescribeStreamLiveChannelsRequestParams
- type DescribeStreamLiveChannelsResponse
- type DescribeStreamLiveChannelsResponseParams
- type DescribeStreamLiveInputRequest
- type DescribeStreamLiveInputRequestParams
- type DescribeStreamLiveInputResponse
- type DescribeStreamLiveInputResponseParams
- type DescribeStreamLiveInputSecurityGroupRequest
- type DescribeStreamLiveInputSecurityGroupRequestParams
- type DescribeStreamLiveInputSecurityGroupResponse
- type DescribeStreamLiveInputSecurityGroupResponseParams
- type DescribeStreamLiveInputSecurityGroupsRequest
- type DescribeStreamLiveInputSecurityGroupsRequestParams
- type DescribeStreamLiveInputSecurityGroupsResponse
- type DescribeStreamLiveInputSecurityGroupsResponseParams
- type DescribeStreamLiveInputsRequest
- type DescribeStreamLiveInputsRequestParams
- type DescribeStreamLiveInputsResponse
- type DescribeStreamLiveInputsResponseParams
- type DescribeStreamLivePlansRequest
- type DescribeStreamLivePlansRequestParams
- type DescribeStreamLivePlansResponse
- type DescribeStreamLivePlansResponseParams
- type DescribeStreamLiveRegionsRequest
- type DescribeStreamLiveRegionsRequestParams
- type DescribeStreamLiveRegionsResponse
- type DescribeStreamLiveRegionsResponseParams
- type DescribeStreamLiveTranscodeDetailRequest
- type DescribeStreamLiveTranscodeDetailRequestParams
- type DescribeStreamLiveTranscodeDetailResponse
- type DescribeStreamLiveTranscodeDetailResponseParams
- type DescribeStreamLiveWatermarkRequest
- type DescribeStreamLiveWatermarkRequestParams
- type DescribeStreamLiveWatermarkResponse
- type DescribeStreamLiveWatermarkResponseParams
- type DescribeStreamLiveWatermarksRequest
- type DescribeStreamLiveWatermarksRequestParams
- type DescribeStreamLiveWatermarksResponse
- type DescribeStreamLiveWatermarksResponseParams
- type DescribeTextSettings
- type DescribeTranscodeDetailInfo
- type DescribeWatermarkInfo
- type DestinationInfo
- type DrmKey
- type DrmSettingsInfo
- type EventNotifySetting
- type EventSettingsDestinationReq
- type EventSettingsDestinationResp
- type EventSettingsReq
- type EventSettingsResp
- type FailOverSettings
- type HlsRemuxSettingsInfo
- type InputInfo
- type InputLossBehaviorInfo
- type InputSecurityGroupInfo
- type InputSettingInfo
- type InputStatistics
- type InputStreamInfo
- type LogInfo
- type LogMessageInfo
- type ModifyStreamLiveChannelRequest
- type ModifyStreamLiveChannelRequestParams
- type ModifyStreamLiveChannelResponse
- type ModifyStreamLiveChannelResponseParams
- type ModifyStreamLiveInputRequest
- type ModifyStreamLiveInputRequestParams
- type ModifyStreamLiveInputResponse
- type ModifyStreamLiveInputResponseParams
- type ModifyStreamLiveInputSecurityGroupRequest
- type ModifyStreamLiveInputSecurityGroupRequestParams
- type ModifyStreamLiveInputSecurityGroupResponse
- type ModifyStreamLiveInputSecurityGroupResponseParams
- type ModifyStreamLiveWatermarkRequest
- type ModifyStreamLiveWatermarkRequestParams
- type ModifyStreamLiveWatermarkResponse
- type ModifyStreamLiveWatermarkResponseParams
- type OutputInfo
- type OutputsStatistics
- type PipelineInputStatistics
- type PipelineLogInfo
- type PipelineOutputStatistics
- type PlanReq
- type PlanResp
- type PlanSettings
- type PushEventSetting
- type QueryDispatchInputInfo
- type QueryInputStreamStateRequest
- type QueryInputStreamStateRequestParams
- type QueryInputStreamStateResponse
- type QueryInputStreamStateResponseParams
- type RegionInfo
- type SDMCSettingsInfo
- type Scte35SettingsInfo
- type SegmentationDescriptorInfo
- type SegmentationDescriptorRespInfo
- type StartStreamLiveChannelRequest
- type StartStreamLiveChannelRequestParams
- type StartStreamLiveChannelResponse
- type StartStreamLiveChannelResponseParams
- type StopStreamLiveChannelRequest
- type StopStreamLiveChannelRequestParams
- type StopStreamLiveChannelResponse
- type StopStreamLiveChannelResponseParams
- type StreamAudioInfo
- type StreamInfo
- type StreamLiveChannelInfo
- type StreamLiveOutputGroupsInfo
- type StreamLiveRegionInfo
- type StreamPackageSettingsInfo
- type StreamScte35Info
- type StreamVideoInfo
- type TimeShiftSettingsInfo
- type TimedRecordSettings
- type TimingSettingsReq
- type TimingSettingsResp
- type VideoPipelineInputStatistics
- type VideoTemplateInfo
Constants ¶
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" // 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" )
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" name:"Name"` // Whether video is needed. `0`: not needed; `1`: needed NeedVideo *uint64 `json:"NeedVideo,omitnil" 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" 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" 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" 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" name:"Fps"` // Whether to enable top speed codec transcoding. Valid values: `CLOSE` (disable), `OPEN` (enable). Default value: `CLOSE` TopSpeed *string `json:"TopSpeed,omitnil" 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" name:"BitrateCompressionRatio"` // Whether audio is needed. `0`: not needed; `1`: needed NeedAudio *int64 `json:"NeedAudio,omitnil" name:"NeedAudio"` // Audio codec. Valid value: `AAC` (default) Acodec *string `json:"Acodec,omitnil" 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" 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" name:"VideoBitrate"` // Bitrate control mode. Valid values: `CBR`, `ABR` (default) RateControlMode *string `json:"RateControlMode,omitnil" name:"RateControlMode"` // Watermark ID WatermarkId *string `json:"WatermarkId,omitnil" name:"WatermarkId"` // Whether to convert audio to text. `0` (default): No; `1`: Yes. SmartSubtitles *uint64 `json:"SmartSubtitles,omitnil" 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" name:"SubtitleConfiguration"` }
type AttachedInput ¶
type AttachedInput struct { // Input ID Id *string `json:"Id,omitnil" 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" 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" name:"PullBehavior"` // Input failover configuration // Note: this field may return `null`, indicating that no valid value was found. FailOverSettings *FailOverSettings `json:"FailOverSettings,omitnil" name:"FailOverSettings"` }
type AudioPidSelectionInfo ¶
type AudioPidSelectionInfo struct { // Audio `Pid`. Default value: 0. Pid *uint64 `json:"Pid,omitnil" name:"Pid"` }
type AudioSelectorInfo ¶
type AudioSelectorInfo struct { // Audio name, which can contain 1-32 letters, digits, and underscores. Name *string `json:"Name,omitnil" name:"Name"` // Audio `Pid` selection. AudioPidSelection *AudioPidSelectionInfo `json:"AudioPidSelection,omitnil" name:"AudioPidSelection"` }
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" name:"AudioSelectorName"` // Audio transcoding template name, which can contain 1-20 letters and digits. Name *string `json:"Name,omitnil" name:"Name"` // Audio codec. Valid value: AAC. Default value: AAC. Acodec *string `json:"Acodec,omitnil" 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" name:"AudioBitrate"` // Audio language code, whose length is always 3 characters. LanguageCode *string `json:"LanguageCode,omitnil" name:"LanguageCode"` }
type ChannelAlertInfos ¶
type ChannelAlertInfos struct { // Alarm details of pipeline 0 under this channel. Pipeline0 []*ChannelPipelineAlerts `json:"Pipeline0,omitnil" name:"Pipeline0"` // Alarm details of pipeline 1 under this channel. Pipeline1 []*ChannelPipelineAlerts `json:"Pipeline1,omitnil" name:"Pipeline1"` }
type ChannelInputStatistics ¶
type ChannelInputStatistics struct { // Input ID. InputId *string `json:"InputId,omitnil" name:"InputId"` // Input statistics. Statistics *InputStatistics `json:"Statistics,omitnil" name:"Statistics"` }
type ChannelOutputsStatistics ¶
type ChannelOutputsStatistics struct { // Output group name. OutputGroupName *string `json:"OutputGroupName,omitnil" name:"OutputGroupName"` // Output group statistics. Statistics *OutputsStatistics `json:"Statistics,omitnil" name:"Statistics"` }
type ChannelPipelineAlerts ¶
type ChannelPipelineAlerts struct { // Alarm start time in UTC time. SetTime *string `json:"SetTime,omitnil" name:"SetTime"` // Alarm end time in UTC time. // This time is available only after the alarm ends. ClearTime *string `json:"ClearTime,omitnil" name:"ClearTime"` // Alarm type. Type *string `json:"Type,omitnil" name:"Type"` // Alarm details. Message *string `json:"Message,omitnil" name:"Message"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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_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_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) 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_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_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 CreateImageSettings ¶
type CreateImageSettings struct { // Image file format. Valid values: png, jpg. ImageType *string `json:"ImageType,omitnil" name:"ImageType"` // Base64 encoded image content ImageContent *string `json:"ImageContent,omitnil" name:"ImageContent"` // Origin. Valid values: TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT. Location *string `json:"Location,omitnil" 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" 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" 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" 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" 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" name:"Name"` // Inputs to attach. You can attach 1 to 5 inputs. AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil" name:"AttachedInputs"` // Configuration information of the channel’s output groups. Quantity: [1, 10] OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil" name:"OutputGroups"` // Audio transcoding templates. Quantity: [1, 20] AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil" name:"AudioTemplates"` // Video transcoding templates. Quantity: [1, 10] VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil" name:"VideoTemplates"` // Audio/Video transcoding templates. Quantity: [1, 10] AVTemplates []*AVTemplate `json:"AVTemplates,omitnil" name:"AVTemplates"` // Event settings PlanSettings *PlanSettings `json:"PlanSettings,omitnil" name:"PlanSettings"` // The callback settings. EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil" name:"EventNotifySettings"` // Complement the last video frame settings. InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil" name:"InputLossBehavior"` }
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" name:"Name"` // Inputs to attach. You can attach 1 to 5 inputs. AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil" name:"AttachedInputs"` // Configuration information of the channel’s output groups. Quantity: [1, 10] OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil" name:"OutputGroups"` // Audio transcoding templates. Quantity: [1, 20] AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil" name:"AudioTemplates"` // Video transcoding templates. Quantity: [1, 10] VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil" name:"VideoTemplates"` // Audio/Video transcoding templates. Quantity: [1, 10] AVTemplates []*AVTemplate `json:"AVTemplates,omitnil" name:"AVTemplates"` // Event settings PlanSettings *PlanSettings `json:"PlanSettings,omitnil" name:"PlanSettings"` // The callback settings. EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil" name:"EventNotifySettings"` // Complement the last video frame settings. InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil" name:"InputLossBehavior"` }
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" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Name"` // Input type // Valid values: `RTMP_PUSH`, `RTP_PUSH`, `UDP_PUSH`, `RTMP_PULL`, `HLS_PULL`, `MP4_PULL` Type *string `json:"Type,omitnil" 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" name:"SecurityGroupIds"` // Input settings. For the type `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured. InputSettings []*InputSettingInfo `json:"InputSettings,omitnil" 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" name:"Name"` // Input type // Valid values: `RTMP_PUSH`, `RTP_PUSH`, `UDP_PUSH`, `RTMP_PULL`, `HLS_PULL`, `MP4_PULL` Type *string `json:"Type,omitnil" 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" name:"SecurityGroupIds"` // Input settings. For the type `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL`, 1 or 2 inputs of the corresponding type can be configured. InputSettings []*InputSettingInfo `json:"InputSettings,omitnil" 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" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Name"` // Allowlist entries. Quantity: [1, 10] Whitelist []*string `json:"Whitelist,omitnil" name:"Whitelist"` }
func NewCreateStreamLiveInputSecurityGroupRequest ¶
func NewCreateStreamLiveInputSecurityGroupRequest() (request *CreateStreamLiveInputSecurityGroupRequest)
func (*CreateStreamLiveInputSecurityGroupRequest) FromJsonString ¶
func (r *CreateStreamLiveInputSecurityGroupRequest) 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 (*CreateStreamLiveInputSecurityGroupRequest) ToJsonString ¶
func (r *CreateStreamLiveInputSecurityGroupRequest) ToJsonString() string
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" name:"Name"` // Allowlist entries. Quantity: [1, 10] Whitelist []*string `json:"Whitelist,omitnil" 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 ¶
func (r *CreateStreamLiveInputSecurityGroupResponse) 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 (*CreateStreamLiveInputSecurityGroupResponse) ToJsonString ¶
func (r *CreateStreamLiveInputSecurityGroupResponse) ToJsonString() string
type CreateStreamLiveInputSecurityGroupResponseParams ¶
type CreateStreamLiveInputSecurityGroupResponseParams struct { // Security group ID Id *string `json:"Id,omitnil" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"ChannelId"` // Event configuration Plan *PlanReq `json:"Plan,omitnil" 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" name:"ChannelId"` // Event configuration Plan *PlanReq `json:"Plan,omitnil" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateStreamLiveWatermarkRequest ¶
type CreateStreamLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark name Name *string `json:"Name,omitnil" name:"Name"` // Watermark type. Valid values: STATIC_IMAGE, TEXT. Type *string `json:"Type,omitnil" name:"Type"` // Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`. ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil" name:"ImageSettings"` // Watermark text settings. This parameter is valid if `Type` is `TEXT`. TextSettings *CreateTextSettings `json:"TextSettings,omitnil" 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" name:"Name"` // Watermark type. Valid values: STATIC_IMAGE, TEXT. Type *string `json:"Type,omitnil" name:"Type"` // Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`. ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil" name:"ImageSettings"` // Watermark text settings. This parameter is valid if `Type` is `TEXT`. TextSettings *CreateTextSettings `json:"TextSettings,omitnil" 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" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTextSettings ¶
type CreateTextSettings struct { // Text Text *string `json:"Text,omitnil" name:"Text"` // Origin. Valid values: TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT. Location *string `json:"Location,omitnil" 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" 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" name:"YPos"` // Font size. Value range: 25-50. FontSize *int64 `json:"FontSize,omitnil" name:"FontSize"` // Font color, which is an RGB color value. Default value: 0x000000. FontColor *string `json:"FontColor,omitnil" 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" name:"SegmentDuration"` // Number of segments. Value range: [1,30]. Default value: 5. SegmentNumber *uint64 `json:"SegmentNumber,omitnil" name:"SegmentNumber"` // Whether to enable multi-period. Valid values: CLOSE/OPEN. Default value: CLOSE. PeriodTriggers *string `json:"PeriodTriggers,omitnil" name:"PeriodTriggers"` // The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default). H265PackageType *string `json:"H265PackageType,omitnil" name:"H265PackageType"` }
type DeleteStreamLiveChannelRequest ¶
type DeleteStreamLiveChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil" 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteStreamLiveInputRequest ¶
type DeleteStreamLiveInputRequest struct { *tchttp.BaseRequest // Input ID Id *string `json:"Id,omitnil" 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteStreamLiveInputSecurityGroupRequest ¶
type DeleteStreamLiveInputSecurityGroupRequest struct { *tchttp.BaseRequest // Input security group ID Id *string `json:"Id,omitnil" name:"Id"` }
func NewDeleteStreamLiveInputSecurityGroupRequest ¶
func NewDeleteStreamLiveInputSecurityGroupRequest() (request *DeleteStreamLiveInputSecurityGroupRequest)
func (*DeleteStreamLiveInputSecurityGroupRequest) FromJsonString ¶
func (r *DeleteStreamLiveInputSecurityGroupRequest) 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 (*DeleteStreamLiveInputSecurityGroupRequest) ToJsonString ¶
func (r *DeleteStreamLiveInputSecurityGroupRequest) ToJsonString() string
type DeleteStreamLiveInputSecurityGroupRequestParams ¶
type DeleteStreamLiveInputSecurityGroupRequestParams struct { // Input security group ID Id *string `json:"Id,omitnil" 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 ¶
func (r *DeleteStreamLiveInputSecurityGroupResponse) 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 (*DeleteStreamLiveInputSecurityGroupResponse) ToJsonString ¶
func (r *DeleteStreamLiveInputSecurityGroupResponse) ToJsonString() string
type DeleteStreamLiveInputSecurityGroupResponseParams ¶
type DeleteStreamLiveInputSecurityGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"ChannelId"` // Name of the event to delete EventName *string `json:"EventName,omitnil" 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" name:"ChannelId"` // Name of the event to delete EventName *string `json:"EventName,omitnil" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteStreamLiveWatermarkRequest ¶
type DeleteStreamLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID Id *string `json:"Id,omitnil" 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"WebDeliveryAllowed"` // Corresponds to SCTE-35 no_regional_blackout_flag parameter. NoRegionalBlackout *string `json:"NoRegionalBlackout,omitnil" name:"NoRegionalBlackout"` // Corresponds to SCTE-35 archive_allowed_flag. ArchiveAllowed *string `json:"ArchiveAllowed,omitnil" name:"ArchiveAllowed"` // Corresponds to SCTE-35 device_restrictions parameter. DeviceRestrictions *string `json:"DeviceRestrictions,omitnil" name:"DeviceRestrictions"` }
type DescribeImageSettings ¶
type DescribeImageSettings struct { // Origin Location *string `json:"Location,omitnil" name:"Location"` // The watermark image’s horizontal distance from the origin as a percentage of the video width XPos *int64 `json:"XPos,omitnil" name:"XPos"` // The watermark image’s vertical distance from the origin as a percentage of the video height YPos *int64 `json:"YPos,omitnil" name:"YPos"` // The watermark image’s width as a percentage of the video width Width *int64 `json:"Width,omitnil" name:"Width"` // The watermark image’s height as a percentage of the video height Height *int64 `json:"Height,omitnil" name:"Height"` }
type DescribeStreamLiveChannelAlertsRequest ¶
type DescribeStreamLiveChannelAlertsRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil" name:"ChannelId"` }
func NewDescribeStreamLiveChannelAlertsRequest ¶
func NewDescribeStreamLiveChannelAlertsRequest() (request *DescribeStreamLiveChannelAlertsRequest)
func (*DescribeStreamLiveChannelAlertsRequest) FromJsonString ¶
func (r *DescribeStreamLiveChannelAlertsRequest) 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 (*DescribeStreamLiveChannelAlertsRequest) ToJsonString ¶
func (r *DescribeStreamLiveChannelAlertsRequest) ToJsonString() string
type DescribeStreamLiveChannelAlertsRequestParams ¶
type DescribeStreamLiveChannelAlertsRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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 ¶
func (r *DescribeStreamLiveChannelAlertsResponse) 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 (*DescribeStreamLiveChannelAlertsResponse) ToJsonString ¶
func (r *DescribeStreamLiveChannelAlertsResponse) ToJsonString() string
type DescribeStreamLiveChannelAlertsResponseParams ¶
type DescribeStreamLiveChannelAlertsResponseParams struct { // Alarm information of the channel’s two pipelines Infos *ChannelAlertInfos `json:"Infos,omitnil" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveChannelInputStatisticsRequest ¶
type DescribeStreamLiveChannelInputStatisticsRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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" 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" name:"EndTime"` // Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min` Period *string `json:"Period,omitnil" name:"Period"` }
func NewDescribeStreamLiveChannelInputStatisticsRequest ¶
func NewDescribeStreamLiveChannelInputStatisticsRequest() (request *DescribeStreamLiveChannelInputStatisticsRequest)
func (*DescribeStreamLiveChannelInputStatisticsRequest) FromJsonString ¶
func (r *DescribeStreamLiveChannelInputStatisticsRequest) 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 (*DescribeStreamLiveChannelInputStatisticsRequest) ToJsonString ¶
func (r *DescribeStreamLiveChannelInputStatisticsRequest) ToJsonString() string
type DescribeStreamLiveChannelInputStatisticsRequestParams ¶
type DescribeStreamLiveChannelInputStatisticsRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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" 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" name:"EndTime"` // Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min` Period *string `json:"Period,omitnil" 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 ¶
func (r *DescribeStreamLiveChannelInputStatisticsResponse) 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 (*DescribeStreamLiveChannelInputStatisticsResponse) ToJsonString ¶
func (r *DescribeStreamLiveChannelInputStatisticsResponse) ToJsonString() string
type DescribeStreamLiveChannelInputStatisticsResponseParams ¶
type DescribeStreamLiveChannelInputStatisticsResponseParams struct { // Channel input statistics Infos []*ChannelInputStatistics `json:"Infos,omitnil" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveChannelLogsRequest ¶
type DescribeStreamLiveChannelLogsRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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" 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" 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" 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" 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" 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 ¶
func (r *DescribeStreamLiveChannelLogsResponse) ToJsonString() string
type DescribeStreamLiveChannelLogsResponseParams ¶
type DescribeStreamLiveChannelLogsResponseParams struct { // Pipeline push information Infos *PipelineLogInfo `json:"Infos,omitnil" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveChannelOutputStatisticsRequest ¶
type DescribeStreamLiveChannelOutputStatisticsRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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" 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" name:"EndTime"` // Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min` Period *string `json:"Period,omitnil" name:"Period"` }
func NewDescribeStreamLiveChannelOutputStatisticsRequest ¶
func NewDescribeStreamLiveChannelOutputStatisticsRequest() (request *DescribeStreamLiveChannelOutputStatisticsRequest)
func (*DescribeStreamLiveChannelOutputStatisticsRequest) FromJsonString ¶
func (r *DescribeStreamLiveChannelOutputStatisticsRequest) 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 (*DescribeStreamLiveChannelOutputStatisticsRequest) ToJsonString ¶
func (r *DescribeStreamLiveChannelOutputStatisticsRequest) ToJsonString() string
type DescribeStreamLiveChannelOutputStatisticsRequestParams ¶
type DescribeStreamLiveChannelOutputStatisticsRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitnil" 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" 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" name:"EndTime"` // Data collection interval. Valid values: `5s`, `1min` (default), `5min`, `15min` Period *string `json:"Period,omitnil" 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 ¶
func (r *DescribeStreamLiveChannelOutputStatisticsResponse) 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 (*DescribeStreamLiveChannelOutputStatisticsResponse) ToJsonString ¶
func (r *DescribeStreamLiveChannelOutputStatisticsResponse) ToJsonString() string
type DescribeStreamLiveChannelOutputStatisticsResponseParams ¶
type DescribeStreamLiveChannelOutputStatisticsResponseParams struct { // Channel output information Infos []*ChannelOutputsStatistics `json:"Infos,omitnil" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveChannelRequest ¶
type DescribeStreamLiveChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil" 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" 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" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveInputRequest ¶
type DescribeStreamLiveInputRequest struct { *tchttp.BaseRequest // Input ID Id *string `json:"Id,omitnil" 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" 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" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveInputSecurityGroupRequest ¶
type DescribeStreamLiveInputSecurityGroupRequest struct { *tchttp.BaseRequest // Input security group ID Id *string `json:"Id,omitnil" name:"Id"` }
func NewDescribeStreamLiveInputSecurityGroupRequest ¶
func NewDescribeStreamLiveInputSecurityGroupRequest() (request *DescribeStreamLiveInputSecurityGroupRequest)
func (*DescribeStreamLiveInputSecurityGroupRequest) FromJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupRequest) 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 (*DescribeStreamLiveInputSecurityGroupRequest) ToJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupRequest) ToJsonString() string
type DescribeStreamLiveInputSecurityGroupRequestParams ¶
type DescribeStreamLiveInputSecurityGroupRequestParams struct { // Input security group ID Id *string `json:"Id,omitnil" 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 ¶
func (r *DescribeStreamLiveInputSecurityGroupResponse) 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 (*DescribeStreamLiveInputSecurityGroupResponse) ToJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupResponse) ToJsonString() string
type DescribeStreamLiveInputSecurityGroupResponseParams ¶
type DescribeStreamLiveInputSecurityGroupResponseParams struct { // Input security group information Info *InputSecurityGroupInfo `json:"Info,omitnil" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveInputSecurityGroupsRequest ¶
type DescribeStreamLiveInputSecurityGroupsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeStreamLiveInputSecurityGroupsRequest ¶
func NewDescribeStreamLiveInputSecurityGroupsRequest() (request *DescribeStreamLiveInputSecurityGroupsRequest)
func (*DescribeStreamLiveInputSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupsRequest) 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 (*DescribeStreamLiveInputSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupsRequest) ToJsonString() string
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 ¶
func (r *DescribeStreamLiveInputSecurityGroupsResponse) 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 (*DescribeStreamLiveInputSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeStreamLiveInputSecurityGroupsResponse) ToJsonString() string
type DescribeStreamLiveInputSecurityGroupsResponseParams ¶
type DescribeStreamLiveInputSecurityGroupsResponseParams struct { // List of input security group information Infos []*InputSecurityGroupInfo `json:"Infos,omitnil" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" 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" 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" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" 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" name:"EndDayTime"` // The channel ID (optional). ChannelId *string `json:"ChannelId,omitnil" name:"ChannelId"` // The number of pages. Default value: 1. // The value cannot exceed 100. PageNum *int64 `json:"PageNum,omitnil" name:"PageNum"` // The number of records per page. Default value: 10. // Value range: 1-1000. PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` }
func NewDescribeStreamLiveTranscodeDetailRequest ¶
func NewDescribeStreamLiveTranscodeDetailRequest() (request *DescribeStreamLiveTranscodeDetailRequest)
func (*DescribeStreamLiveTranscodeDetailRequest) FromJsonString ¶
func (r *DescribeStreamLiveTranscodeDetailRequest) 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 (*DescribeStreamLiveTranscodeDetailRequest) ToJsonString ¶
func (r *DescribeStreamLiveTranscodeDetailRequest) ToJsonString() string
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" 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" name:"EndDayTime"` // The channel ID (optional). ChannelId *string `json:"ChannelId,omitnil" name:"ChannelId"` // The number of pages. Default value: 1. // The value cannot exceed 100. PageNum *int64 `json:"PageNum,omitnil" name:"PageNum"` // The number of records per page. Default value: 10. // Value range: 1-1000. PageSize *int64 `json:"PageSize,omitnil" 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 ¶
func (r *DescribeStreamLiveTranscodeDetailResponse) 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 (*DescribeStreamLiveTranscodeDetailResponse) ToJsonString ¶
func (r *DescribeStreamLiveTranscodeDetailResponse) ToJsonString() string
type DescribeStreamLiveTranscodeDetailResponseParams ¶
type DescribeStreamLiveTranscodeDetailResponseParams struct { // A list of the transcoding information. Infos []*DescribeTranscodeDetailInfo `json:"Infos,omitnil" name:"Infos"` // The number of the current page. PageNum *int64 `json:"PageNum,omitnil" name:"PageNum"` // The number of records per page. PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` // The total number of records. TotalNum *int64 `json:"TotalNum,omitnil" name:"TotalNum"` // The total number of pages. TotalPage *int64 `json:"TotalPage,omitnil" name:"TotalPage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeStreamLiveWatermarkRequest ¶
type DescribeStreamLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID Id *string `json:"Id,omitnil" 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" 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" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Infos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTextSettings ¶
type DescribeTextSettings struct { // Text Text *string `json:"Text,omitnil" name:"Text"` // Origin Location *string `json:"Location,omitnil" name:"Location"` // The watermark image’s horizontal distance from the origin as a percentage of the video width XPos *int64 `json:"XPos,omitnil" name:"XPos"` // The watermark image’s vertical distance from the origin as a percentage of the video height YPos *int64 `json:"YPos,omitnil" name:"YPos"` // Font size FontSize *int64 `json:"FontSize,omitnil" name:"FontSize"` // Font color FontColor *string `json:"FontColor,omitnil" name:"FontColor"` }
type DescribeTranscodeDetailInfo ¶
type DescribeTranscodeDetailInfo struct { // The channel ID. ChannelId *string `json:"ChannelId,omitnil" name:"ChannelId"` // The start time (UTC+8) of transcoding in the format of yyyy-MM-dd HH:mm:ss. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time (UTC+8) of transcoding in the format of yyyy-MM-dd HH:mm:ss. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The duration (s) of transcoding. Duration *int64 `json:"Duration,omitnil" 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" name:"ModuleCodec"` // The target bitrate (Kbps). Bitrate *int64 `json:"Bitrate,omitnil" name:"Bitrate"` // The transcoding type. Type *string `json:"Type,omitnil" name:"Type"` // The push domain name. PushDomain *string `json:"PushDomain,omitnil" name:"PushDomain"` // The target resolution. Resolution *string `json:"Resolution,omitnil" name:"Resolution"` }
type DescribeWatermarkInfo ¶
type DescribeWatermarkInfo struct { // Watermark ID Id *string `json:"Id,omitnil" name:"Id"` // Watermark name Name *string `json:"Name,omitnil" name:"Name"` // Watermark type. Valid values: STATIC_IMAGE, TEXT. Type *string `json:"Type,omitnil" 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" 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" 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" 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" name:"AttachedChannels"` }
type DestinationInfo ¶
type DestinationInfo struct { // Relay destination address. Length limit: [1,512]. OutputUrl *string `json:"OutputUrl,omitnil" 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" 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" 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" name:"Password"` }
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" 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" 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" 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" 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" 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" 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" 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" 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" 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" name:"SDMCSettings"` // The DRM type. Valid values: `FAIRPLAY`, `WIDEVINE`, `AES128`. For HLS, this can be `FAIRPLAY` or `AES128`. For DASH, this can only be `WIDEVINE`. // Note: This field may return `null`, indicating that no valid values can be obtained. DrmType *string `json:"DrmType,omitnil" name:"DrmType"` }
type EventNotifySetting ¶
type EventNotifySetting struct { // The callback configuration for push events. PushEventSettings *PushEventSetting `json:"PushEventSettings,omitnil" name:"PushEventSettings"` }
type EventSettingsDestinationReq ¶
type EventSettingsDestinationReq struct { // URL of the COS bucket to save recording files Url *string `json:"Url,omitnil" name:"Url"` }
type EventSettingsDestinationResp ¶
type EventSettingsDestinationResp struct { // URL of the COS bucket where recording files are saved Url *string `json:"Url,omitnil" 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" name:"EventType"` // ID of the input to attach, which is required if `EventType` is `INPUT_SWITCH` InputAttachment *string `json:"InputAttachment,omitnil" name:"InputAttachment"` // Name of the output group to attach. This parameter is required if `EventType` is `TIMED_RECORD`. OutputGroupName *string `json:"OutputGroupName,omitnil" 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" 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" name:"Destinations"` // SCTE-35 configuration information. SCTE35SegmentationDescriptor []*SegmentationDescriptorInfo `json:"SCTE35SegmentationDescriptor,omitnil" 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" 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" name:"SpliceDuration"` }
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" name:"EventType"` // ID of the input attached, which is not empty if `EventType` is `INPUT_SWITCH` InputAttachment *string `json:"InputAttachment,omitnil" name:"InputAttachment"` // Name of the output group attached. This parameter is not empty if `EventType` is `TIMED_RECORD`. OutputGroupName *string `json:"OutputGroupName,omitnil" 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" 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" name:"Destinations"` // SCTE-35 configuration information. SCTE35SegmentationDescriptor []*SegmentationDescriptorRespInfo `json:"SCTE35SegmentationDescriptor,omitnil" 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" 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" name:"SpliceDuration"` }
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" 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" name:"LossThreshold"` // Failover policy. Valid values: `CURRENT_PREFERRED` (default), `PRIMARY_PREFERRED` RecoverBehavior *string `json:"RecoverBehavior,omitnil" name:"RecoverBehavior"` }
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" name:"SegmentDuration"` // Number of segments. Value range: [1,30]. Default value: 5. SegmentNumber *uint64 `json:"SegmentNumber,omitnil" name:"SegmentNumber"` // Whether to enable PDT insertion. Valid values: CLOSE/OPEN. Default value: CLOSE. PdtInsertion *string `json:"PdtInsertion,omitnil" name:"PdtInsertion"` // PDT duration in seconds. Value range: (0,3000]. Default value: 600. PdtDuration *uint64 `json:"PdtDuration,omitnil" name:"PdtDuration"` // Audio/Video packaging scheme. Valid values: `SEPARATE`, `MERGE`. Default value is: SEPARATE. Scheme *string `json:"Scheme,omitnil" 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" name:"SegmentType"` // The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default). H265PackageType *string `json:"H265PackageType,omitnil" name:"H265PackageType"` LowLatency *uint64 `json:"LowLatency,omitnil" name:"LowLatency"` PartialSegmentDuration *uint64 `json:"PartialSegmentDuration,omitnil" name:"PartialSegmentDuration"` PartialSegmentPlaySite *uint64 `json:"PartialSegmentPlaySite,omitnil" name:"PartialSegmentPlaySite"` }
type InputInfo ¶
type InputInfo struct { // Input region. Region *string `json:"Region,omitnil" name:"Region"` // Input ID. Id *string `json:"Id,omitnil" name:"Id"` // Input name. Name *string `json:"Name,omitnil" name:"Name"` // Input type. Type *string `json:"Type,omitnil" name:"Type"` // Array of security groups associated with input. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" 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" name:"AttachedChannels"` // Input configuration array. InputSettings []*InputSettingInfo `json:"InputSettings,omitnil" 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" name:"RepeatLastFrameMs"` // Fill frame type, COLOR means solid color filling, IMAGE means picture filling, the default is COLOR. InputLossImageType *string `json:"InputLossImageType,omitnil" name:"InputLossImageType"` // When the type is COLOR, the corresponding rgb value ColorRGB *string `json:"ColorRGB,omitnil" name:"ColorRGB"` // When the type is IMAGE, the corresponding image url value ImageUrl *string `json:"ImageUrl,omitnil" name:"ImageUrl"` }
type InputSecurityGroupInfo ¶
type InputSecurityGroupInfo struct { // Input security group ID. Id *string `json:"Id,omitnil" name:"Id"` // Input security group name. Name *string `json:"Name,omitnil" name:"Name"` // List of allowlist entries. Whitelist []*string `json:"Whitelist,omitnil" 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" name:"OccupiedInputs"` // Input security group address. Region *string `json:"Region,omitnil" 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" 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" 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" 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" 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" 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" name:"DelayTime"` // The domain of an SRT_PUSH address. If this is a request parameter, you don’t need to specify it. // Note: This field may return `null`, indicating that no valid value was found. InputDomain *string `json:"InputDomain,omitnil" 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" 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" name:"Password"` }
type InputStatistics ¶
type InputStatistics struct { // Input statistics of pipeline 0. Pipeline0 []*PipelineInputStatistics `json:"Pipeline0,omitnil" name:"Pipeline0"` // Input statistics of pipeline 1. Pipeline1 []*PipelineInputStatistics `json:"Pipeline1,omitnil" name:"Pipeline1"` }
type InputStreamInfo ¶
type InputStreamInfo struct { // The input stream address. InputAddress *string `json:"InputAddress,omitnil" name:"InputAddress"` // The input stream path. AppName *string `json:"AppName,omitnil" name:"AppName"` // The input stream name. StreamName *string `json:"StreamName,omitnil" name:"StreamName"` // The input stream status. `1` indicates the stream is active. Status *int64 `json:"Status,omitnil" name:"Status"` }
type LogInfo ¶
type LogInfo struct { // Log type. // It contains the value of `StreamStart` which refers to the push information. Type *string `json:"Type,omitnil" name:"Type"` // Time when the log is printed. Time *string `json:"Time,omitnil" name:"Time"` // Log details. Message *LogMessageInfo `json:"Message,omitnil" 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" name:"StreamInfo"` }
type ModifyStreamLiveChannelRequest ¶
type ModifyStreamLiveChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil" 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" name:"Name"` // Inputs to attach. You can attach 1 to 5 inputs. AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil" name:"AttachedInputs"` // Configuration information of the channel’s output groups. Quantity: [1, 10] OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil" name:"OutputGroups"` // Audio transcoding templates. Quantity: [1, 20] AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil" name:"AudioTemplates"` // Video transcoding templates. Quantity: [1, 10] VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil" name:"VideoTemplates"` // Audio/Video transcoding templates. Quantity: [1, 10] AVTemplates []*AVTemplate `json:"AVTemplates,omitnil" name:"AVTemplates"` // Event settings PlanSettings *PlanSettings `json:"PlanSettings,omitnil" name:"PlanSettings"` // The callback settings. EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil" name:"EventNotifySettings"` // Complement the last video frame settings. InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil" name:"InputLossBehavior"` }
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" 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" name:"Name"` // Inputs to attach. You can attach 1 to 5 inputs. AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil" name:"AttachedInputs"` // Configuration information of the channel’s output groups. Quantity: [1, 10] OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil" name:"OutputGroups"` // Audio transcoding templates. Quantity: [1, 20] AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil" name:"AudioTemplates"` // Video transcoding templates. Quantity: [1, 10] VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil" name:"VideoTemplates"` // Audio/Video transcoding templates. Quantity: [1, 10] AVTemplates []*AVTemplate `json:"AVTemplates,omitnil" name:"AVTemplates"` // Event settings PlanSettings *PlanSettings `json:"PlanSettings,omitnil" name:"PlanSettings"` // The callback settings. EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil" name:"EventNotifySettings"` // Complement the last video frame settings. InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil" name:"InputLossBehavior"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyStreamLiveInputRequest ¶
type ModifyStreamLiveInputRequest struct { *tchttp.BaseRequest // Input ID Id *string `json:"Id,omitnil" 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" name:"Name"` // List of the IDs of the security groups to attach SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Input settings // For the type `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL`, 1 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" 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" 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" name:"Name"` // List of the IDs of the security groups to attach SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Input settings // For the type `RTMP_PUSH`, `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL`, 1 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyStreamLiveInputSecurityGroupRequest ¶
type ModifyStreamLiveInputSecurityGroupRequest struct { *tchttp.BaseRequest // Input security group ID Id *string `json:"Id,omitnil" 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" name:"Name"` // Allowlist entries (max: 10) Whitelist []*string `json:"Whitelist,omitnil" name:"Whitelist"` }
func NewModifyStreamLiveInputSecurityGroupRequest ¶
func NewModifyStreamLiveInputSecurityGroupRequest() (request *ModifyStreamLiveInputSecurityGroupRequest)
func (*ModifyStreamLiveInputSecurityGroupRequest) FromJsonString ¶
func (r *ModifyStreamLiveInputSecurityGroupRequest) 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 (*ModifyStreamLiveInputSecurityGroupRequest) ToJsonString ¶
func (r *ModifyStreamLiveInputSecurityGroupRequest) ToJsonString() string
type ModifyStreamLiveInputSecurityGroupRequestParams ¶
type ModifyStreamLiveInputSecurityGroupRequestParams struct { // Input security group ID Id *string `json:"Id,omitnil" 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" name:"Name"` // Allowlist entries (max: 10) Whitelist []*string `json:"Whitelist,omitnil" 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 ¶
func (r *ModifyStreamLiveInputSecurityGroupResponse) 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 (*ModifyStreamLiveInputSecurityGroupResponse) ToJsonString ¶
func (r *ModifyStreamLiveInputSecurityGroupResponse) ToJsonString() string
type ModifyStreamLiveInputSecurityGroupResponseParams ¶
type ModifyStreamLiveInputSecurityGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyStreamLiveWatermarkRequest ¶
type ModifyStreamLiveWatermarkRequest struct { *tchttp.BaseRequest // Watermark ID Id *string `json:"Id,omitnil" name:"Id"` // Watermark name Name *string `json:"Name,omitnil" name:"Name"` // Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`. ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil" name:"ImageSettings"` // Watermark text settings. This parameter is valid if `Type` is `TEXT`. TextSettings *CreateTextSettings `json:"TextSettings,omitnil" 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" name:"Id"` // Watermark name Name *string `json:"Name,omitnil" name:"Name"` // Watermark image settings. This parameter is valid if `Type` is `STATIC_IMAGE`. ImageSettings *CreateImageSettings `json:"ImageSettings,omitnil" name:"ImageSettings"` // Watermark text settings. This parameter is valid if `Type` is `TEXT`. TextSettings *CreateTextSettings `json:"TextSettings,omitnil" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type OutputInfo ¶
type OutputInfo struct { // Output name. Name *string `json:"Name,omitnil" 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" 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" name:"VideoTemplateNames"` // SCTE-35 information configuration. Scte35Settings *Scte35SettingsInfo `json:"Scte35Settings,omitnil" 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" name:"AVTemplateNames"` }
type OutputsStatistics ¶
type OutputsStatistics struct { // Output information of pipeline 0. Pipeline0 []*PipelineOutputStatistics `json:"Pipeline0,omitnil" name:"Pipeline0"` // Output information of pipeline 1. Pipeline1 []*PipelineOutputStatistics `json:"Pipeline1,omitnil" name:"Pipeline1"` }
type PipelineInputStatistics ¶
type PipelineInputStatistics struct { // Data timestamp in seconds. Timestamp *uint64 `json:"Timestamp,omitnil" name:"Timestamp"` // Input bandwidth in bps. NetworkIn *uint64 `json:"NetworkIn,omitnil" 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" 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" 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" 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" name:"Pipeline1"` }
type PlanReq ¶
type PlanReq struct { // Event name EventName *string `json:"EventName,omitnil" name:"EventName"` // Event trigger time settings TimingSettings *TimingSettingsReq `json:"TimingSettings,omitnil" name:"TimingSettings"` // Event configuration EventSettings *EventSettingsReq `json:"EventSettings,omitnil" name:"EventSettings"` }
type PlanResp ¶
type PlanResp struct { // Event name EventName *string `json:"EventName,omitnil" name:"EventName"` // Event trigger time settings TimingSettings *TimingSettingsResp `json:"TimingSettings,omitnil" name:"TimingSettings"` // Event configuration EventSettings *EventSettingsResp `json:"EventSettings,omitnil" 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" name:"TimedRecordSettings"` }
type PushEventSetting ¶
type QueryDispatchInputInfo ¶
type QueryDispatchInputInfo struct { // The input ID. InputID *string `json:"InputID,omitnil" name:"InputID"` // The input name. InputName *string `json:"InputName,omitnil" name:"InputName"` // The input protocol. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // The stream status of the input. InputStreamInfoList []*InputStreamInfo `json:"InputStreamInfoList,omitnil" name:"InputStreamInfoList"` }
type QueryInputStreamStateRequest ¶
type QueryInputStreamStateRequest struct { *tchttp.BaseRequest // The StreamLive input ID. Id *string `json:"Id,omitnil" 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" 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" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RegionInfo ¶
type RegionInfo struct { // Region name Name *string `json:"Name,omitnil" name:"Name"` }
type SDMCSettingsInfo ¶
type SDMCSettingsInfo struct { // User ID in the SDMC DRM system Uid *string `json:"Uid,omitnil" 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" name:"Tracks"` // Key ID in the SDMC DRM system; required SecretId *string `json:"SecretId,omitnil" name:"SecretId"` // Key in the SDMC DRM system; required SecretKey *string `json:"SecretKey,omitnil" 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" name:"Url"` // Token name in an SDMC key request URL, which is `token` by default TokenName *string `json:"TokenName,omitnil" 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" 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" name:"EventID"` // Indicates that a previously sent segmentation event, identified by segmentation_event_id, has been cancelled. EventCancelIndicator *uint64 `json:"EventCancelIndicator,omitnil" name:"EventCancelIndicator"` // Distribution configuration. DeliveryRestrictions *DeliveryRestrictionsInfo `json:"DeliveryRestrictions,omitnil" 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" name:"Duration"` // Corresponds to SCTE-35 segmentation_upid_type parameter. UPIDType *uint64 `json:"UPIDType,omitnil" name:"UPIDType"` // Corresponds to SCTE-35 segmentation_upid. UPID *string `json:"UPID,omitnil" name:"UPID"` // Corresponds to SCTE-35 segmentation_type_id. TypeID *uint64 `json:"TypeID,omitnil" 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" 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" 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" 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" 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" name:"EventID"` // Indicates that a previously sent segmentation event, identified by segmentation_event_id, has been cancelled. EventCancelIndicator *uint64 `json:"EventCancelIndicator,omitnil" name:"EventCancelIndicator"` // Distribution configuration. DeliveryRestrictions *DeliveryRestrictionsInfo `json:"DeliveryRestrictions,omitnil" 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" name:"Duration"` // Corresponds to SCTE-35 segmentation_upid_type parameter. UPIDType *uint64 `json:"UPIDType,omitnil" name:"UPIDType"` // Corresponds to SCTE-35 segmentation_upid. UPID *string `json:"UPID,omitnil" name:"UPID"` // Corresponds to SCTE-35 segmentation_type_id. TypeID *uint64 `json:"TypeID,omitnil" 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" 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" 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" 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" name:"SubSegmentsExpected"` }
type StartStreamLiveChannelRequest ¶
type StartStreamLiveChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil" 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type StopStreamLiveChannelRequest ¶
type StopStreamLiveChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil" 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" 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, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Pid"` // Audio codec. // Note: this field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil" name:"Codec"` // Audio frame rate. // Note: this field may return null, indicating that no valid values can be obtained. Fps *int64 `json:"Fps,omitnil" name:"Fps"` // Audio bitrate. // Note: this field may return null, indicating that no valid values can be obtained. Rate *int64 `json:"Rate,omitnil" name:"Rate"` // Audio sample rate. // Note: this field may return null, indicating that no valid values can be obtained. SampleRate *int64 `json:"SampleRate,omitnil" name:"SampleRate"` }
type StreamInfo ¶
type StreamInfo struct { // Client IP. ClientIp *string `json:"ClientIp,omitnil" name:"ClientIp"` // Video information of pushed streams. Video []*StreamVideoInfo `json:"Video,omitnil" name:"Video"` // Audio information of pushed streams. Audio []*StreamAudioInfo `json:"Audio,omitnil" name:"Audio"` // SCTE-35 information of pushed streams. Scte35 []*StreamScte35Info `json:"Scte35,omitnil" name:"Scte35"` }
type StreamLiveChannelInfo ¶
type StreamLiveChannelInfo struct { // Channel ID Id *string `json:"Id,omitnil" name:"Id"` // Channel status State *string `json:"State,omitnil" name:"State"` // Information of attached inputs AttachedInputs []*AttachedInput `json:"AttachedInputs,omitnil" name:"AttachedInputs"` // Information of output groups OutputGroups []*StreamLiveOutputGroupsInfo `json:"OutputGroups,omitnil" name:"OutputGroups"` // Channel name Name *string `json:"Name,omitnil" name:"Name"` // Audio transcoding templates // Note: this field may return `null`, indicating that no valid value was found. AudioTemplates []*AudioTemplateInfo `json:"AudioTemplates,omitnil" name:"AudioTemplates"` // Video transcoding templates // Note: this field may return `null`, indicating that no valid value was found. VideoTemplates []*VideoTemplateInfo `json:"VideoTemplates,omitnil" name:"VideoTemplates"` // Audio/Video transcoding templates // Note: this field may return `null`, indicating that no valid value was found. AVTemplates []*AVTemplate `json:"AVTemplates,omitnil" name:"AVTemplates"` // Event settings // Note: This field may return `null`, indicating that no valid value was found. PlanSettings *PlanSettings `json:"PlanSettings,omitnil" name:"PlanSettings"` // The callback settings. // Note: This field may return `null`, indicating that no valid value was found. EventNotifySettings *EventNotifySetting `json:"EventNotifySettings,omitnil" name:"EventNotifySettings"` // Supplement the last video frame configuration settings. InputLossBehavior *InputLossBehaviorInfo `json:"InputLossBehavior,omitnil" name:"InputLossBehavior"` }
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" name:"Name"` // Output protocol // Valid values: `HLS`, `DASH`, `HLS_ARCHIVE`, `HLS_STREAM_PACKAGE`, `DASH_STREAM_PACKAGE` Type *string `json:"Type,omitnil" 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" name:"Outputs"` // Relay destinations. Quantity: [1, 2] Destinations []*DestinationInfo `json:"Destinations,omitnil" name:"Destinations"` // HLS protocol configuration information, which takes effect only for HLS/HLS_ARCHIVE outputs // Note: this field may return `null`, indicating that no valid value was found. HlsRemuxSettings *HlsRemuxSettingsInfo `json:"HlsRemuxSettings,omitnil" name:"HlsRemuxSettings"` // DRM configuration information // Note: this field may return `null`, indicating that no valid value was found. DrmSettings *DrmSettingsInfo `json:"DrmSettings,omitnil" 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" 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" name:"StreamPackageSettings"` // Time-shift configuration information // Note: This field may return `null`, indicating that no valid value was found. TimeShiftSettings *TimeShiftSettingsInfo `json:"TimeShiftSettings,omitnil" name:"TimeShiftSettings"` }
type StreamLiveRegionInfo ¶
type StreamLiveRegionInfo struct { // List of StreamLive regions Regions []*RegionInfo `json:"Regions,omitnil" name:"Regions"` }
type StreamPackageSettingsInfo ¶
type StreamPackageSettingsInfo struct { // Channel ID in StreamPackage Id *string `json:"Id,omitnil" 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" 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" name:"Pid"` // Video codec. // Note: this field may return null, indicating that no valid values can be obtained. Codec *string `json:"Codec,omitnil" name:"Codec"` // Video frame rate. // Note: this field may return null, indicating that no valid values can be obtained. Fps *int64 `json:"Fps,omitnil" name:"Fps"` // Video bitrate. // Note: this field may return null, indicating that no valid values can be obtained. Rate *int64 `json:"Rate,omitnil" name:"Rate"` // Video width. // Note: this field may return null, indicating that no valid values can be obtained. Width *int64 `json:"Width,omitnil" name:"Width"` // Video height. // Note: this field may return null, indicating that no valid values can be obtained. Height *int64 `json:"Height,omitnil" name:"Height"` }
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" 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" name:"PlayDomain"` // Allowable time-shift period (s). Value range: [600, 1209600]. Default value: 300 // Note: This field may return `null`, indicating that no valid value was found. StartoverWindow *int64 `json:"StartoverWindow,omitnil" name:"StartoverWindow"` }
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" 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" 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" 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" 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" name:"EndTime"` }
type TimingSettingsResp ¶
type TimingSettingsResp struct { // Event trigger type StartType *string `json:"StartType,omitnil" name:"StartType"` // Not empty if `StartType` is `FIXED_TIME` // UTC time, such as `2020-01-01T12:00:00Z` Time *string `json:"Time,omitnil" 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" 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" name:"EndTime"` }
type VideoTemplateInfo ¶
type VideoTemplateInfo struct { // Video transcoding template name, which can contain 1-20 letters and digits. Name *string `json:"Name,omitnil" 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" 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" 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" 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" 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" name:"Fps"` // Whether to enable top speed codec. Valid value: CLOSE/OPEN. Default value: CLOSE. TopSpeed *string `json:"TopSpeed,omitnil" 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" name:"BitrateCompressionRatio"` // Bitrate control mode. Valid values: `CBR`, `ABR` (default) RateControlMode *string `json:"RateControlMode,omitnil" name:"RateControlMode"` // Watermark ID // Note: This field may return `null`, indicating that no valid value was found. WatermarkId *string `json:"WatermarkId,omitnil" name:"WatermarkId"` }