Documentation ¶
Index ¶
- func GenReqDefForCancelRemuxTask(request *model.CancelRemuxTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateEncryptTask(request *model.CreateEncryptTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateExtractTask(request *model.CreateExtractTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateRemuxTask(request *model.CreateRemuxTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateTemplateGroup(request *model.CreateTemplateGroupRequest) *def.HttpRequestDef
- func GenReqDefForCreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateTransTemplate(request *model.CreateTransTemplateRequest) *def.HttpRequestDef
- func GenReqDefForCreateTranscodingTask(request *model.CreateTranscodingTaskRequest) *def.HttpRequestDef
- func GenReqDefForCreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) *def.HttpRequestDef
- func GenReqDefForDeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteEncryptTask(request *model.DeleteEncryptTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteExtractTask(request *model.DeleteExtractTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteRemuxTask(request *model.DeleteRemuxTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteTemplate(request *model.DeleteTemplateRequest) *def.HttpRequestDef
- func GenReqDefForDeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) *def.HttpRequestDef
- func GenReqDefForDeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) *def.HttpRequestDef
- func GenReqDefForDeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) *def.HttpRequestDef
- func GenReqDefForListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) *def.HttpRequestDef
- func GenReqDefForListEncryptTask(request *model.ListEncryptTaskRequest) *def.HttpRequestDef
- func GenReqDefForListExtractTask(request *model.ListExtractTaskRequest) *def.HttpRequestDef
- func GenReqDefForListRemuxTask(request *model.ListRemuxTaskRequest) *def.HttpRequestDef
- func GenReqDefForListTemplate(request *model.ListTemplateRequest) *def.HttpRequestDef
- func GenReqDefForListTemplateGroup(request *model.ListTemplateGroupRequest) *def.HttpRequestDef
- func GenReqDefForListThumbnailsTask(request *model.ListThumbnailsTaskRequest) *def.HttpRequestDef
- func GenReqDefForListTranscodeDetail(request *model.ListTranscodeDetailRequest) *def.HttpRequestDef
- func GenReqDefForListTranscodingTask(request *model.ListTranscodingTaskRequest) *def.HttpRequestDef
- func GenReqDefForListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) *def.HttpRequestDef
- func GenReqDefForUpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) *def.HttpRequestDef
- func GenReqDefForUpdateTransTemplate(request *model.UpdateTransTemplateRequest) *def.HttpRequestDef
- func GenReqDefForUpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) *def.HttpRequestDef
- func GenRespForCancelRemuxTask() (*model.CancelRemuxTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateAnimatedGraphicsTask() (*model.CreateAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateEncryptTask() (*model.CreateEncryptTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateExtractTask() (*model.CreateExtractTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateRemuxTask() (*model.CreateRemuxTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateRetryRemuxTask() (*model.CreateRetryRemuxTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateTemplateGroup() (*model.CreateTemplateGroupResponse, *def.HttpResponseDef)
- func GenRespForCreateThumbnailsTask() (*model.CreateThumbnailsTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateTransTemplate() (*model.CreateTransTemplateResponse, *def.HttpResponseDef)
- func GenRespForCreateTranscodingTask() (*model.CreateTranscodingTaskResponse, *def.HttpResponseDef)
- func GenRespForCreateWatermarkTemplate() (*model.CreateWatermarkTemplateResponse, *def.HttpResponseDef)
- func GenRespForDeleteAnimatedGraphicsTask() (*model.DeleteAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteEncryptTask() (*model.DeleteEncryptTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteExtractTask() (*model.DeleteExtractTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteRemuxTask() (*model.DeleteRemuxTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteTemplate() (*model.DeleteTemplateResponse, *def.HttpResponseDef)
- func GenRespForDeleteTemplateGroup() (*model.DeleteTemplateGroupResponse, *def.HttpResponseDef)
- func GenRespForDeleteThumbnailsTask() (*model.DeleteThumbnailsTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteTranscodingTask() (*model.DeleteTranscodingTaskResponse, *def.HttpResponseDef)
- func GenRespForDeleteWatermarkTemplate() (*model.DeleteWatermarkTemplateResponse, *def.HttpResponseDef)
- func GenRespForListAnimatedGraphicsTask() (*model.ListAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
- func GenRespForListEncryptTask() (*model.ListEncryptTaskResponse, *def.HttpResponseDef)
- func GenRespForListExtractTask() (*model.ListExtractTaskResponse, *def.HttpResponseDef)
- func GenRespForListRemuxTask() (*model.ListRemuxTaskResponse, *def.HttpResponseDef)
- func GenRespForListTemplate() (*model.ListTemplateResponse, *def.HttpResponseDef)
- func GenRespForListTemplateGroup() (*model.ListTemplateGroupResponse, *def.HttpResponseDef)
- func GenRespForListThumbnailsTask() (*model.ListThumbnailsTaskResponse, *def.HttpResponseDef)
- func GenRespForListTranscodeDetail() (*model.ListTranscodeDetailResponse, *def.HttpResponseDef)
- func GenRespForListTranscodingTask() (*model.ListTranscodingTaskResponse, *def.HttpResponseDef)
- func GenRespForListWatermarkTemplate() (*model.ListWatermarkTemplateResponse, *def.HttpResponseDef)
- func GenRespForUpdateTemplateGroup() (*model.UpdateTemplateGroupResponse, *def.HttpResponseDef)
- func GenRespForUpdateTransTemplate() (*model.UpdateTransTemplateResponse, *def.HttpResponseDef)
- func GenRespForUpdateWatermarkTemplate() (*model.UpdateWatermarkTemplateResponse, *def.HttpResponseDef)
- func MpcClientBuilder() *http_client.HcHttpClientBuilder
- type MpcClient
- func (c *MpcClient) CancelRemuxTask(request *model.CancelRemuxTaskRequest) (*model.CancelRemuxTaskResponse, error)
- func (c *MpcClient) CreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) (*model.CreateAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) CreateEncryptTask(request *model.CreateEncryptTaskRequest) (*model.CreateEncryptTaskResponse, error)
- func (c *MpcClient) CreateExtractTask(request *model.CreateExtractTaskRequest) (*model.CreateExtractTaskResponse, error)
- func (c *MpcClient) CreateRemuxTask(request *model.CreateRemuxTaskRequest) (*model.CreateRemuxTaskResponse, error)
- func (c *MpcClient) CreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) (*model.CreateRetryRemuxTaskResponse, error)
- func (c *MpcClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
- func (c *MpcClient) CreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) (*model.CreateThumbnailsTaskResponse, error)
- func (c *MpcClient) CreateTransTemplate(request *model.CreateTransTemplateRequest) (*model.CreateTransTemplateResponse, error)
- func (c *MpcClient) CreateTranscodingTask(request *model.CreateTranscodingTaskRequest) (*model.CreateTranscodingTaskResponse, error)
- func (c *MpcClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
- func (c *MpcClient) DeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) (*model.DeleteAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) DeleteEncryptTask(request *model.DeleteEncryptTaskRequest) (*model.DeleteEncryptTaskResponse, error)
- func (c *MpcClient) DeleteExtractTask(request *model.DeleteExtractTaskRequest) (*model.DeleteExtractTaskResponse, error)
- func (c *MpcClient) DeleteRemuxTask(request *model.DeleteRemuxTaskRequest) (*model.DeleteRemuxTaskResponse, error)
- func (c *MpcClient) DeleteTemplate(request *model.DeleteTemplateRequest) (*model.DeleteTemplateResponse, error)
- func (c *MpcClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
- func (c *MpcClient) DeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) (*model.DeleteThumbnailsTaskResponse, error)
- func (c *MpcClient) DeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) (*model.DeleteTranscodingTaskResponse, error)
- func (c *MpcClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
- func (c *MpcClient) ListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) (*model.ListAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) ListEncryptTask(request *model.ListEncryptTaskRequest) (*model.ListEncryptTaskResponse, error)
- func (c *MpcClient) ListExtractTask(request *model.ListExtractTaskRequest) (*model.ListExtractTaskResponse, error)
- func (c *MpcClient) ListRemuxTask(request *model.ListRemuxTaskRequest) (*model.ListRemuxTaskResponse, error)
- func (c *MpcClient) ListTemplate(request *model.ListTemplateRequest) (*model.ListTemplateResponse, error)
- func (c *MpcClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
- func (c *MpcClient) ListThumbnailsTask(request *model.ListThumbnailsTaskRequest) (*model.ListThumbnailsTaskResponse, error)
- func (c *MpcClient) ListTranscodeDetail(request *model.ListTranscodeDetailRequest) (*model.ListTranscodeDetailResponse, error)
- func (c *MpcClient) ListTranscodingTask(request *model.ListTranscodingTaskRequest) (*model.ListTranscodingTaskResponse, error)
- func (c *MpcClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
- func (c *MpcClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
- func (c *MpcClient) UpdateTransTemplate(request *model.UpdateTransTemplateRequest) (*model.UpdateTransTemplateResponse, error)
- func (c *MpcClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCancelRemuxTask ¶
func GenReqDefForCancelRemuxTask(request *model.CancelRemuxTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateAnimatedGraphicsTask ¶
func GenReqDefForCreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateEncryptTask ¶
func GenReqDefForCreateEncryptTask(request *model.CreateEncryptTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateExtractTask ¶
func GenReqDefForCreateExtractTask(request *model.CreateExtractTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateRemuxTask ¶
func GenReqDefForCreateRemuxTask(request *model.CreateRemuxTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateRetryRemuxTask ¶
func GenReqDefForCreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateTemplateGroup ¶
func GenReqDefForCreateTemplateGroup(request *model.CreateTemplateGroupRequest) *def.HttpRequestDef
func GenReqDefForCreateThumbnailsTask ¶
func GenReqDefForCreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateTransTemplate ¶
func GenReqDefForCreateTransTemplate(request *model.CreateTransTemplateRequest) *def.HttpRequestDef
func GenReqDefForCreateTranscodingTask ¶
func GenReqDefForCreateTranscodingTask(request *model.CreateTranscodingTaskRequest) *def.HttpRequestDef
func GenReqDefForCreateWatermarkTemplate ¶
func GenReqDefForCreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) *def.HttpRequestDef
func GenReqDefForDeleteAnimatedGraphicsTask ¶
func GenReqDefForDeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteEncryptTask ¶
func GenReqDefForDeleteEncryptTask(request *model.DeleteEncryptTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteExtractTask ¶
func GenReqDefForDeleteExtractTask(request *model.DeleteExtractTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteRemuxTask ¶
func GenReqDefForDeleteRemuxTask(request *model.DeleteRemuxTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteTemplate ¶
func GenReqDefForDeleteTemplate(request *model.DeleteTemplateRequest) *def.HttpRequestDef
func GenReqDefForDeleteTemplateGroup ¶
func GenReqDefForDeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) *def.HttpRequestDef
func GenReqDefForDeleteThumbnailsTask ¶
func GenReqDefForDeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteTranscodingTask ¶
func GenReqDefForDeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) *def.HttpRequestDef
func GenReqDefForDeleteWatermarkTemplate ¶
func GenReqDefForDeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) *def.HttpRequestDef
func GenReqDefForListAnimatedGraphicsTask ¶
func GenReqDefForListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) *def.HttpRequestDef
func GenReqDefForListEncryptTask ¶
func GenReqDefForListEncryptTask(request *model.ListEncryptTaskRequest) *def.HttpRequestDef
func GenReqDefForListExtractTask ¶
func GenReqDefForListExtractTask(request *model.ListExtractTaskRequest) *def.HttpRequestDef
func GenReqDefForListRemuxTask ¶
func GenReqDefForListRemuxTask(request *model.ListRemuxTaskRequest) *def.HttpRequestDef
func GenReqDefForListTemplate ¶
func GenReqDefForListTemplate(request *model.ListTemplateRequest) *def.HttpRequestDef
func GenReqDefForListTemplateGroup ¶
func GenReqDefForListTemplateGroup(request *model.ListTemplateGroupRequest) *def.HttpRequestDef
func GenReqDefForListThumbnailsTask ¶
func GenReqDefForListThumbnailsTask(request *model.ListThumbnailsTaskRequest) *def.HttpRequestDef
func GenReqDefForListTranscodeDetail ¶
func GenReqDefForListTranscodeDetail(request *model.ListTranscodeDetailRequest) *def.HttpRequestDef
func GenReqDefForListTranscodingTask ¶
func GenReqDefForListTranscodingTask(request *model.ListTranscodingTaskRequest) *def.HttpRequestDef
func GenReqDefForListWatermarkTemplate ¶
func GenReqDefForListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) *def.HttpRequestDef
func GenReqDefForUpdateTemplateGroup ¶
func GenReqDefForUpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) *def.HttpRequestDef
func GenReqDefForUpdateTransTemplate ¶
func GenReqDefForUpdateTransTemplate(request *model.UpdateTransTemplateRequest) *def.HttpRequestDef
func GenReqDefForUpdateWatermarkTemplate ¶
func GenReqDefForUpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) *def.HttpRequestDef
func GenRespForCancelRemuxTask ¶
func GenRespForCancelRemuxTask() (*model.CancelRemuxTaskResponse, *def.HttpResponseDef)
func GenRespForCreateAnimatedGraphicsTask ¶
func GenRespForCreateAnimatedGraphicsTask() (*model.CreateAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
func GenRespForCreateEncryptTask ¶
func GenRespForCreateEncryptTask() (*model.CreateEncryptTaskResponse, *def.HttpResponseDef)
func GenRespForCreateExtractTask ¶
func GenRespForCreateExtractTask() (*model.CreateExtractTaskResponse, *def.HttpResponseDef)
func GenRespForCreateRemuxTask ¶
func GenRespForCreateRemuxTask() (*model.CreateRemuxTaskResponse, *def.HttpResponseDef)
func GenRespForCreateRetryRemuxTask ¶
func GenRespForCreateRetryRemuxTask() (*model.CreateRetryRemuxTaskResponse, *def.HttpResponseDef)
func GenRespForCreateTemplateGroup ¶
func GenRespForCreateTemplateGroup() (*model.CreateTemplateGroupResponse, *def.HttpResponseDef)
func GenRespForCreateThumbnailsTask ¶
func GenRespForCreateThumbnailsTask() (*model.CreateThumbnailsTaskResponse, *def.HttpResponseDef)
func GenRespForCreateTransTemplate ¶
func GenRespForCreateTransTemplate() (*model.CreateTransTemplateResponse, *def.HttpResponseDef)
func GenRespForCreateTranscodingTask ¶
func GenRespForCreateTranscodingTask() (*model.CreateTranscodingTaskResponse, *def.HttpResponseDef)
func GenRespForCreateWatermarkTemplate ¶
func GenRespForCreateWatermarkTemplate() (*model.CreateWatermarkTemplateResponse, *def.HttpResponseDef)
func GenRespForDeleteAnimatedGraphicsTask ¶
func GenRespForDeleteAnimatedGraphicsTask() (*model.DeleteAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteEncryptTask ¶
func GenRespForDeleteEncryptTask() (*model.DeleteEncryptTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteExtractTask ¶
func GenRespForDeleteExtractTask() (*model.DeleteExtractTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteRemuxTask ¶
func GenRespForDeleteRemuxTask() (*model.DeleteRemuxTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteTemplate ¶
func GenRespForDeleteTemplate() (*model.DeleteTemplateResponse, *def.HttpResponseDef)
func GenRespForDeleteTemplateGroup ¶
func GenRespForDeleteTemplateGroup() (*model.DeleteTemplateGroupResponse, *def.HttpResponseDef)
func GenRespForDeleteThumbnailsTask ¶
func GenRespForDeleteThumbnailsTask() (*model.DeleteThumbnailsTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteTranscodingTask ¶
func GenRespForDeleteTranscodingTask() (*model.DeleteTranscodingTaskResponse, *def.HttpResponseDef)
func GenRespForDeleteWatermarkTemplate ¶
func GenRespForDeleteWatermarkTemplate() (*model.DeleteWatermarkTemplateResponse, *def.HttpResponseDef)
func GenRespForListAnimatedGraphicsTask ¶
func GenRespForListAnimatedGraphicsTask() (*model.ListAnimatedGraphicsTaskResponse, *def.HttpResponseDef)
func GenRespForListEncryptTask ¶
func GenRespForListEncryptTask() (*model.ListEncryptTaskResponse, *def.HttpResponseDef)
func GenRespForListExtractTask ¶
func GenRespForListExtractTask() (*model.ListExtractTaskResponse, *def.HttpResponseDef)
func GenRespForListRemuxTask ¶
func GenRespForListRemuxTask() (*model.ListRemuxTaskResponse, *def.HttpResponseDef)
func GenRespForListTemplate ¶
func GenRespForListTemplate() (*model.ListTemplateResponse, *def.HttpResponseDef)
func GenRespForListTemplateGroup ¶
func GenRespForListTemplateGroup() (*model.ListTemplateGroupResponse, *def.HttpResponseDef)
func GenRespForListThumbnailsTask ¶
func GenRespForListThumbnailsTask() (*model.ListThumbnailsTaskResponse, *def.HttpResponseDef)
func GenRespForListTranscodeDetail ¶
func GenRespForListTranscodeDetail() (*model.ListTranscodeDetailResponse, *def.HttpResponseDef)
func GenRespForListTranscodingTask ¶
func GenRespForListTranscodingTask() (*model.ListTranscodingTaskResponse, *def.HttpResponseDef)
func GenRespForListWatermarkTemplate ¶
func GenRespForListWatermarkTemplate() (*model.ListWatermarkTemplateResponse, *def.HttpResponseDef)
func GenRespForUpdateTemplateGroup ¶
func GenRespForUpdateTemplateGroup() (*model.UpdateTemplateGroupResponse, *def.HttpResponseDef)
func GenRespForUpdateTransTemplate ¶
func GenRespForUpdateTransTemplate() (*model.UpdateTransTemplateResponse, *def.HttpResponseDef)
func GenRespForUpdateWatermarkTemplate ¶
func GenRespForUpdateWatermarkTemplate() (*model.UpdateWatermarkTemplateResponse, *def.HttpResponseDef)
func MpcClientBuilder ¶
func MpcClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type MpcClient ¶
type MpcClient struct {
// contains filtered or unexported fields
}
func NewMpcClient ¶
func NewMpcClient(hcClient *http_client.HcHttpClient) *MpcClient
func (*MpcClient) CancelRemuxTask ¶
func (c *MpcClient) CancelRemuxTask(request *model.CancelRemuxTaskRequest) (*model.CancelRemuxTaskResponse, error)
取消已下发的转封装任务,仅支持取消正在排队中的任务。。
func (*MpcClient) CreateAnimatedGraphicsTask ¶
func (c *MpcClient) CreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) (*model.CreateAnimatedGraphicsTaskResponse, error)
创建动图任务,用于将完整的视频文件或视频文件中的一部分转换为动态图文件,暂只支持输出GIF文件。 待转动图的视频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateEncryptTask ¶
func (c *MpcClient) CreateEncryptTask(request *model.CreateEncryptTaskRequest) (*model.CreateEncryptTaskResponse, error)
支持独立加密,包括创建、查询、删除独立加密任务。 约束: - 只支持转码后的文件进行加密。 - 加密的文件必须是m3u8或者mpd结尾的文件。
func (*MpcClient) CreateExtractTask ¶
func (c *MpcClient) CreateExtractTask(request *model.CreateExtractTaskRequest) (*model.CreateExtractTaskResponse, error)
创建视频解析任务,解析视频元数据。
func (*MpcClient) CreateRemuxTask ¶
func (c *MpcClient) CreateRemuxTask(request *model.CreateRemuxTaskRequest) (*model.CreateRemuxTaskResponse, error)
创建转封装任务,转换音视频文件的格式,但不改变其分辨率和码率。 待转封装的媒资文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateRetryRemuxTask ¶
func (c *MpcClient) CreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) (*model.CreateRetryRemuxTaskResponse, error)
对失败的转封装任务进行重试。
func (*MpcClient) CreateTemplateGroup ¶
func (c *MpcClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
新建转码模板组,最多支持一进六出。
func (*MpcClient) CreateThumbnailsTask ¶
func (c *MpcClient) CreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) (*model.CreateThumbnailsTaskResponse, error)
新建截图任务,视频截图将从首帧开始,按设置的时间间隔截图,最后截取末帧。 待截图的视频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。 约束: 暂只支持生成JPG格式的图片文件。
func (*MpcClient) CreateTransTemplate ¶
func (c *MpcClient) CreateTransTemplate(request *model.CreateTransTemplateRequest) (*model.CreateTransTemplateResponse, error)
新建转码模板,采用自定义的模板转码。
func (*MpcClient) CreateTranscodingTask ¶
func (c *MpcClient) CreateTranscodingTask(request *model.CreateTranscodingTaskRequest) (*model.CreateTranscodingTaskResponse, error)
新建转码任务可以将视频进行转码,并在转码过程中压制水印、内容质检、视频截图等。视频转码前需要配置转码模板。 待转码的音视频需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateWatermarkTemplate ¶
func (c *MpcClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
自定义水印模板。
func (*MpcClient) DeleteAnimatedGraphicsTask ¶
func (c *MpcClient) DeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) (*model.DeleteAnimatedGraphicsTaskResponse, error)
取消已下发的生成动图任务,仅支持取消正在排队中的任务。
func (*MpcClient) DeleteEncryptTask ¶
func (c *MpcClient) DeleteEncryptTask(request *model.DeleteEncryptTaskRequest) (*model.DeleteEncryptTaskResponse, error)
取消独立加密任务。 约束: 只能取消正在任务队列中排队的任务。已开始加密或已完成的加密任务不能取消。
func (*MpcClient) DeleteExtractTask ¶
func (c *MpcClient) DeleteExtractTask(request *model.DeleteExtractTaskRequest) (*model.DeleteExtractTaskResponse, error)
取消已下发的视频解析任务,仅支持取消正在排队中的任务。
func (*MpcClient) DeleteRemuxTask ¶
func (c *MpcClient) DeleteRemuxTask(request *model.DeleteRemuxTaskRequest) (*model.DeleteRemuxTaskResponse, error)
删除转封装任务
func (*MpcClient) DeleteTemplate ¶
func (c *MpcClient) DeleteTemplate(request *model.DeleteTemplateRequest) (*model.DeleteTemplateResponse, error)
删除转码模板。
func (*MpcClient) DeleteTemplateGroup ¶
func (c *MpcClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
删除转码模板组。
func (*MpcClient) DeleteThumbnailsTask ¶
func (c *MpcClient) DeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) (*model.DeleteThumbnailsTaskResponse, error)
取消已下发截图任务。 只能取消已接受尚在队列中等待处理的任务,已完成或正在执行阶段的任务不能取消。
func (*MpcClient) DeleteTranscodingTask ¶
func (c *MpcClient) DeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) (*model.DeleteTranscodingTaskResponse, error)
取消已下发转码任务。 只能取消正在转码任务队列中排队的转码任务。已开始转码或已完成的转码任务不能取消。
func (*MpcClient) DeleteWatermarkTemplate ¶
func (c *MpcClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
删除自定义水印模板。
func (*MpcClient) ListAnimatedGraphicsTask ¶
func (c *MpcClient) ListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) (*model.ListAnimatedGraphicsTaskResponse, error)
查询动图任务的状态。
func (*MpcClient) ListEncryptTask ¶
func (c *MpcClient) ListEncryptTask(request *model.ListEncryptTaskRequest) (*model.ListEncryptTaskResponse, error)
查询独立加密任务状态。返回任务执行结果或当前状态。
func (*MpcClient) ListExtractTask ¶
func (c *MpcClient) ListExtractTask(request *model.ListExtractTaskRequest) (*model.ListExtractTaskResponse, error)
查询解析任务的状态和结果。
func (*MpcClient) ListRemuxTask ¶
func (c *MpcClient) ListRemuxTask(request *model.ListRemuxTaskRequest) (*model.ListRemuxTaskResponse, error)
查询转封装任务状态。
func (*MpcClient) ListTemplate ¶
func (c *MpcClient) ListTemplate(request *model.ListTemplateRequest) (*model.ListTemplateResponse, error)
查询用户自定义转码配置模板。 支持指定模板ID查询,或分页全量查询。转码配置模板ID,最多10个。
func (*MpcClient) ListTemplateGroup ¶
func (c *MpcClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
查询转码模板组列表。
func (*MpcClient) ListThumbnailsTask ¶
func (c *MpcClient) ListThumbnailsTask(request *model.ListThumbnailsTaskRequest) (*model.ListThumbnailsTaskResponse, error)
查询截图任务状态。返回任务执行结果,包括状态、输入、输出等信息。
func (*MpcClient) ListTranscodeDetail ¶
func (c *MpcClient) ListTranscodeDetail(request *model.ListTranscodeDetailRequest) (*model.ListTranscodeDetailResponse, error)
查询媒资转码详情
func (*MpcClient) ListTranscodingTask ¶
func (c *MpcClient) ListTranscodingTask(request *model.ListTranscodingTaskRequest) (*model.ListTranscodingTaskResponse, error)
查询转码任务状态。
func (*MpcClient) ListWatermarkTemplate ¶
func (c *MpcClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
查询自定义水印模板。支持指定模板ID查询,或分页全量查询。
func (*MpcClient) UpdateTemplateGroup ¶
func (c *MpcClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
修改模板组接口。
func (*MpcClient) UpdateTransTemplate ¶
func (c *MpcClient) UpdateTransTemplate(request *model.UpdateTransTemplateRequest) (*model.UpdateTransTemplateResponse, error)
更新转码模板。
func (*MpcClient) UpdateWatermarkTemplate ¶
func (c *MpcClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
更新自定义水印模板。