Documentation ¶
Index ¶
- Constants
- type AccountInfo
- type AddMemberInfo
- type AddTeamMemberRequest
- type AddTeamMemberRequestParams
- type AddTeamMemberResponse
- type AddTeamMemberResponseParams
- type AudioMaterial
- type AudioStreamInfo
- type AudioTrackItem
- type AuthorizationInfo
- type Authorizer
- type CMEExportInfo
- type ClassCreatedEvent
- type ClassDeletedEvent
- type ClassInfo
- type ClassMovedEvent
- type Client
- func (c *Client) AddTeamMember(request *AddTeamMemberRequest) (response *AddTeamMemberResponse, err error)
- func (c *Client) AddTeamMemberWithContext(ctx context.Context, request *AddTeamMemberRequest) (response *AddTeamMemberResponse, err error)
- func (c *Client) CopyProject(request *CopyProjectRequest) (response *CopyProjectResponse, err error)
- func (c *Client) CopyProjectWithContext(ctx context.Context, request *CopyProjectRequest) (response *CopyProjectResponse, err error)
- func (c *Client) CreateClass(request *CreateClassRequest) (response *CreateClassResponse, err error)
- func (c *Client) CreateClassWithContext(ctx context.Context, request *CreateClassRequest) (response *CreateClassResponse, err error)
- func (c *Client) CreateLink(request *CreateLinkRequest) (response *CreateLinkResponse, err error)
- func (c *Client) CreateLinkWithContext(ctx context.Context, request *CreateLinkRequest) (response *CreateLinkResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateTeam(request *CreateTeamRequest) (response *CreateTeamResponse, err error)
- func (c *Client) CreateTeamWithContext(ctx context.Context, request *CreateTeamRequest) (response *CreateTeamResponse, err error)
- func (c *Client) CreateVideoEncodingPreset(request *CreateVideoEncodingPresetRequest) (response *CreateVideoEncodingPresetResponse, err error)
- func (c *Client) CreateVideoEncodingPresetWithContext(ctx context.Context, request *CreateVideoEncodingPresetRequest) (response *CreateVideoEncodingPresetResponse, err error)
- func (c *Client) DeleteClass(request *DeleteClassRequest) (response *DeleteClassResponse, err error)
- func (c *Client) DeleteClassWithContext(ctx context.Context, request *DeleteClassRequest) (response *DeleteClassResponse, err error)
- func (c *Client) DeleteLoginStatus(request *DeleteLoginStatusRequest) (response *DeleteLoginStatusResponse, err error)
- func (c *Client) DeleteLoginStatusWithContext(ctx context.Context, request *DeleteLoginStatusRequest) (response *DeleteLoginStatusResponse, err error)
- func (c *Client) DeleteMaterial(request *DeleteMaterialRequest) (response *DeleteMaterialResponse, err error)
- func (c *Client) DeleteMaterialWithContext(ctx context.Context, request *DeleteMaterialRequest) (response *DeleteMaterialResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteTeam(request *DeleteTeamRequest) (response *DeleteTeamResponse, err error)
- func (c *Client) DeleteTeamMembers(request *DeleteTeamMembersRequest) (response *DeleteTeamMembersResponse, err error)
- func (c *Client) DeleteTeamMembersWithContext(ctx context.Context, request *DeleteTeamMembersRequest) (response *DeleteTeamMembersResponse, err error)
- func (c *Client) DeleteTeamWithContext(ctx context.Context, request *DeleteTeamRequest) (response *DeleteTeamResponse, err error)
- func (c *Client) DeleteVideoEncodingPreset(request *DeleteVideoEncodingPresetRequest) (response *DeleteVideoEncodingPresetResponse, err error)
- func (c *Client) DeleteVideoEncodingPresetWithContext(ctx context.Context, request *DeleteVideoEncodingPresetRequest) (response *DeleteVideoEncodingPresetResponse, err error)
- func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeClass(request *DescribeClassRequest) (response *DescribeClassResponse, err error)
- func (c *Client) DescribeClassWithContext(ctx context.Context, request *DescribeClassRequest) (response *DescribeClassResponse, err error)
- func (c *Client) DescribeJoinTeams(request *DescribeJoinTeamsRequest) (response *DescribeJoinTeamsResponse, err error)
- func (c *Client) DescribeJoinTeamsWithContext(ctx context.Context, request *DescribeJoinTeamsRequest) (response *DescribeJoinTeamsResponse, err error)
- func (c *Client) DescribeLoginStatus(request *DescribeLoginStatusRequest) (response *DescribeLoginStatusResponse, err error)
- func (c *Client) DescribeLoginStatusWithContext(ctx context.Context, request *DescribeLoginStatusRequest) (response *DescribeLoginStatusResponse, err error)
- func (c *Client) DescribeMaterials(request *DescribeMaterialsRequest) (response *DescribeMaterialsResponse, err error)
- func (c *Client) DescribeMaterialsWithContext(ctx context.Context, request *DescribeMaterialsRequest) (response *DescribeMaterialsResponse, err error)
- func (c *Client) DescribePlatforms(request *DescribePlatformsRequest) (response *DescribePlatformsResponse, err error)
- func (c *Client) DescribePlatformsWithContext(ctx context.Context, request *DescribePlatformsRequest) (response *DescribePlatformsResponse, err error)
- func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeResourceAuthorization(request *DescribeResourceAuthorizationRequest) (response *DescribeResourceAuthorizationResponse, err error)
- func (c *Client) DescribeResourceAuthorizationWithContext(ctx context.Context, request *DescribeResourceAuthorizationRequest) (response *DescribeResourceAuthorizationResponse, err error)
- func (c *Client) DescribeSharedSpace(request *DescribeSharedSpaceRequest) (response *DescribeSharedSpaceResponse, err error)
- func (c *Client) DescribeSharedSpaceWithContext(ctx context.Context, request *DescribeSharedSpaceRequest) (response *DescribeSharedSpaceResponse, err error)
- func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTeamMembers(request *DescribeTeamMembersRequest) (response *DescribeTeamMembersResponse, err error)
- func (c *Client) DescribeTeamMembersWithContext(ctx context.Context, request *DescribeTeamMembersRequest) (response *DescribeTeamMembersResponse, err error)
- func (c *Client) DescribeTeams(request *DescribeTeamsRequest) (response *DescribeTeamsResponse, err error)
- func (c *Client) DescribeTeamsWithContext(ctx context.Context, request *DescribeTeamsRequest) (response *DescribeTeamsResponse, err error)
- func (c *Client) DescribeVideoEncodingPresets(request *DescribeVideoEncodingPresetsRequest) (response *DescribeVideoEncodingPresetsResponse, err error)
- func (c *Client) DescribeVideoEncodingPresetsWithContext(ctx context.Context, request *DescribeVideoEncodingPresetsRequest) (response *DescribeVideoEncodingPresetsResponse, err error)
- func (c *Client) ExportVideoByEditorTrackData(request *ExportVideoByEditorTrackDataRequest) (response *ExportVideoByEditorTrackDataResponse, err error)
- func (c *Client) ExportVideoByEditorTrackDataWithContext(ctx context.Context, request *ExportVideoByEditorTrackDataRequest) (response *ExportVideoByEditorTrackDataResponse, err error)
- func (c *Client) ExportVideoByTemplate(request *ExportVideoByTemplateRequest) (response *ExportVideoByTemplateResponse, err error)
- func (c *Client) ExportVideoByTemplateWithContext(ctx context.Context, request *ExportVideoByTemplateRequest) (response *ExportVideoByTemplateResponse, err error)
- func (c *Client) ExportVideoByVideoSegmentationData(request *ExportVideoByVideoSegmentationDataRequest) (response *ExportVideoByVideoSegmentationDataResponse, err error)
- func (c *Client) ExportVideoByVideoSegmentationDataWithContext(ctx context.Context, request *ExportVideoByVideoSegmentationDataRequest) (response *ExportVideoByVideoSegmentationDataResponse, err error)
- func (c *Client) ExportVideoEditProject(request *ExportVideoEditProjectRequest) (response *ExportVideoEditProjectResponse, err error)
- func (c *Client) ExportVideoEditProjectWithContext(ctx context.Context, request *ExportVideoEditProjectRequest) (response *ExportVideoEditProjectResponse, err error)
- func (c *Client) FlattenListMedia(request *FlattenListMediaRequest) (response *FlattenListMediaResponse, err error)
- func (c *Client) FlattenListMediaWithContext(ctx context.Context, request *FlattenListMediaRequest) (response *FlattenListMediaResponse, err error)
- func (c *Client) GenerateVideoSegmentationSchemeByAi(request *GenerateVideoSegmentationSchemeByAiRequest) (response *GenerateVideoSegmentationSchemeByAiResponse, err error)
- func (c *Client) GenerateVideoSegmentationSchemeByAiWithContext(ctx context.Context, request *GenerateVideoSegmentationSchemeByAiRequest) (response *GenerateVideoSegmentationSchemeByAiResponse, err error)
- func (c *Client) GrantResourceAuthorization(request *GrantResourceAuthorizationRequest) (response *GrantResourceAuthorizationResponse, err error)
- func (c *Client) GrantResourceAuthorizationWithContext(ctx context.Context, request *GrantResourceAuthorizationRequest) (response *GrantResourceAuthorizationResponse, err error)
- func (c *Client) HandleMediaCastProject(request *HandleMediaCastProjectRequest) (response *HandleMediaCastProjectResponse, err error)
- func (c *Client) HandleMediaCastProjectWithContext(ctx context.Context, request *HandleMediaCastProjectRequest) (response *HandleMediaCastProjectResponse, err error)
- func (c *Client) HandleStreamConnectProject(request *HandleStreamConnectProjectRequest) (response *HandleStreamConnectProjectResponse, err error)
- func (c *Client) HandleStreamConnectProjectWithContext(ctx context.Context, request *HandleStreamConnectProjectRequest) (response *HandleStreamConnectProjectResponse, err error)
- func (c *Client) ImportMaterial(request *ImportMaterialRequest) (response *ImportMaterialResponse, err error)
- func (c *Client) ImportMaterialWithContext(ctx context.Context, request *ImportMaterialRequest) (response *ImportMaterialResponse, err error)
- func (c *Client) ImportMediaToProject(request *ImportMediaToProjectRequest) (response *ImportMediaToProjectResponse, err error)
- func (c *Client) ImportMediaToProjectWithContext(ctx context.Context, request *ImportMediaToProjectRequest) (response *ImportMediaToProjectResponse, err error)
- func (c *Client) ListMedia(request *ListMediaRequest) (response *ListMediaResponse, err error)
- func (c *Client) ListMediaWithContext(ctx context.Context, request *ListMediaRequest) (response *ListMediaResponse, err error)
- func (c *Client) ModifyMaterial(request *ModifyMaterialRequest) (response *ModifyMaterialResponse, err error)
- func (c *Client) ModifyMaterialWithContext(ctx context.Context, request *ModifyMaterialRequest) (response *ModifyMaterialResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyTeam(request *ModifyTeamRequest) (response *ModifyTeamResponse, err error)
- func (c *Client) ModifyTeamMember(request *ModifyTeamMemberRequest) (response *ModifyTeamMemberResponse, err error)
- func (c *Client) ModifyTeamMemberWithContext(ctx context.Context, request *ModifyTeamMemberRequest) (response *ModifyTeamMemberResponse, err error)
- func (c *Client) ModifyTeamWithContext(ctx context.Context, request *ModifyTeamRequest) (response *ModifyTeamResponse, err error)
- func (c *Client) ModifyVideoEncodingPreset(request *ModifyVideoEncodingPresetRequest) (response *ModifyVideoEncodingPresetResponse, err error)
- func (c *Client) ModifyVideoEncodingPresetWithContext(ctx context.Context, request *ModifyVideoEncodingPresetRequest) (response *ModifyVideoEncodingPresetResponse, err error)
- func (c *Client) MoveClass(request *MoveClassRequest) (response *MoveClassResponse, err error)
- func (c *Client) MoveClassWithContext(ctx context.Context, request *MoveClassRequest) (response *MoveClassResponse, err error)
- func (c *Client) MoveResource(request *MoveResourceRequest) (response *MoveResourceResponse, err error)
- func (c *Client) MoveResourceWithContext(ctx context.Context, request *MoveResourceRequest) (response *MoveResourceResponse, err error)
- func (c *Client) ParseEvent(request *ParseEventRequest) (response *ParseEventResponse, err error)
- func (c *Client) ParseEventWithContext(ctx context.Context, request *ParseEventRequest) (response *ParseEventResponse, err error)
- func (c *Client) RevokeResourceAuthorization(request *RevokeResourceAuthorizationRequest) (response *RevokeResourceAuthorizationResponse, err error)
- func (c *Client) RevokeResourceAuthorizationWithContext(ctx context.Context, request *RevokeResourceAuthorizationRequest) (response *RevokeResourceAuthorizationResponse, err error)
- func (c *Client) SearchMaterial(request *SearchMaterialRequest) (response *SearchMaterialResponse, err error)
- func (c *Client) SearchMaterialWithContext(ctx context.Context, request *SearchMaterialRequest) (response *SearchMaterialResponse, err error)
- type CopyProjectRequest
- type CopyProjectRequestParams
- type CopyProjectResponse
- type CopyProjectResponseParams
- type CosPublishInputInfo
- type CreateClassRequest
- type CreateClassRequestParams
- type CreateClassResponse
- type CreateClassResponseParams
- type CreateLinkRequest
- type CreateLinkRequestParams
- type CreateLinkResponse
- type CreateLinkResponseParams
- type CreateProjectRequest
- type CreateProjectRequestParams
- type CreateProjectResponse
- type CreateProjectResponseParams
- type CreateTeamRequest
- type CreateTeamRequestParams
- type CreateTeamResponse
- type CreateTeamResponseParams
- type CreateVideoEncodingPresetRequest
- type CreateVideoEncodingPresetRequestParams
- type CreateVideoEncodingPresetResponse
- type CreateVideoEncodingPresetResponseParams
- type DeleteClassRequest
- type DeleteClassRequestParams
- type DeleteClassResponse
- type DeleteClassResponseParams
- type DeleteLoginStatusRequest
- type DeleteLoginStatusRequestParams
- type DeleteLoginStatusResponse
- type DeleteLoginStatusResponseParams
- type DeleteMaterialRequest
- type DeleteMaterialRequestParams
- type DeleteMaterialResponse
- type DeleteMaterialResponseParams
- type DeleteProjectRequest
- type DeleteProjectRequestParams
- type DeleteProjectResponse
- type DeleteProjectResponseParams
- type DeleteTeamMembersRequest
- type DeleteTeamMembersRequestParams
- type DeleteTeamMembersResponse
- type DeleteTeamMembersResponseParams
- type DeleteTeamRequest
- type DeleteTeamRequestParams
- type DeleteTeamResponse
- type DeleteTeamResponseParams
- type DeleteVideoEncodingPresetRequest
- type DeleteVideoEncodingPresetRequestParams
- type DeleteVideoEncodingPresetResponse
- type DeleteVideoEncodingPresetResponseParams
- type DescribeAccountsRequest
- type DescribeAccountsRequestParams
- type DescribeAccountsResponse
- type DescribeAccountsResponseParams
- type DescribeClassRequest
- type DescribeClassRequestParams
- type DescribeClassResponse
- type DescribeClassResponseParams
- type DescribeJoinTeamsRequest
- type DescribeJoinTeamsRequestParams
- type DescribeJoinTeamsResponse
- type DescribeJoinTeamsResponseParams
- type DescribeLoginStatusRequest
- type DescribeLoginStatusRequestParams
- type DescribeLoginStatusResponse
- type DescribeLoginStatusResponseParams
- type DescribeMaterialsRequest
- type DescribeMaterialsRequestParams
- type DescribeMaterialsResponse
- type DescribeMaterialsResponseParams
- type DescribePlatformsRequest
- type DescribePlatformsRequestParams
- type DescribePlatformsResponse
- type DescribePlatformsResponseParams
- type DescribeProjectsRequest
- type DescribeProjectsRequestParams
- type DescribeProjectsResponse
- type DescribeProjectsResponseParams
- type DescribeResourceAuthorizationRequest
- type DescribeResourceAuthorizationRequestParams
- type DescribeResourceAuthorizationResponse
- type DescribeResourceAuthorizationResponseParams
- type DescribeSharedSpaceRequest
- type DescribeSharedSpaceRequestParams
- type DescribeSharedSpaceResponse
- type DescribeSharedSpaceResponseParams
- type DescribeTaskDetailRequest
- type DescribeTaskDetailRequestParams
- type DescribeTaskDetailResponse
- type DescribeTaskDetailResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeTeamMembersRequest
- type DescribeTeamMembersRequestParams
- type DescribeTeamMembersResponse
- type DescribeTeamMembersResponseParams
- type DescribeTeamsRequest
- type DescribeTeamsRequestParams
- type DescribeTeamsResponse
- type DescribeTeamsResponseParams
- type DescribeVideoEncodingPresetsRequest
- type DescribeVideoEncodingPresetsRequestParams
- type DescribeVideoEncodingPresetsResponse
- type DescribeVideoEncodingPresetsResponseParams
- type EmptyTrackItem
- type Entity
- type EventContent
- type ExportVideoByEditorTrackDataRequest
- type ExportVideoByEditorTrackDataRequestParams
- type ExportVideoByEditorTrackDataResponse
- type ExportVideoByEditorTrackDataResponseParams
- type ExportVideoByTemplateRequest
- type ExportVideoByTemplateRequestParams
- type ExportVideoByTemplateResponse
- type ExportVideoByTemplateResponseParams
- type ExportVideoByVideoSegmentationDataRequest
- type ExportVideoByVideoSegmentationDataRequestParams
- type ExportVideoByVideoSegmentationDataResponse
- type ExportVideoByVideoSegmentationDataResponseParams
- type ExportVideoEditProjectRequest
- type ExportVideoEditProjectRequestParams
- type ExportVideoEditProjectResponse
- type ExportVideoEditProjectResponseParams
- type ExternalMediaInfo
- type FlattenListMediaRequest
- type FlattenListMediaRequestParams
- type FlattenListMediaResponse
- type FlattenListMediaResponseParams
- type GenerateVideoSegmentationSchemeByAiRequest
- type GenerateVideoSegmentationSchemeByAiRequestParams
- type GenerateVideoSegmentationSchemeByAiResponse
- type GenerateVideoSegmentationSchemeByAiResponseParams
- type GrantResourceAuthorizationRequest
- type GrantResourceAuthorizationRequestParams
- type GrantResourceAuthorizationResponse
- type GrantResourceAuthorizationResponseParams
- type HandleMediaCastProjectRequest
- type HandleMediaCastProjectRequestParams
- type HandleMediaCastProjectResponse
- type HandleMediaCastProjectResponseParams
- type HandleStreamConnectProjectRequest
- type HandleStreamConnectProjectRequestParams
- type HandleStreamConnectProjectResponse
- type HandleStreamConnectProjectResponseParams
- type ImageMaterial
- type ImportMaterialRequest
- type ImportMaterialRequestParams
- type ImportMaterialResponse
- type ImportMaterialResponseParams
- type ImportMediaInfo
- type ImportMediaToProjectRequest
- type ImportMediaToProjectRequestParams
- type ImportMediaToProjectResponse
- type ImportMediaToProjectResponseParams
- type IntegerRange
- type JoinTeamInfo
- type KuaishouPublishInfo
- type LinkMaterial
- type LinkMaterialInfo
- type ListMediaRequest
- type ListMediaRequestParams
- type ListMediaResponse
- type ListMediaResponseParams
- type LivePullInputInfo
- type LiveStreamClipProjectInput
- type LoginStatusInfo
- type MaterialAddedEvent
- type MaterialBasicInfo
- type MaterialDeletedEvent
- type MaterialImportedEvent
- type MaterialInfo
- type MaterialModifiedEvent
- type MaterialMovedEvent
- type MaterialStatus
- type MaterialTagInfo
- type MediaCastDestinationInfo
- type MediaCastDestinationInterruptInfo
- type MediaCastDestinationStatus
- type MediaCastOutputMediaSetting
- type MediaCastPlayInfo
- type MediaCastPlaySetting
- type MediaCastProjectInfo
- type MediaCastProjectInput
- type MediaCastSourceInfo
- type MediaCastSourceInterruptInfo
- type MediaCastVideoSetting
- type MediaImageSpriteInfo
- type MediaMetaData
- type MediaPreprocessOperation
- type MediaReplacementInfo
- type MediaTrack
- type MediaTrackItem
- type MediaTransitionItem
- type ModifyMaterialRequest
- type ModifyMaterialRequestParams
- type ModifyMaterialResponse
- type ModifyMaterialResponseParams
- type ModifyProjectRequest
- type ModifyProjectRequestParams
- type ModifyProjectResponse
- type ModifyProjectResponseParams
- type ModifyTeamMemberRequest
- type ModifyTeamMemberRequestParams
- type ModifyTeamMemberResponse
- type ModifyTeamMemberResponseParams
- type ModifyTeamRequest
- type ModifyTeamRequestParams
- type ModifyTeamResponse
- type ModifyTeamResponseParams
- type ModifyVideoEncodingPresetRequest
- type ModifyVideoEncodingPresetRequestParams
- type ModifyVideoEncodingPresetResponse
- type ModifyVideoEncodingPresetResponseParams
- type MoveClassRequest
- type MoveClassRequestParams
- type MoveClassResponse
- type MoveClassResponseParams
- type MoveResourceRequest
- type MoveResourceRequestParams
- type MoveResourceResponse
- type MoveResourceResponseParams
- type OtherMaterial
- type ParseEventRequest
- type ParseEventRequestParams
- type ParseEventResponse
- type ParseEventResponseParams
- type PenguinMediaPlatformPublishInfo
- type PlatformInfo
- type PresetTagInfo
- type ProjectInfo
- type ProjectMediaCastStatusChangedEvent
- type ProjectStreamConnectStatusChangedEvent
- type ProjectSwitcherStatusChangedEvent
- type RecordReplayProjectInput
- type Resource
- type ResourceInfo
- type RevokeResourceAuthorizationRequest
- type RevokeResourceAuthorizationRequestParams
- type RevokeResourceAuthorizationResponse
- type RevokeResourceAuthorizationResponseParams
- type RtmpPushInputInfo
- type SearchMaterialRequest
- type SearchMaterialRequestParams
- type SearchMaterialResponse
- type SearchMaterialResponseParams
- type SearchScope
- type SlotInfo
- type SlotReplacementInfo
- type SortBy
- type StorageNewFileCreatedEvent
- type StreamConnectInputInterruptInfo
- type StreamConnectOutput
- type StreamConnectOutputInfo
- type StreamConnectOutputInterruptInfo
- type StreamConnectProjectInfo
- type StreamConnectProjectInput
- type StreamInputInfo
- type SwitcherPgmOutputConfig
- type SwitcherProjectInput
- type TaskBaseInfo
- type TeamInfo
- type TeamMemberInfo
- type TextReplacementInfo
- type TextSlotInfo
- type ThirdPartyPublishInfo
- type TimeRange
- type VODExportInfo
- type VideoEditProjectInput
- type VideoEditProjectOutput
- type VideoEditTemplateMaterial
- type VideoEncodingPreset
- type VideoEncodingPresetAudioSetting
- type VideoEncodingPresetAudioSettingForUpdate
- type VideoEncodingPresetVideoSetting
- type VideoEncodingPresetVideoSettingForUpdate
- type VideoExportCompletedEvent
- type VideoExportExtensionArgs
- type VideoMaterial
- type VideoSegmentationProjectInput
- type VideoStreamInfo
- type VideoTrackItem
- type VodPullInputInfo
- type VodPullInputPlayInfo
- type WeiboPublishInfo
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 创建录制任务失败。 FAILEDOPERATION_CREATERECORDTASK = "FailedOperation.CreateRecordTask" // 云点播用户无效。 FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" // 直播录制功能暂未对使用腾讯云点播存储的平台开放。 FAILEDOPERATION_RECORDNOTSUPPORT = "FailedOperation.RecordNotSupport" // 转推操作失败。 FAILEDOPERATION_STREAMCONNECT = "FailedOperation.StreamConnect" // 非法操作,导播中正在工作中。 FAILEDOPERATION_SWITCHERONWORKING = "FailedOperation.SwitcherOnWorking" // 内部错误。 INTERNALERROR = "InternalError" // 发起预处理任务失败。 INTERNALERROR_CREATETASK = "InternalError.CreateTask" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 平台参数非法。 INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 画布宽高比不合法。 INVALIDPARAMETERVALUE_ASPECTRATIO = "InvalidParameterValue.AspectRatio" // 画布宽高比不合法。 INVALIDPARAMETERVALUE_ASPECTRATIOSET = "InvalidParameterValue.AspectRatioSet" // 项目类别不合法。 INVALIDPARAMETERVALUE_CATEGORY = "InvalidParameterValue.Category" // 项目类别不合法。 INVALIDPARAMETERVALUE_CATEGORYSET = "InvalidParameterValue.CategorySet" // 分类已存在。 INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" // 分类不为空。 INVALIDPARAMETERVALUE_CLASSNOTEMPTY = "InvalidParameterValue.ClassNotEmpty" // 分类不存在。 INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" // 分类路径不合法。 INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" // 查询不到数据。 INVALIDPARAMETERVALUE_DATANOTFOUNDINDB = "InvalidParameterValue.DataNotFoundInDB" // 模板 ID 无效。 INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" // 目标分类不存在。 INVALIDPARAMETERVALUE_DSTCLASSPATHNOTEXIST = "InvalidParameterValue.DstClassPathNotExist" // 导出目标不合法。 INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" // 拓展信息不合法。 INVALIDPARAMETERVALUE_EXTINFOINVALID = "InvalidParameterValue.ExtInfoInvalid" // 原始媒资信息不存在。 INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" // 转推输入流参数非法。 INVALIDPARAMETERVALUE_INPUT = "InvalidParameterValue.Input" // 返回记录条数不合法。 INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" // 媒体 ID 无效。 INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" // 输入源信息非法。 INVALIDPARAMETERVALUE_MEDIACASTSOURCEINFOSINVALID = "InvalidParameterValue.MediaCastSourceInfosInvalid" // 媒体替换信息无效。 INVALIDPARAMETERVALUE_MEDIAREPLACEMENTINFO = "InvalidParameterValue.MediaReplacementInfo" // 无效的成员列表。 INVALIDPARAMETERVALUE_MEMBERIDS = "InvalidParameterValue.MemberIds" // 团队成员不存在。 INVALIDPARAMETERVALUE_MEMBERNOTEXIST = "InvalidParameterValue.MemberNotExist" // 名称字段编辑错误,需使用 UTF8 编码。 INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" // 名称字段长度超长,限制 30 个中文字符。 INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" // 非团队成员。 INVALIDPARAMETERVALUE_NOTTEAMMEMBERERROR = "InvalidParameterValue.NotTeamMemberError" // 分页偏移不合法。 INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" // 转推操作非法。 INVALIDPARAMETERVALUE_OPERATIONINVALID = "InvalidParameterValue.OperationInvalid" // 无效的操作者。 INVALIDPARAMETERVALUE_OPERATOR = "InvalidParameterValue.Operator" // 归属者 ID 不合法。 INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" // 团队 Owner 的备注不合法。 INVALIDPARAMETERVALUE_OWNERREMARK = "InvalidParameterValue.OwnerRemark" // 归属者类型不合法。 INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" // 平台参数取值错误。 INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" // 预处理模板 ID 无效。 INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = "InvalidParameterValue.PreProcessDefinition" // 项目不存在。 INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" // 轨道素材替换类型无效或不匹配。 INVALIDPARAMETERVALUE_REPLACEMENTTYPE = "InvalidParameterValue.ReplacementType" // 角色不合法。 INVALIDPARAMETERVALUE_ROLE = "InvalidParameterValue.Role" // 排序方式无效。 INVALIDPARAMETERVALUE_SORTORDER = "InvalidParameterValue.SortOrder" // 云转推信息非法。 INVALIDPARAMETERVALUE_STREAMCONNECT = "InvalidParameterValue.StreamConnect" // 转推输入源信息非法。 INVALIDPARAMETERVALUE_STREAMCONNECTINPUTINVALID = "InvalidParameterValue.StreamConnectInputInvalid" // 转推输出源信息非法。 INVALIDPARAMETERVALUE_STREAMCONNECTOUTPUTINVALID = "InvalidParameterValue.StreamConnectOutputInvalid" // 输入流参数错误。 INVALIDPARAMETERVALUE_STREAMINPUT = "InvalidParameterValue.StreamInput" // 导播台项目输入信息无效。 INVALIDPARAMETERVALUE_SWITCHERPROJECTINPUT = "InvalidParameterValue.SwitcherProjectInput" // 任务 Id 无效。 INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" // 团队 ID 已经存在,不能重复创建。 INVALIDPARAMETERVALUE_TEAMID = "InvalidParameterValue.TeamId" // 团队不存在。 INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" // 发布通道 ID 无效。 INVALIDPARAMETERVALUE_THIRDYPARTYPUBLISHCHANNELID = "InvalidParameterValue.ThirdyPartyPublishChannelId" // 轨道数据无效。 INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" // 轨道元素无效。 INVALIDPARAMETERVALUE_TRACKITEM = "InvalidParameterValue.TrackItem" // 视频编辑模板不存在。 INVALIDPARAMETERVALUE_VIDEOEDITTEMPLATEIDNOTEXIST = "InvalidParameterValue.VideoEditTemplateIdNotExist" // 参数缺少 VodFile。 INVALIDPARAMETERVALUE_VODFILEID = "InvalidParameterValue.VodFileId" // 点播文件不存在。 INVALIDPARAMETERVALUE_VODFILENOTEXIST = "InvalidParameterValue.VodFileNotExist" // 绑定的点播子应用无效。 INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 您已超过推流时长限制,若还需使用,请升级会员版本或购买资源包。 LIMITEXCEEDED_BILLITEMLIVEDISPATCHDURATION = "LimitExceeded.BillItemLiveDispatchDuration" // 您已达到转推并发数上限,若还需使用,请升级会员版本或购买资源包。 LIMITEXCEEDED_BILLITEMLIVEDISPATCHMAXCOUNT = "LimitExceeded.BillItemLiveDispatchMaxCount" // 存储空间不足,请查看会员权益,购买资源包或会员版本后继续使用。 LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" // 您已达到导出视频时长上限,若还需使用,请升级会员版本或购买资源包。 LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 权限不足,请检查对应操作者的权限。 OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 平台不存在。 RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" // 平台不存在。 RESOURCENOTFOUND_PLATFORMNOTFOUND = "ResourceNotFound.PlatformNotFound" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" )
const APIVersion = "2019-10-29"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { // 用户 Id。 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户手机号码。 Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // 用户昵称。 Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // 账号状态,取值: // <li>Normal:有效;</li> // <li>Stopped:无效。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type AddMemberInfo ¶
type AddMemberInfo struct { // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 团队成员备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 团队成员角色,不填则默认添加普通成员。可选值: // <li>Admin:团队管理员;</li> // <li>Member:普通成员。</li> Role *string `json:"Role,omitnil,omitempty" name:"Role"` }
type AddTeamMemberRequest ¶
type AddTeamMemberRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 要添加的成员列表,一次最多添加30个成员。 TeamMembers []*AddMemberInfo `json:"TeamMembers,omitnil,omitempty" name:"TeamMembers"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向任意团队中添加成员。如果指定操作者,则操作者必须为管理员或者团队所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewAddTeamMemberRequest ¶
func NewAddTeamMemberRequest() (request *AddTeamMemberRequest)
func (*AddTeamMemberRequest) FromJsonString ¶
func (r *AddTeamMemberRequest) 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 (*AddTeamMemberRequest) ToJsonString ¶
func (r *AddTeamMemberRequest) ToJsonString() string
type AddTeamMemberRequestParams ¶ added in v1.0.426
type AddTeamMemberRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 要添加的成员列表,一次最多添加30个成员。 TeamMembers []*AddMemberInfo `json:"TeamMembers,omitnil,omitempty" name:"TeamMembers"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向任意团队中添加成员。如果指定操作者,则操作者必须为管理员或者团队所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type AddTeamMemberResponse ¶
type AddTeamMemberResponse struct { *tchttp.BaseResponse Response *AddTeamMemberResponseParams `json:"Response"` }
func NewAddTeamMemberResponse ¶
func NewAddTeamMemberResponse() (response *AddTeamMemberResponse)
func (*AddTeamMemberResponse) FromJsonString ¶
func (r *AddTeamMemberResponse) 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 (*AddTeamMemberResponse) ToJsonString ¶
func (r *AddTeamMemberResponse) ToJsonString() string
type AddTeamMemberResponseParams ¶ added in v1.0.426
type AddTeamMemberResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AudioMaterial ¶
type AudioMaterial struct { // 素材元信息。 MetaData *MediaMetaData `json:"MetaData,omitnil,omitempty" name:"MetaData"` // 素材媒体文件的播放 URL 地址。 MaterialUrl *string `json:"MaterialUrl,omitnil,omitempty" name:"MaterialUrl"` // 素材媒体文件的封面图片地址。 CoverUrl *string `json:"CoverUrl,omitnil,omitempty" name:"CoverUrl"` // 素材状态。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialStatus *MaterialStatus `json:"MaterialStatus,omitnil,omitempty" name:"MaterialStatus"` // 素材媒体文件的原始 URL 地址。 OriginalUrl *string `json:"OriginalUrl,omitnil,omitempty" name:"OriginalUrl"` // 云点播媒资 FileId。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` }
type AudioStreamInfo ¶
type AudioTrackItem ¶
type AudioTrackItem struct { // 音频媒体来源类型,取值有: // <ul> // <li>VOD :素材来源于云点播文件 ;</li> // <li>CME :视频来源于制作云媒体文件 ;</li> // <li>EXTERNAL :视频来源于媒资绑定,如果媒体不是存储在腾讯云点播中或者云创中,都需要使用媒资绑定。</li> // </ul> SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 音频媒体,可取值为: // <ul> // <li>当 SourceType 为 VOD 时,参数填云点播 FileId ;</li> // <li>当 SourceType 为 CME 时,参数填多媒体创作引擎媒体 Id;</li> // <li>当 SourceType 为 EXTERNAL 时,目前仅支持外部媒体 URL(如`https://www.example.com/a.mp3`),参数填写规则请参见注意事项。</li> // </ul> // // 注意: // <li>当 SourceType 为 EXTERNAL 并且媒体 URL Scheme 为 `https` 时(如:`https://www.example.com/a.mp3`),参数为:`1000000:www.example.com/a.mp3`。</li> // <li>当 SourceType 为 EXTERNAL 并且媒体 URL Scheme 为 `http` 时(如:`http://www.example.com/b.mp3`),参数为:`1000001:www.example.com/b.mp3`。</li> SourceMedia *string `json:"SourceMedia,omitnil,omitempty" name:"SourceMedia"` // 音频片段取自媒体文件的起始时间,单位为秒。0 表示从媒体开始位置截取。默认为0。 SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitnil,omitempty" name:"SourceMediaStartTime"` // 音频片段的时长,单位为秒。默认和媒体本身长度一致,表示截取全部媒体。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` }
type AuthorizationInfo ¶
type AuthorizationInfo struct { // 被授权者实体。 Authorizee *Entity `json:"Authorizee,omitnil,omitempty" name:"Authorizee"` // 详细授权值。 取值有: // <li>R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中。</li> // <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li> // <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li> // <li>W:可修改、删除媒资。</li> PermissionSet []*string `json:"PermissionSet,omitnil,omitempty" name:"PermissionSet"` }
type Authorizer ¶
type CMEExportInfo ¶
type CMEExportInfo struct { // 导出媒体归属,个人或团队。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 导出的媒体名称,不得超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导出的媒体信息,不得超过50个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 导出的媒体分类路径,长度不能超过15字符。不存在默认创建。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 导出的媒体标签,单个标签不得超过10个字符。 TagSet []*string `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 第三方平台发布信息列表。暂未正式对外,请勿使用。 ThirdPartyPublishInfos []*ThirdPartyPublishInfo `json:"ThirdPartyPublishInfos,omitnil,omitempty" name:"ThirdPartyPublishInfos"` }
type ClassCreatedEvent ¶ added in v1.0.339
type ClassDeletedEvent ¶ added in v1.0.339
type ClassMovedEvent ¶ added in v1.0.339
type ClassMovedEvent struct { // 源分类归属。 SourceOwner *Entity `json:"SourceOwner,omitnil,omitempty" name:"SourceOwner"` // 源分类路径列表。 SourceClassPathSet []*string `json:"SourceClassPathSet,omitnil,omitempty" name:"SourceClassPathSet"` // 目标分类归属。 DestinationOwner *Entity `json:"DestinationOwner,omitnil,omitempty" name:"DestinationOwner"` // 目标分类归属。 DestinationClassPath *string `json:"DestinationClassPath,omitnil,omitempty" name:"DestinationClassPath"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddTeamMember ¶
func (c *Client) AddTeamMember(request *AddTeamMemberRequest) (response *AddTeamMemberResponse, err error)
AddTeamMember 向一个团队中添加团队成员,并且指定成员的角色。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMID = "InvalidParameterValue.TeamId" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AddTeamMemberWithContext ¶ added in v1.0.324
func (c *Client) AddTeamMemberWithContext(ctx context.Context, request *AddTeamMemberRequest) (response *AddTeamMemberResponse, err error)
AddTeamMember 向一个团队中添加团队成员,并且指定成员的角色。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMID = "InvalidParameterValue.TeamId" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CopyProject ¶ added in v1.0.204
func (c *Client) CopyProject(request *CopyProjectRequest) (response *CopyProjectResponse, err error)
CopyProject 复制一个项目,包括项目素材及轨道数据。目前仅普通剪辑及模板制作项目可复制,其它类型的项目不支持复制。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CopyProjectWithContext ¶ added in v1.0.324
func (c *Client) CopyProjectWithContext(ctx context.Context, request *CopyProjectRequest) (response *CopyProjectResponse, err error)
CopyProject 复制一个项目,包括项目素材及轨道数据。目前仅普通剪辑及模板制作项目可复制,其它类型的项目不支持复制。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateClass ¶
func (c *Client) CreateClass(request *CreateClassRequest) (response *CreateClassResponse, err error)
CreateClass 新增分类,用于管理素材。分类层数不能超过20。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateClassWithContext ¶ added in v1.0.324
func (c *Client) CreateClassWithContext(ctx context.Context, request *CreateClassRequest) (response *CreateClassResponse, err error)
CreateClass 新增分类,用于管理素材。分类层数不能超过20。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateLink ¶
func (c *Client) CreateLink(request *CreateLinkRequest) (response *CreateLinkResponse, err error)
CreateLink 创建媒体链接或分类路径链接,将资源信息链接到目标。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateLinkWithContext ¶ added in v1.0.324
func (c *Client) CreateLinkWithContext(ctx context.Context, request *CreateLinkRequest) (response *CreateLinkResponse, err error)
CreateLink 创建媒体链接或分类路径链接,将资源信息链接到目标。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject 创建多媒体创作引擎项目,目前支持的项目类型有:
<li>视频剪辑项目:用于普通视频剪辑;</li>
<li>直播剪辑项目:用于直播流剪辑;</li>
<li>导播台项目:用于云导播台;</li>
<li>视频拆条:用于视频拆条;</li>
<li>录制回放项目:用于直播录制回放;</li>
<li>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>
<li>媒体转推项目:用于媒体文件转直播输出。</li>
可能返回的错误码:
FAILEDOPERATION_CREATERECORDTASK = "FailedOperation.CreateRecordTask" FAILEDOPERATION_RECORDNOTSUPPORT = "FailedOperation.RecordNotSupport" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ASPECTRATIO = "InvalidParameterValue.AspectRatio" INVALIDPARAMETERVALUE_CATEGORY = "InvalidParameterValue.Category" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_SWITCHERPROJECTINPUT = "InvalidParameterValue.SwitcherProjectInput" INVALIDPARAMETERVALUE_TRACKITEM = "InvalidParameterValue.TrackItem" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateProjectWithContext ¶ added in v1.0.324
func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject 创建多媒体创作引擎项目,目前支持的项目类型有:
<li>视频剪辑项目:用于普通视频剪辑;</li>
<li>直播剪辑项目:用于直播流剪辑;</li>
<li>导播台项目:用于云导播台;</li>
<li>视频拆条:用于视频拆条;</li>
<li>录制回放项目:用于直播录制回放;</li>
<li>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>
<li>媒体转推项目:用于媒体文件转直播输出。</li>
可能返回的错误码:
FAILEDOPERATION_CREATERECORDTASK = "FailedOperation.CreateRecordTask" FAILEDOPERATION_RECORDNOTSUPPORT = "FailedOperation.RecordNotSupport" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ASPECTRATIO = "InvalidParameterValue.AspectRatio" INVALIDPARAMETERVALUE_CATEGORY = "InvalidParameterValue.Category" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_SWITCHERPROJECTINPUT = "InvalidParameterValue.SwitcherProjectInput" INVALIDPARAMETERVALUE_TRACKITEM = "InvalidParameterValue.TrackItem" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTeam ¶
func (c *Client) CreateTeam(request *CreateTeamRequest) (response *CreateTeamResponse, err error)
CreateTeam 创建一个团队。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OWNERREMARK = "InvalidParameterValue.OwnerRemark" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMID = "InvalidParameterValue.TeamId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateTeamWithContext ¶ added in v1.0.324
func (c *Client) CreateTeamWithContext(ctx context.Context, request *CreateTeamRequest) (response *CreateTeamResponse, err error)
CreateTeam 创建一个团队。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OWNERREMARK = "InvalidParameterValue.OwnerRemark" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMID = "InvalidParameterValue.TeamId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateVideoEncodingPreset ¶ added in v1.0.293
func (c *Client) CreateVideoEncodingPreset(request *CreateVideoEncodingPresetRequest) (response *CreateVideoEncodingPresetResponse, err error)
CreateVideoEncodingPreset 指定导出的参数,创建一个视频编码配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) CreateVideoEncodingPresetWithContext ¶ added in v1.0.324
func (c *Client) CreateVideoEncodingPresetWithContext(ctx context.Context, request *CreateVideoEncodingPresetRequest) (response *CreateVideoEncodingPresetResponse, err error)
CreateVideoEncodingPreset 指定导出的参数,创建一个视频编码配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DeleteClass ¶
func (c *Client) DeleteClass(request *DeleteClassRequest) (response *DeleteClassResponse, err error)
DeleteClass 删除分类信息,删除时检验下述限制:
<li>分类路径必须存在;</li>
<li>分类下没有绑定素材。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEMPTY = "InvalidParameterValue.ClassNotEmpty" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteClassWithContext ¶ added in v1.0.324
func (c *Client) DeleteClassWithContext(ctx context.Context, request *DeleteClassRequest) (response *DeleteClassResponse, err error)
DeleteClass 删除分类信息,删除时检验下述限制:
<li>分类路径必须存在;</li>
<li>分类下没有绑定素材。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEMPTY = "InvalidParameterValue.ClassNotEmpty" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoginStatus ¶
func (c *Client) DeleteLoginStatus(request *DeleteLoginStatusRequest) (response *DeleteLoginStatusResponse, err error)
DeleteLoginStatus 删除用户登录态,使用户登出多媒体创作引擎平台。
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLoginStatusWithContext ¶ added in v1.0.324
func (c *Client) DeleteLoginStatusWithContext(ctx context.Context, request *DeleteLoginStatusRequest) (response *DeleteLoginStatusResponse, err error)
DeleteLoginStatus 删除用户登录态,使用户登出多媒体创作引擎平台。
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMaterial ¶
func (c *Client) DeleteMaterial(request *DeleteMaterialRequest) (response *DeleteMaterialResponse, err error)
DeleteMaterial 根据媒体 Id 删除媒体。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMaterialWithContext ¶ added in v1.0.324
func (c *Client) DeleteMaterialWithContext(ctx context.Context, request *DeleteMaterialRequest) (response *DeleteMaterialResponse, err error)
DeleteMaterial 根据媒体 Id 删除媒体。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject 删除项目。处于推流状态的云转推和点播转直播项目不允许删除,若强行调用删除项目接口会返回失败。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SWITCHERONWORKING = "FailedOperation.SwitcherOnWorking" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteProjectWithContext ¶ added in v1.0.324
func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject 删除项目。处于推流状态的云转推和点播转直播项目不允许删除,若强行调用删除项目接口会返回失败。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SWITCHERONWORKING = "FailedOperation.SwitcherOnWorking" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTeam ¶
func (c *Client) DeleteTeam(request *DeleteTeamRequest) (response *DeleteTeamResponse, err error)
DeleteTeam 删除一个团队。要删除团队,必须满足以下条件:
<li>要删除的团队必须没有归属的素材;</li>
<li>要删除的团队必须没有归属的分类。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteTeamMembers ¶
func (c *Client) DeleteTeamMembers(request *DeleteTeamMembersRequest) (response *DeleteTeamMembersResponse, err error)
DeleteTeamMembers 将团队成员从团队中删除。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MEMBERIDS = "InvalidParameterValue.MemberIds" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DeleteTeamMembersWithContext ¶ added in v1.0.324
func (c *Client) DeleteTeamMembersWithContext(ctx context.Context, request *DeleteTeamMembersRequest) (response *DeleteTeamMembersResponse, err error)
DeleteTeamMembers 将团队成员从团队中删除。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MEMBERIDS = "InvalidParameterValue.MemberIds" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DeleteTeamWithContext ¶ added in v1.0.324
func (c *Client) DeleteTeamWithContext(ctx context.Context, request *DeleteTeamRequest) (response *DeleteTeamResponse, err error)
DeleteTeam 删除一个团队。要删除团队,必须满足以下条件:
<li>要删除的团队必须没有归属的素材;</li>
<li>要删除的团队必须没有归属的分类。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteVideoEncodingPreset ¶ added in v1.0.293
func (c *Client) DeleteVideoEncodingPreset(request *DeleteVideoEncodingPresetRequest) (response *DeleteVideoEncodingPresetResponse, err error)
DeleteVideoEncodingPreset 删除指定 ID 的视频编码配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DeleteVideoEncodingPresetWithContext ¶ added in v1.0.324
func (c *Client) DeleteVideoEncodingPresetWithContext(ctx context.Context, request *DeleteVideoEncodingPresetRequest) (response *DeleteVideoEncodingPresetResponse, err error)
DeleteVideoEncodingPreset 删除指定 ID 的视频编码配置
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 获取平台中所有的已注册账号。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" RESOURCENOTFOUND_PLATFORMNOTFOUND = "ResourceNotFound.PlatformNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAccountsWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts 获取平台中所有的已注册账号。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" RESOURCENOTFOUND_PLATFORMNOTFOUND = "ResourceNotFound.PlatformNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClass ¶
func (c *Client) DescribeClass(request *DescribeClassRequest) (response *DescribeClassResponse, err error)
DescribeClass 获取指定归属者下所有的分类信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeClassWithContext ¶ added in v1.0.324
func (c *Client) DescribeClassWithContext(ctx context.Context, request *DescribeClassRequest) (response *DescribeClassResponse, err error)
DescribeClass 获取指定归属者下所有的分类信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeJoinTeams ¶
func (c *Client) DescribeJoinTeams(request *DescribeJoinTeamsRequest) (response *DescribeJoinTeamsResponse, err error)
DescribeJoinTeams 获取用户所加入的团队列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeJoinTeamsWithContext ¶ added in v1.0.324
func (c *Client) DescribeJoinTeamsWithContext(ctx context.Context, request *DescribeJoinTeamsRequest) (response *DescribeJoinTeamsResponse, err error)
DescribeJoinTeams 获取用户所加入的团队列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoginStatus ¶
func (c *Client) DescribeLoginStatus(request *DescribeLoginStatusRequest) (response *DescribeLoginStatusResponse, err error)
DescribeLoginStatus 查询指定用户的登录态。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLoginStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeLoginStatusWithContext(ctx context.Context, request *DescribeLoginStatusRequest) (response *DescribeLoginStatusResponse, err error)
DescribeLoginStatus 查询指定用户的登录态。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMaterials ¶
func (c *Client) DescribeMaterials(request *DescribeMaterialsRequest) (response *DescribeMaterialsResponse, err error)
DescribeMaterials 根据媒体 Id 批量获取媒体详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMaterialsWithContext ¶ added in v1.0.324
func (c *Client) DescribeMaterialsWithContext(ctx context.Context, request *DescribeMaterialsRequest) (response *DescribeMaterialsResponse, err error)
DescribeMaterials 根据媒体 Id 批量获取媒体详情。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribePlatforms ¶
func (c *Client) DescribePlatforms(request *DescribePlatformsRequest) (response *DescribePlatformsResponse, err error)
DescribePlatforms <li>支持获取所创建的所有平台列表信息;</li>
<li>支持获取指定的平台列表信息。</li>
关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribePlatformsWithContext ¶ added in v1.0.324
func (c *Client) DescribePlatformsWithContext(ctx context.Context, request *DescribePlatformsRequest) (response *DescribePlatformsResponse, err error)
DescribePlatforms <li>支持获取所创建的所有平台列表信息;</li>
<li>支持获取指定的平台列表信息。</li>
关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProjects ¶
func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects 支持根据多种条件过滤出项目列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ASPECTRATIOSET = "InvalidParameterValue.AspectRatioSet" INVALIDPARAMETERVALUE_CATEGORYSET = "InvalidParameterValue.CategorySet" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_SORTORDER = "InvalidParameterValue.SortOrder" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProjectsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects 支持根据多种条件过滤出项目列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ASPECTRATIOSET = "InvalidParameterValue.AspectRatioSet" INVALIDPARAMETERVALUE_CATEGORYSET = "InvalidParameterValue.CategorySet" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_SORTORDER = "InvalidParameterValue.SortOrder" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeResourceAuthorization ¶
func (c *Client) DescribeResourceAuthorization(request *DescribeResourceAuthorizationRequest) (response *DescribeResourceAuthorizationResponse, err error)
DescribeResourceAuthorization 查询资源被授权的情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeResourceAuthorizationWithContext ¶ added in v1.0.324
func (c *Client) DescribeResourceAuthorizationWithContext(ctx context.Context, request *DescribeResourceAuthorizationRequest) (response *DescribeResourceAuthorizationResponse, err error)
DescribeResourceAuthorization 查询资源被授权的情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSharedSpace ¶
func (c *Client) DescribeSharedSpace(request *DescribeSharedSpaceRequest) (response *DescribeSharedSpaceResponse, err error)
DescribeSharedSpace 获取共享空间。当个人或团队A对个人或团队B授权某资源以后,个人或团队B的共享空间就会增加个人或团队A。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSharedSpaceWithContext ¶ added in v1.0.324
func (c *Client) DescribeSharedSpaceWithContext(ctx context.Context, request *DescribeSharedSpaceRequest) (response *DescribeSharedSpaceResponse, err error)
DescribeSharedSpace 获取共享空间。当个人或团队A对个人或团队B授权某资源以后,个人或团队B的共享空间就会增加个人或团队A。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTaskDetail ¶
func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail 获取任务详情信息,包含下面几个部分:
<li>任务基础信息:包括任务状态、错误信息、创建时间等;</li>
<li>导出项目输出信息:包括输出的素材 Id 等。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTaskDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)
DescribeTaskDetail 获取任务详情信息,包含下面几个部分:
<li>任务基础信息:包括任务状态、错误信息、创建时间等;</li>
<li>导出项目输出信息:包括输出的素材 Id 等。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 获取任务列表,支持条件筛选,返回对应的任务基础信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 获取任务列表,支持条件筛选,返回对应的任务基础信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTeamMembers ¶
func (c *Client) DescribeTeamMembers(request *DescribeTeamMembersRequest) (response *DescribeTeamMembersResponse, err error)
DescribeTeamMembers 获取指定团队的成员信息。支持获取指定成员的信息,同时也支持分页拉取指定团队的所有成员信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTeamMembersWithContext ¶ added in v1.0.324
func (c *Client) DescribeTeamMembersWithContext(ctx context.Context, request *DescribeTeamMembersRequest) (response *DescribeTeamMembersResponse, err error)
DescribeTeamMembers 获取指定团队的成员信息。支持获取指定成员的信息,同时也支持分页拉取指定团队的所有成员信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTeams ¶
func (c *Client) DescribeTeams(request *DescribeTeamsRequest) (response *DescribeTeamsResponse, err error)
DescribeTeams 获取指定团队的信息,拉取团队信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeTeamsWithContext ¶ added in v1.0.324
func (c *Client) DescribeTeamsWithContext(ctx context.Context, request *DescribeTeamsRequest) (response *DescribeTeamsResponse, err error)
DescribeTeams 获取指定团队的信息,拉取团队信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeVideoEncodingPresets ¶ added in v1.0.293
func (c *Client) DescribeVideoEncodingPresets(request *DescribeVideoEncodingPresetsRequest) (response *DescribeVideoEncodingPresetsResponse, err error)
DescribeVideoEncodingPresets 查询视频编码配置信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) DescribeVideoEncodingPresetsWithContext ¶ added in v1.0.324
func (c *Client) DescribeVideoEncodingPresetsWithContext(ctx context.Context, request *DescribeVideoEncodingPresetsRequest) (response *DescribeVideoEncodingPresetsResponse, err error)
DescribeVideoEncodingPresets 查询视频编码配置信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ExportVideoByEditorTrackData ¶
func (c *Client) ExportVideoByEditorTrackData(request *ExportVideoByEditorTrackDataRequest) (response *ExportVideoByEditorTrackDataResponse, err error)
ExportVideoByEditorTrackData 使用 [视频合成协议](https://cloud.tencent.com/document/product/1156/51225) 合成视频,支持导出视频到 CME 云媒资或者云点播媒资。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_THIRDYPARTYPUBLISHCHANNELID = "InvalidParameterValue.ThirdyPartyPublishChannelId" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExportVideoByEditorTrackDataWithContext ¶ added in v1.0.324
func (c *Client) ExportVideoByEditorTrackDataWithContext(ctx context.Context, request *ExportVideoByEditorTrackDataRequest) (response *ExportVideoByEditorTrackDataResponse, err error)
ExportVideoByEditorTrackData 使用 [视频合成协议](https://cloud.tencent.com/document/product/1156/51225) 合成视频,支持导出视频到 CME 云媒资或者云点播媒资。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_THIRDYPARTYPUBLISHCHANNELID = "InvalidParameterValue.ThirdyPartyPublishChannelId" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExportVideoByTemplate ¶
func (c *Client) ExportVideoByTemplate(request *ExportVideoByTemplateRequest) (response *ExportVideoByTemplateResponse, err error)
ExportVideoByTemplate 使用视频剪辑模板直接导出视频。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_MEDIAREPLACEMENTINFO = "InvalidParameterValue.MediaReplacementInfo" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_REPLACEMENTTYPE = "InvalidParameterValue.ReplacementType" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VIDEOEDITTEMPLATEIDNOTEXIST = "InvalidParameterValue.VideoEditTemplateIdNotExist" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ExportVideoByTemplateWithContext ¶ added in v1.0.324
func (c *Client) ExportVideoByTemplateWithContext(ctx context.Context, request *ExportVideoByTemplateRequest) (response *ExportVideoByTemplateResponse, err error)
ExportVideoByTemplate 使用视频剪辑模板直接导出视频。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_MEDIAREPLACEMENTINFO = "InvalidParameterValue.MediaReplacementInfo" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_REPLACEMENTTYPE = "InvalidParameterValue.ReplacementType" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VIDEOEDITTEMPLATEIDNOTEXIST = "InvalidParameterValue.VideoEditTemplateIdNotExist" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ExportVideoByVideoSegmentationData ¶
func (c *Client) ExportVideoByVideoSegmentationData(request *ExportVideoByVideoSegmentationDataRequest) (response *ExportVideoByVideoSegmentationDataResponse, err error)
ExportVideoByVideoSegmentationData 使用视频智能拆条数据导出视频,将指定的视频拆条片段导出为一个视频(内测中,请勿使用)。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ExportVideoByVideoSegmentationDataWithContext ¶ added in v1.0.324
func (c *Client) ExportVideoByVideoSegmentationDataWithContext(ctx context.Context, request *ExportVideoByVideoSegmentationDataRequest) (response *ExportVideoByVideoSegmentationDataResponse, err error)
ExportVideoByVideoSegmentationData 使用视频智能拆条数据导出视频,将指定的视频拆条片段导出为一个视频(内测中,请勿使用)。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ExportVideoEditProject ¶
func (c *Client) ExportVideoEditProject(request *ExportVideoEditProjectRequest) (response *ExportVideoEditProjectResponse, err error)
ExportVideoEditProject 导出视频编辑项目,支持指定输出的模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_THIRDYPARTYPUBLISHCHANNELID = "InvalidParameterValue.ThirdyPartyPublishChannelId" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ExportVideoEditProjectWithContext ¶ added in v1.0.324
func (c *Client) ExportVideoEditProjectWithContext(ctx context.Context, request *ExportVideoEditProjectRequest) (response *ExportVideoEditProjectResponse, err error)
ExportVideoEditProject 导出视频编辑项目,支持指定输出的模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition" INVALIDPARAMETERVALUE_EXPORTDESTINATION = "InvalidParameterValue.ExportDestination" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_THIRDYPARTYPUBLISHCHANNELID = "InvalidParameterValue.ThirdyPartyPublishChannelId" INVALIDPARAMETERVALUE_TRACKDATA = "InvalidParameterValue.TrackData" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" LIMITEXCEEDED_BILLITEMSTORAGE = "LimitExceeded.BillItemStorage" LIMITEXCEEDED_BILLITEMVIDEOEDITEXPORTDURATION = "LimitExceeded.BillItemVideoEditExportDuration" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) FlattenListMedia ¶
func (c *Client) FlattenListMedia(request *FlattenListMediaRequest) (response *FlattenListMediaResponse, err error)
FlattenListMedia 平铺分类路径下及其子分类下的所有媒体基础信息,返回当前分类及子分类中的所有媒体的基础信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) FlattenListMediaWithContext ¶ added in v1.0.324
func (c *Client) FlattenListMediaWithContext(ctx context.Context, request *FlattenListMediaRequest) (response *FlattenListMediaResponse, err error)
FlattenListMedia 平铺分类路径下及其子分类下的所有媒体基础信息,返回当前分类及子分类中的所有媒体的基础信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) GenerateVideoSegmentationSchemeByAi ¶
func (c *Client) GenerateVideoSegmentationSchemeByAi(request *GenerateVideoSegmentationSchemeByAiRequest) (response *GenerateVideoSegmentationSchemeByAiResponse, err error)
GenerateVideoSegmentationSchemeByAi <li>发起视频智能拆条任务,支持智能生成和平精英集锦、王者荣耀集锦、足球集锦、篮球集锦 、人物集锦、新闻拆条等任务。</li>
<li>和平精英集锦和王者荣耀集锦根据击杀场景进行拆条,足球集锦和篮球集锦根据进球场景进行拆条,人物集锦根据人物人脸特征进行拆条,新闻拆条根据导播进行拆条。</li>
<li>【本接口内测中,暂不建议使用】</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) GenerateVideoSegmentationSchemeByAiWithContext ¶ added in v1.0.324
func (c *Client) GenerateVideoSegmentationSchemeByAiWithContext(ctx context.Context, request *GenerateVideoSegmentationSchemeByAiRequest) (response *GenerateVideoSegmentationSchemeByAiResponse, err error)
GenerateVideoSegmentationSchemeByAi <li>发起视频智能拆条任务,支持智能生成和平精英集锦、王者荣耀集锦、足球集锦、篮球集锦 、人物集锦、新闻拆条等任务。</li>
<li>和平精英集锦和王者荣耀集锦根据击杀场景进行拆条,足球集锦和篮球集锦根据进球场景进行拆条,人物集锦根据人物人脸特征进行拆条,新闻拆条根据导播进行拆条。</li>
<li>【本接口内测中,暂不建议使用】</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) GrantResourceAuthorization ¶
func (c *Client) GrantResourceAuthorization(request *GrantResourceAuthorizationRequest) (response *GrantResourceAuthorizationResponse, err error)
GrantResourceAuthorization 资源归属者对个人或团队授予目标资源的相应权限。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) GrantResourceAuthorizationWithContext ¶ added in v1.0.324
func (c *Client) GrantResourceAuthorizationWithContext(ctx context.Context, request *GrantResourceAuthorizationRequest) (response *GrantResourceAuthorizationResponse, err error)
GrantResourceAuthorization 资源归属者对个人或团队授予目标资源的相应权限。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) HandleMediaCastProject ¶ added in v1.0.624
func (c *Client) HandleMediaCastProject(request *HandleMediaCastProjectRequest) (response *HandleMediaCastProjectResponse, err error)
HandleMediaCastProject 对媒体转推项目进行操作。
### 操作类型<a id="Operation"></a>
- `AddSource`(添加输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B9-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.85.A5.E6.BA.90);
- `DeleteSource`(删除输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B6-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);
- `SwitchSource`(切换当前播放的输入源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B5-.E5.88.87.E6.8D.A2.E5.BD.93.E5.89.8D.E6.92.AD.E6.94.BE.E7.9A.84.E8.BE.93.E5.85.A5.E6.BA.90)
- `AddDestination`( 添加输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);
- `DeleteDestination`(删除输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B7-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);
- `EnableDestination`(启动输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);
- `DisableDestination`(停止输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B4-.E5.81.9C.E6.AD.A2.E8.BE.93.E5.87.BA.E6.BA.90);
- `ModifyDestination`(修改输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B2-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);
- `Start`(启动媒体转推),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B12-.E5.90.AF.E5.8A.A8.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8)。发起 Start 请求成功后,媒体转推项目开始启动,30秒内还需要再进行一次 Confirm操作进行确认;
- `Confirm`(确认媒体转推项目启动),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B14-.E7.A1.AE.E8.AE.A4.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E5.90.AF.E5.8A.A8);
- `Stop`(停止媒体转推),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B11-.E5.81.9C.E6.AD.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8);
- `ModifyOutputMediaSetting`(修改媒体输出配置),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B3-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E7.9A.84.E5.AA.92.E4.BD.93.E9.85.8D.E7.BD.AE);
- `ModifyPlaySetting`(修改播放结束时间),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B1-.E4.BF.AE.E6.94.B9.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);
- `DescribePlayInfo`(查询播放信息),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B13-.E6.9F.A5.E8.AF.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E7.9A.84.E6.92.AD.E6.94.BE.E4.BF.A1.E6.81.AF)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MEDIACASTSOURCEINFOSINVALID = "InvalidParameterValue.MediaCastSourceInfosInvalid" INVALIDPARAMETERVALUE_OPERATIONINVALID = "InvalidParameterValue.OperationInvalid" INVALIDPARAMETERVALUE_OPERATOR = "InvalidParameterValue.Operator" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) HandleMediaCastProjectWithContext ¶ added in v1.0.624
func (c *Client) HandleMediaCastProjectWithContext(ctx context.Context, request *HandleMediaCastProjectRequest) (response *HandleMediaCastProjectResponse, err error)
HandleMediaCastProject 对媒体转推项目进行操作。
### 操作类型<a id="Operation"></a>
- `AddSource`(添加输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B9-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.85.A5.E6.BA.90);
- `DeleteSource`(删除输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B6-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);
- `SwitchSource`(切换当前播放的输入源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B5-.E5.88.87.E6.8D.A2.E5.BD.93.E5.89.8D.E6.92.AD.E6.94.BE.E7.9A.84.E8.BE.93.E5.85.A5.E6.BA.90)
- `AddDestination`( 添加输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);
- `DeleteDestination`(删除输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B7-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);
- `EnableDestination`(启动输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);
- `DisableDestination`(停止输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B4-.E5.81.9C.E6.AD.A2.E8.BE.93.E5.87.BA.E6.BA.90);
- `ModifyDestination`(修改输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B2-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);
- `Start`(启动媒体转推),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B12-.E5.90.AF.E5.8A.A8.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8)。发起 Start 请求成功后,媒体转推项目开始启动,30秒内还需要再进行一次 Confirm操作进行确认;
- `Confirm`(确认媒体转推项目启动),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B14-.E7.A1.AE.E8.AE.A4.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E5.90.AF.E5.8A.A8);
- `Stop`(停止媒体转推),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B11-.E5.81.9C.E6.AD.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8);
- `ModifyOutputMediaSetting`(修改媒体输出配置),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B3-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E7.9A.84.E5.AA.92.E4.BD.93.E9.85.8D.E7.BD.AE);
- `ModifyPlaySetting`(修改播放结束时间),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B1-.E4.BF.AE.E6.94.B9.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);
- `DescribePlayInfo`(查询播放信息),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B13-.E6.9F.A5.E8.AF.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E7.9A.84.E6.92.AD.E6.94.BE.E4.BF.A1.E6.81.AF)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MEDIACASTSOURCEINFOSINVALID = "InvalidParameterValue.MediaCastSourceInfosInvalid" INVALIDPARAMETERVALUE_OPERATIONINVALID = "InvalidParameterValue.OperationInvalid" INVALIDPARAMETERVALUE_OPERATOR = "InvalidParameterValue.Operator" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) HandleStreamConnectProject ¶
func (c *Client) HandleStreamConnectProject(request *HandleStreamConnectProjectRequest) (response *HandleStreamConnectProjectResponse, err error)
HandleStreamConnectProject <font color=red>本接口废弃,可创建媒体转推项目替代,操作媒体转推项目可使用 <b>[HandleMediaCastProject 接口](/document/product/1156/87841) </b>实现。</font>
### 操作类型<a id="Operation"></a>
- `AddInput`(添加输入源),包括:
添加直播拉流输入源,参见 [示例1](#.E7.A4.BA.E4.BE.8B1-.E6.B7.BB.E5.8A.A0.E7.9B.B4.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90);
添加直播推流输入源,参见 [示例2](#.E7.A4.BA.E4.BE.8B2-.E6.B7.BB.E5.8A.A0.E7.9B.B4.E6.92.AD.E6.8E.A8.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90);
添加点播拉流输入源,参见 [示例3](#.E7.A4.BA.E4.BE.8B3-.E6.B7.BB.E5.8A.A0.E7.82.B9.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90.E4.B8.94.E5.BE.AA.E7.8E.AF.E6.92.AD.E6.94.BE)、[示例4](#.E7.A4.BA.E4.BE.8B4-.E6.B7.BB.E5.8A.A0.E7.82.B9.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90.E4.B8.94.E5.8D.95.E6.AC.A1.E6.92.AD.E6.94.BE);
- `DeleteInput`(删除输入源),参见 [示例5](#.E7.A4.BA.E4.BE.8B5-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);
- `ModifyInput`(修改输入源),参见 [示例6](#.E7.A4.BA.E4.BE.8B6-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.85.A5.E6.BA.90);
- `AddOutput`( 添加输出源),参见 [示例7](#.E7.A4.BA.E4.BE.8B7-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.87.BA.E6.BA.90);
- `DeleteOutput`(删除输出源),参见 [示例8](#.E7.A4.BA.E4.BE.8B8-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);
- `ModifyOutput`(修改输出源),参见 [示例9](#.E7.A4.BA.E4.BE.8B9-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);
- `Start`(开启转推),参见 [示例10](#.E7.A4.BA.E4.BE.8B10-.E5.BC.80.E5.90.AF.E4.BA.91.E8.BD.AC.E6.8E.A8);
- `Stop`(停止转推),参见 [示例11](#.E7.A4.BA.E4.BE.8B11-.E5.81.9C.E6.AD.A2.E4.BA.91.E8.BD.AC.E6.8E.A8);
- `SwitchInput`(切换输入源),参见 [示例12](#.E7.A4.BA.E4.BE.8B12-.E5.88.87.E6.8D.A2.E8.BE.93.E5.85.A5.E6.BA.90);
- `ModifyCurrentStopTime`(修改当前计划结束时间),参见 [示例13](#.E7.A4.BA.E4.BE.8B13-.E4.BF.AE.E6.94.B9.E8.BD.AC.E6.8E.A8.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);
- `DescribeInputPlayInfo`(查询播放进度),参见 [示例14](#.E7.A4.BA.E4.BE.8B14-.E6.9F.A5.E8.AF.A2.E7.82.B9.E6.92.AD.E8.BE.93.E5.85.A5.E6.BA.90.E6.92.AD.E6.94.BE.E8.BF.9B.E5.BA.A6)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_STREAMCONNECT = "FailedOperation.StreamConnect" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CATEGORY = "InvalidParameterValue.Category" INVALIDPARAMETERVALUE_EXTINFOINVALID = "InvalidParameterValue.ExtInfoInvalid" INVALIDPARAMETERVALUE_INPUT = "InvalidParameterValue.Input" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_STREAMCONNECT = "InvalidParameterValue.StreamConnect" INVALIDPARAMETERVALUE_STREAMCONNECTINPUTINVALID = "InvalidParameterValue.StreamConnectInputInvalid" INVALIDPARAMETERVALUE_STREAMCONNECTOUTPUTINVALID = "InvalidParameterValue.StreamConnectOutputInvalid" INVALIDPARAMETERVALUE_STREAMINPUT = "InvalidParameterValue.StreamInput" LIMITEXCEEDED_BILLITEMLIVEDISPATCHDURATION = "LimitExceeded.BillItemLiveDispatchDuration" LIMITEXCEEDED_BILLITEMLIVEDISPATCHMAXCOUNT = "LimitExceeded.BillItemLiveDispatchMaxCount" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) HandleStreamConnectProjectWithContext ¶ added in v1.0.324
func (c *Client) HandleStreamConnectProjectWithContext(ctx context.Context, request *HandleStreamConnectProjectRequest) (response *HandleStreamConnectProjectResponse, err error)
HandleStreamConnectProject <font color=red>本接口废弃,可创建媒体转推项目替代,操作媒体转推项目可使用 <b>[HandleMediaCastProject 接口](/document/product/1156/87841) </b>实现。</font>
### 操作类型<a id="Operation"></a>
- `AddInput`(添加输入源),包括:
添加直播拉流输入源,参见 [示例1](#.E7.A4.BA.E4.BE.8B1-.E6.B7.BB.E5.8A.A0.E7.9B.B4.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90);
添加直播推流输入源,参见 [示例2](#.E7.A4.BA.E4.BE.8B2-.E6.B7.BB.E5.8A.A0.E7.9B.B4.E6.92.AD.E6.8E.A8.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90);
添加点播拉流输入源,参见 [示例3](#.E7.A4.BA.E4.BE.8B3-.E6.B7.BB.E5.8A.A0.E7.82.B9.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90.E4.B8.94.E5.BE.AA.E7.8E.AF.E6.92.AD.E6.94.BE)、[示例4](#.E7.A4.BA.E4.BE.8B4-.E6.B7.BB.E5.8A.A0.E7.82.B9.E6.92.AD.E6.8B.89.E6.B5.81.E8.BE.93.E5.85.A5.E6.BA.90.E4.B8.94.E5.8D.95.E6.AC.A1.E6.92.AD.E6.94.BE);
- `DeleteInput`(删除输入源),参见 [示例5](#.E7.A4.BA.E4.BE.8B5-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);
- `ModifyInput`(修改输入源),参见 [示例6](#.E7.A4.BA.E4.BE.8B6-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.85.A5.E6.BA.90);
- `AddOutput`( 添加输出源),参见 [示例7](#.E7.A4.BA.E4.BE.8B7-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.87.BA.E6.BA.90);
- `DeleteOutput`(删除输出源),参见 [示例8](#.E7.A4.BA.E4.BE.8B8-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);
- `ModifyOutput`(修改输出源),参见 [示例9](#.E7.A4.BA.E4.BE.8B9-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);
- `Start`(开启转推),参见 [示例10](#.E7.A4.BA.E4.BE.8B10-.E5.BC.80.E5.90.AF.E4.BA.91.E8.BD.AC.E6.8E.A8);
- `Stop`(停止转推),参见 [示例11](#.E7.A4.BA.E4.BE.8B11-.E5.81.9C.E6.AD.A2.E4.BA.91.E8.BD.AC.E6.8E.A8);
- `SwitchInput`(切换输入源),参见 [示例12](#.E7.A4.BA.E4.BE.8B12-.E5.88.87.E6.8D.A2.E8.BE.93.E5.85.A5.E6.BA.90);
- `ModifyCurrentStopTime`(修改当前计划结束时间),参见 [示例13](#.E7.A4.BA.E4.BE.8B13-.E4.BF.AE.E6.94.B9.E8.BD.AC.E6.8E.A8.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);
- `DescribeInputPlayInfo`(查询播放进度),参见 [示例14](#.E7.A4.BA.E4.BE.8B14-.E6.9F.A5.E8.AF.A2.E7.82.B9.E6.92.AD.E8.BE.93.E5.85.A5.E6.BA.90.E6.92.AD.E6.94.BE.E8.BF.9B.E5.BA.A6)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_STREAMCONNECT = "FailedOperation.StreamConnect" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CATEGORY = "InvalidParameterValue.Category" INVALIDPARAMETERVALUE_EXTINFOINVALID = "InvalidParameterValue.ExtInfoInvalid" INVALIDPARAMETERVALUE_INPUT = "InvalidParameterValue.Input" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_STREAMCONNECT = "InvalidParameterValue.StreamConnect" INVALIDPARAMETERVALUE_STREAMCONNECTINPUTINVALID = "InvalidParameterValue.StreamConnectInputInvalid" INVALIDPARAMETERVALUE_STREAMCONNECTOUTPUTINVALID = "InvalidParameterValue.StreamConnectOutputInvalid" INVALIDPARAMETERVALUE_STREAMINPUT = "InvalidParameterValue.StreamInput" LIMITEXCEEDED_BILLITEMLIVEDISPATCHDURATION = "LimitExceeded.BillItemLiveDispatchDuration" LIMITEXCEEDED_BILLITEMLIVEDISPATCHMAXCOUNT = "LimitExceeded.BillItemLiveDispatchMaxCount" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ImportMaterial ¶
func (c *Client) ImportMaterial(request *ImportMaterialRequest) (response *ImportMaterialResponse, err error)
ImportMaterial 将云点播媒资文件导入到多媒体创作引擎媒体资源库。支持导入媒体归属团队或者个人。
可能返回的错误码:
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = "InvalidParameterValue.PreProcessDefinition" INVALIDPARAMETERVALUE_VODFILEID = "InvalidParameterValue.VodFileId" INVALIDPARAMETERVALUE_VODFILENOTEXIST = "InvalidParameterValue.VodFileNotExist" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ImportMaterialWithContext ¶ added in v1.0.324
func (c *Client) ImportMaterialWithContext(ctx context.Context, request *ImportMaterialRequest) (response *ImportMaterialResponse, err error)
ImportMaterial 将云点播媒资文件导入到多媒体创作引擎媒体资源库。支持导入媒体归属团队或者个人。
可能返回的错误码:
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR = "InternalError" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = "InvalidParameterValue.PreProcessDefinition" INVALIDPARAMETERVALUE_VODFILEID = "InvalidParameterValue.VodFileId" INVALIDPARAMETERVALUE_VODFILENOTEXIST = "InvalidParameterValue.VodFileNotExist" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ImportMediaToProject ¶
func (c *Client) ImportMediaToProject(request *ImportMediaToProjectRequest) (response *ImportMediaToProjectResponse, err error)
ImportMediaToProject 将云点播中的媒资或者用户自有媒资文件添加到项目中与项目关联,供后续视频编辑使用。目前仅视频编辑项目和智能视频拆条项目有效。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = "InvalidParameterValue.PreProcessDefinition" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_VODFILEID = "InvalidParameterValue.VodFileId" INVALIDPARAMETERVALUE_VODFILENOTEXIST = "InvalidParameterValue.VodFileNotExist" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ImportMediaToProjectWithContext ¶ added in v1.0.324
func (c *Client) ImportMediaToProjectWithContext(ctx context.Context, request *ImportMediaToProjectRequest) (response *ImportMediaToProjectResponse, err error)
ImportMediaToProject 将云点播中的媒资或者用户自有媒资文件添加到项目中与项目关联,供后续视频编辑使用。目前仅视频编辑项目和智能视频拆条项目有效。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser" INTERNALERROR_CREATETASK = "InternalError.CreateTask" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_EXTERNALMEDIAINFONOTEXIST = "InvalidParameterValue.ExternalMediaInfoNotExist" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = "InvalidParameterValue.PreProcessDefinition" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" INVALIDPARAMETERVALUE_VODFILEID = "InvalidParameterValue.VodFileId" INVALIDPARAMETERVALUE_VODFILENOTEXIST = "InvalidParameterValue.VodFileNotExist" INVALIDPARAMETERVALUE_VODSUBAPPID = "InvalidParameterValue.VodSubAppid" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ListMedia ¶
func (c *Client) ListMedia(request *ListMediaRequest) (response *ListMediaResponse, err error)
ListMedia 浏览当前分类路径下的资源,包括媒体文件和子分类,返回媒资基础信息和分类信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ListMediaWithContext ¶ added in v1.0.324
func (c *Client) ListMediaWithContext(ctx context.Context, request *ListMediaRequest) (response *ListMediaResponse, err error)
ListMedia 浏览当前分类路径下的资源,包括媒体文件和子分类,返回媒资基础信息和分类信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMaterial ¶
func (c *Client) ModifyMaterial(request *ModifyMaterialRequest) (response *ModifyMaterialResponse, err error)
ModifyMaterial 修改媒体信息,支持修改媒体名称、分类路径、标签等信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMaterialWithContext ¶ added in v1.0.324
func (c *Client) ModifyMaterialWithContext(ctx context.Context, request *ModifyMaterialRequest) (response *ModifyMaterialResponse, err error)
ModifyMaterial 修改媒体信息,支持修改媒体名称、分类路径、标签等信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject 修改项目信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_ASPECTRATIO = "InvalidParameterValue.AspectRatio" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyProjectWithContext ¶ added in v1.0.324
func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
ModifyProject 修改项目信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_ASPECTRATIO = "InvalidParameterValue.AspectRatio" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_NAMELENLIMT = "InvalidParameterValue.NameLenLimt" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_PROJECTID = "InvalidParameterValue.ProjectId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTeam ¶
func (c *Client) ModifyTeam(request *ModifyTeamRequest) (response *ModifyTeamResponse, err error)
ModifyTeam 修改团队信息,目前支持修改的操作有:
<li>修改团队名称。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTeamMember ¶
func (c *Client) ModifyTeamMember(request *ModifyTeamMemberRequest) (response *ModifyTeamMemberResponse, err error)
ModifyTeamMember 修改团队成员信息,包括成员备注、角色等。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MEMBERNOTEXIST = "InvalidParameterValue.MemberNotExist" INVALIDPARAMETERVALUE_NOTTEAMMEMBERERROR = "InvalidParameterValue.NotTeamMemberError" INVALIDPARAMETERVALUE_OPERATOR = "InvalidParameterValue.Operator" INVALIDPARAMETERVALUE_ROLE = "InvalidParameterValue.Role" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTeamMemberWithContext ¶ added in v1.0.324
func (c *Client) ModifyTeamMemberWithContext(ctx context.Context, request *ModifyTeamMemberRequest) (response *ModifyTeamMemberResponse, err error)
ModifyTeamMember 修改团队成员信息,包括成员备注、角色等。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MEMBERNOTEXIST = "InvalidParameterValue.MemberNotExist" INVALIDPARAMETERVALUE_NOTTEAMMEMBERERROR = "InvalidParameterValue.NotTeamMemberError" INVALIDPARAMETERVALUE_OPERATOR = "InvalidParameterValue.Operator" INVALIDPARAMETERVALUE_ROLE = "InvalidParameterValue.Role" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTeamWithContext ¶ added in v1.0.324
func (c *Client) ModifyTeamWithContext(ctx context.Context, request *ModifyTeamRequest) (response *ModifyTeamResponse, err error)
ModifyTeam 修改团队信息,目前支持修改的操作有:
<li>修改团队名称。</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" INVALIDPARAMETERVALUE_TEAMNOTEXIST = "InvalidParameterValue.TeamNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyVideoEncodingPreset ¶ added in v1.0.293
func (c *Client) ModifyVideoEncodingPreset(request *ModifyVideoEncodingPresetRequest) (response *ModifyVideoEncodingPresetResponse, err error)
ModifyVideoEncodingPreset 修改视频编码配置信息。
可能返回的错误码:
RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ModifyVideoEncodingPresetWithContext ¶ added in v1.0.324
func (c *Client) ModifyVideoEncodingPresetWithContext(ctx context.Context, request *ModifyVideoEncodingPresetRequest) (response *ModifyVideoEncodingPresetResponse, err error)
ModifyVideoEncodingPreset 修改视频编码配置信息。
可能返回的错误码:
RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) MoveClass ¶
func (c *Client) MoveClass(request *MoveClassRequest) (response *MoveClassResponse, err error)
MoveClass 移动某一个分类到另外一个分类下,也可用于分类重命名。
如果 SourceClassPath = /素材/视频/NBA,DestinationClassPath = /素材/视频/篮球
<li>当 DestinationClassPath 不存在时候,操作结果为重命名 ClassPath;</li>
<li>当 DestinationClassPath 存在时候,操作结果为产生新目录 /素材/视频/篮球/NBA</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DSTCLASSPATHNOTEXIST = "InvalidParameterValue.DstClassPathNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) MoveClassWithContext ¶ added in v1.0.324
func (c *Client) MoveClassWithContext(ctx context.Context, request *MoveClassRequest) (response *MoveClassResponse, err error)
MoveClass 移动某一个分类到另外一个分类下,也可用于分类重命名。
如果 SourceClassPath = /素材/视频/NBA,DestinationClassPath = /素材/视频/篮球
<li>当 DestinationClassPath 不存在时候,操作结果为重命名 ClassPath;</li>
<li>当 DestinationClassPath 存在时候,操作结果为产生新目录 /素材/视频/篮球/NBA</li>
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CLASSEXIST = "InvalidParameterValue.ClassExist" INVALIDPARAMETERVALUE_CLASSNOTEXIST = "InvalidParameterValue.ClassNotExist" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DSTCLASSPATHNOTEXIST = "InvalidParameterValue.DstClassPathNotExist" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) MoveResource ¶
func (c *Client) MoveResource(request *MoveResourceRequest) (response *MoveResourceResponse, err error)
MoveResource 移动资源,支持跨个人或团队移动媒体以及分类。如果填写了Operator,则需要校验用户对媒体和分类资源的访问以及写权限。
<li>当原始资源为媒体时,该接口效果为将该媒体移动到目标分类下面;</li>
<li>当原始资源为分类时,该接口效果为将原始分类移动到目标分类或者是重命名。</li>
如果 SourceResource.Resource.Id = /素材/视频/NBA,DestinationResource.Resource.Id= /素材/视频/篮球
<li>当 DestinationResource.Resource.Id 不存在时候且原始资源与目标资源归属相同,操作结果为重命名原始分类;</li>
<li>当 DestinationResource.Resource.Id 存在时候,操作结果为产生新目录 /素材/视频/篮球/NBA</li>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) MoveResourceWithContext ¶ added in v1.0.324
func (c *Client) MoveResourceWithContext(ctx context.Context, request *MoveResourceRequest) (response *MoveResourceResponse, err error)
MoveResource 移动资源,支持跨个人或团队移动媒体以及分类。如果填写了Operator,则需要校验用户对媒体和分类资源的访问以及写权限。
<li>当原始资源为媒体时,该接口效果为将该媒体移动到目标分类下面;</li>
<li>当原始资源为分类时,该接口效果为将原始分类移动到目标分类或者是重命名。</li>
如果 SourceResource.Resource.Id = /素材/视频/NBA,DestinationResource.Resource.Id= /素材/视频/篮球
<li>当 DestinationResource.Resource.Id 不存在时候且原始资源与目标资源归属相同,操作结果为重命名原始分类;</li>
<li>当 DestinationResource.Resource.Id 存在时候,操作结果为产生新目录 /素材/视频/篮球/NBA</li>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_MATERIALID = "InvalidParameterValue.MaterialId" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ParseEvent ¶
func (c *Client) ParseEvent(request *ParseEventRequest) (response *ParseEventResponse, err error)
ParseEvent 该接口接受多媒体创作引擎回调给业务的事件内容,将其转化为对应的 EventContent 结构。请不要实际调用该接口,只需要将接收到的事件内容直接使用 JSON 解析到 EventContent 结构即可使用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) ParseEventWithContext ¶ added in v1.0.324
func (c *Client) ParseEventWithContext(ctx context.Context, request *ParseEventRequest) (response *ParseEventResponse, err error)
ParseEvent 该接口接受多媒体创作引擎回调给业务的事件内容,将其转化为对应的 EventContent 结构。请不要实际调用该接口,只需要将接收到的事件内容直接使用 JSON 解析到 EventContent 结构即可使用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PLATFORM = "InvalidParameter.Platform" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform"
func (*Client) RevokeResourceAuthorization ¶
func (c *Client) RevokeResourceAuthorization(request *RevokeResourceAuthorizationRequest) (response *RevokeResourceAuthorizationResponse, err error)
RevokeResourceAuthorization
资源所属实体对目标实体撤销目标资源的相应权限,若原本没有相应权限则不产生变更。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) RevokeResourceAuthorizationWithContext ¶ added in v1.0.324
func (c *Client) RevokeResourceAuthorizationWithContext(ctx context.Context, request *RevokeResourceAuthorizationRequest) (response *RevokeResourceAuthorizationResponse, err error)
RevokeResourceAuthorization
资源所属实体对目标实体撤销目标资源的相应权限,若原本没有相应权限则不产生变更。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SearchMaterial ¶
func (c *Client) SearchMaterial(request *SearchMaterialRequest) (response *SearchMaterialResponse, err error)
SearchMaterial 根据检索条件搜索媒体,返回媒体的基本信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DATANOTFOUNDINDB = "InvalidParameterValue.DataNotFoundInDB" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SearchMaterialWithContext ¶ added in v1.0.324
func (c *Client) SearchMaterialWithContext(ctx context.Context, request *SearchMaterialRequest) (response *SearchMaterialResponse, err error)
SearchMaterial 根据检索条件搜索媒体,返回媒体的基本信息。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CLASSPATH = "InvalidParameterValue.ClassPath" INVALIDPARAMETERVALUE_DATANOTFOUNDINDB = "InvalidParameterValue.DataNotFoundInDB" INVALIDPARAMETERVALUE_OWNERID = "InvalidParameterValue.OwnerId" INVALIDPARAMETERVALUE_OWNERTYPE = "InvalidParameterValue.OwnerType" INVALIDPARAMETERVALUE_PLATFORM = "InvalidParameterValue.Platform" OPERATIONDENIED_PERMISSIONDENY = "OperationDenied.PermissionDeny" RESOURCENOTFOUND_PLATFORM = "ResourceNotFound.Platform" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
type CopyProjectRequest ¶ added in v1.0.204
type CopyProjectRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 被复制的项目 ID。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 复制后的项目名称,不填为原项目名称+"(副本)"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 复制后的项目归属者,不填为原项目归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewCopyProjectRequest ¶ added in v1.0.204
func NewCopyProjectRequest() (request *CopyProjectRequest)
func (*CopyProjectRequest) FromJsonString ¶ added in v1.0.204
func (r *CopyProjectRequest) 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 (*CopyProjectRequest) ToJsonString ¶ added in v1.0.204
func (r *CopyProjectRequest) ToJsonString() string
type CopyProjectRequestParams ¶ added in v1.0.426
type CopyProjectRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 被复制的项目 ID。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 复制后的项目名称,不填为原项目名称+"(副本)"。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 复制后的项目归属者,不填为原项目归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type CopyProjectResponse ¶ added in v1.0.204
type CopyProjectResponse struct { *tchttp.BaseResponse Response *CopyProjectResponseParams `json:"Response"` }
func NewCopyProjectResponse ¶ added in v1.0.204
func NewCopyProjectResponse() (response *CopyProjectResponse)
func (*CopyProjectResponse) FromJsonString ¶ added in v1.0.204
func (r *CopyProjectResponse) 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 (*CopyProjectResponse) ToJsonString ¶ added in v1.0.204
func (r *CopyProjectResponse) ToJsonString() string
type CopyProjectResponseParams ¶ added in v1.0.426
type CopyProjectResponseParams struct { // 复制后的项目 ID。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CosPublishInputInfo ¶
type CosPublishInputInfo struct { // 发布生成的对象存储文件所在的 COS Bucket 名,如 TopRankVideo-125xxx88。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 发布生成的对象存储文件所在的 COS Bucket 所属园区,如 ap-chongqing。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 发布生成的视频在 COS 存储的对象键。对象键(ObjectKey)是对象(Object)在存储桶(Bucket)中的唯一标识。 VideoKey *string `json:"VideoKey,omitnil,omitempty" name:"VideoKey"` // 发布生成的封面在 COS 存储的对象键。 CoverKey *string `json:"CoverKey,omitnil,omitempty" name:"CoverKey"` }
type CreateClassRequest ¶
type CreateClassRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验分类创建权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewCreateClassRequest ¶
func NewCreateClassRequest() (request *CreateClassRequest)
func (*CreateClassRequest) FromJsonString ¶
func (r *CreateClassRequest) 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 (*CreateClassRequest) ToJsonString ¶
func (r *CreateClassRequest) ToJsonString() string
type CreateClassRequestParams ¶ added in v1.0.426
type CreateClassRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验分类创建权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type CreateClassResponse ¶
type CreateClassResponse struct { *tchttp.BaseResponse Response *CreateClassResponseParams `json:"Response"` }
func NewCreateClassResponse ¶
func NewCreateClassResponse() (response *CreateClassResponse)
func (*CreateClassResponse) FromJsonString ¶
func (r *CreateClassResponse) 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 (*CreateClassResponse) ToJsonString ¶
func (r *CreateClassResponse) ToJsonString() string
type CreateClassResponseParams ¶ added in v1.0.426
type CreateClassResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLinkRequest ¶
type CreateLinkRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 链接类型,可取值有: // <li>CLASS: 分类链接;</li> // <li> MATERIAL:媒体文件链接。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 链接名称,不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 链接归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 目标资源Id。可取值有: // <li>当 Type 为 MATERIAL 时填媒体 ID;</li> // <li>当 Type 为 CLASS 时填写分类路径。</li> DestinationId *string `json:"DestinationId,omitnil,omitempty" name:"DestinationId"` // 目标资源归属者。 DestinationOwner *Entity `json:"DestinationOwner,omitnil,omitempty" name:"DestinationOwner"` // 链接的分类路径,如填"/a/b"则代表链接属于该分类路径,不填则默认为根路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以创建任意源及目标资源的链接。如果指定操作者,则操作者必须对源资源有读权限,对目标媒体有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewCreateLinkRequest ¶
func NewCreateLinkRequest() (request *CreateLinkRequest)
func (*CreateLinkRequest) FromJsonString ¶
func (r *CreateLinkRequest) 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 (*CreateLinkRequest) ToJsonString ¶
func (r *CreateLinkRequest) ToJsonString() string
type CreateLinkRequestParams ¶ added in v1.0.426
type CreateLinkRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 链接类型,可取值有: // <li>CLASS: 分类链接;</li> // <li> MATERIAL:媒体文件链接。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 链接名称,不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 链接归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 目标资源Id。可取值有: // <li>当 Type 为 MATERIAL 时填媒体 ID;</li> // <li>当 Type 为 CLASS 时填写分类路径。</li> DestinationId *string `json:"DestinationId,omitnil,omitempty" name:"DestinationId"` // 目标资源归属者。 DestinationOwner *Entity `json:"DestinationOwner,omitnil,omitempty" name:"DestinationOwner"` // 链接的分类路径,如填"/a/b"则代表链接属于该分类路径,不填则默认为根路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以创建任意源及目标资源的链接。如果指定操作者,则操作者必须对源资源有读权限,对目标媒体有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type CreateLinkResponse ¶
type CreateLinkResponse struct { *tchttp.BaseResponse Response *CreateLinkResponseParams `json:"Response"` }
func NewCreateLinkResponse ¶
func NewCreateLinkResponse() (response *CreateLinkResponse)
func (*CreateLinkResponse) FromJsonString ¶
func (r *CreateLinkResponse) 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 (*CreateLinkResponse) ToJsonString ¶
func (r *CreateLinkResponse) ToJsonString() string
type CreateLinkResponseParams ¶ added in v1.0.426
type CreateLinkResponseParams struct { // 新建链接的媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目名称,不可超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 项目归属者,即项目的所有者,后续操作只有该所有者有权限操作。 // // 注:目前所有项目只能设置归属个人,暂不支持团队项目。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 项目类别,取值有: // <li>VIDEO_EDIT:视频编辑。</li> // <li>SWITCHER:导播台。</li> // <li>VIDEO_SEGMENTATION:视频拆条。</li> // <li>STREAM_CONNECT:云转推。</li> // <li>RECORD_REPLAY:录制回放。</li> // <li>MEDIA_CAST:媒体转推。</li> Category *string `json:"Category,omitnil,omitempty" name:"Category"` // 项目模式,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式,即普通视频编辑项目。</li> // <li>VideoEditTemplate:剪辑模板制作模式,用于制作剪辑模板。</li> // // 注:不填则为默认模式。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 画布宽高比。 // 该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 项目描述信息。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 导播台项目输入信息,仅当项目类型为 SWITCHER 时必填。 SwitcherProjectInput *SwitcherProjectInput `json:"SwitcherProjectInput,omitnil,omitempty" name:"SwitcherProjectInput"` // 直播剪辑项目输入信息,暂未开放,请勿使用。 LiveStreamClipProjectInput *LiveStreamClipProjectInput `json:"LiveStreamClipProjectInput,omitnil,omitempty" name:"LiveStreamClipProjectInput"` // 视频编辑项目输入信息,仅当项目类型为 VIDEO_EDIT 时必填。 VideoEditProjectInput *VideoEditProjectInput `json:"VideoEditProjectInput,omitnil,omitempty" name:"VideoEditProjectInput"` // 视频拆条项目输入信息,仅当项目类型为 VIDEO_SEGMENTATION 时必填。 VideoSegmentationProjectInput *VideoSegmentationProjectInput `json:"VideoSegmentationProjectInput,omitnil,omitempty" name:"VideoSegmentationProjectInput"` // 云转推项目输入信息,仅当项目类型为 STREAM_CONNECT 时必填。 StreamConnectProjectInput *StreamConnectProjectInput `json:"StreamConnectProjectInput,omitnil,omitempty" name:"StreamConnectProjectInput"` // 录制回放项目输入信息,仅当项目类型为 RECORD_REPLAY 时必填。 RecordReplayProjectInput *RecordReplayProjectInput `json:"RecordReplayProjectInput,omitnil,omitempty" name:"RecordReplayProjectInput"` // 媒体转推项目输入信息,仅当项目类型为 MEDIA_CAST 时必填。 MediaCastProjectInput *MediaCastProjectInput `json:"MediaCastProjectInput,omitnil,omitempty" name:"MediaCastProjectInput"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) 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 (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectRequestParams ¶ added in v1.0.426
type CreateProjectRequestParams struct { // 平台 Id,指定访问的平台。平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目名称,不可超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 项目归属者,即项目的所有者,后续操作只有该所有者有权限操作。 // // 注:目前所有项目只能设置归属个人,暂不支持团队项目。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 项目类别,取值有: // <li>VIDEO_EDIT:视频编辑。</li> // <li>SWITCHER:导播台。</li> // <li>VIDEO_SEGMENTATION:视频拆条。</li> // <li>STREAM_CONNECT:云转推。</li> // <li>RECORD_REPLAY:录制回放。</li> // <li>MEDIA_CAST:媒体转推。</li> Category *string `json:"Category,omitnil,omitempty" name:"Category"` // 项目模式,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式,即普通视频编辑项目。</li> // <li>VideoEditTemplate:剪辑模板制作模式,用于制作剪辑模板。</li> // // 注:不填则为默认模式。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 画布宽高比。 // 该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 项目描述信息。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 导播台项目输入信息,仅当项目类型为 SWITCHER 时必填。 SwitcherProjectInput *SwitcherProjectInput `json:"SwitcherProjectInput,omitnil,omitempty" name:"SwitcherProjectInput"` // 直播剪辑项目输入信息,暂未开放,请勿使用。 LiveStreamClipProjectInput *LiveStreamClipProjectInput `json:"LiveStreamClipProjectInput,omitnil,omitempty" name:"LiveStreamClipProjectInput"` // 视频编辑项目输入信息,仅当项目类型为 VIDEO_EDIT 时必填。 VideoEditProjectInput *VideoEditProjectInput `json:"VideoEditProjectInput,omitnil,omitempty" name:"VideoEditProjectInput"` // 视频拆条项目输入信息,仅当项目类型为 VIDEO_SEGMENTATION 时必填。 VideoSegmentationProjectInput *VideoSegmentationProjectInput `json:"VideoSegmentationProjectInput,omitnil,omitempty" name:"VideoSegmentationProjectInput"` // 云转推项目输入信息,仅当项目类型为 STREAM_CONNECT 时必填。 StreamConnectProjectInput *StreamConnectProjectInput `json:"StreamConnectProjectInput,omitnil,omitempty" name:"StreamConnectProjectInput"` // 录制回放项目输入信息,仅当项目类型为 RECORD_REPLAY 时必填。 RecordReplayProjectInput *RecordReplayProjectInput `json:"RecordReplayProjectInput,omitnil,omitempty" name:"RecordReplayProjectInput"` // 媒体转推项目输入信息,仅当项目类型为 MEDIA_CAST 时必填。 MediaCastProjectInput *MediaCastProjectInput `json:"MediaCastProjectInput,omitnil,omitempty" name:"MediaCastProjectInput"` }
Predefined struct for user
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *CreateProjectResponseParams `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) 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 (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateProjectResponseParams ¶ added in v1.0.426
type CreateProjectResponseParams struct { // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // <li> 当 Catagory 为 STREAM_CONNECT 时,数组返回长度为2 ,第0个代表主输入源推流信息,第1个代表备输入源推流信息。只有当各自输入源类型为推流时才有有效内容。</li> RtmpPushInputInfoSet []*RtmpPushInputInfo `json:"RtmpPushInputInfoSet,omitnil,omitempty" name:"RtmpPushInputInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTeamRequest ¶
type CreateTeamRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队名称,限30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 团队所有者,指定用户 ID。 OwnerId *string `json:"OwnerId,omitnil,omitempty" name:"OwnerId"` // 团队所有者的备注,限30个字符。 OwnerRemark *string `json:"OwnerRemark,omitnil,omitempty" name:"OwnerRemark"` // 自定义团队 ID。创建后不可修改,限20个英文字符及"-"。同时不能以 cmetid_开头。不填会生成默认团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` }
func NewCreateTeamRequest ¶
func NewCreateTeamRequest() (request *CreateTeamRequest)
func (*CreateTeamRequest) FromJsonString ¶
func (r *CreateTeamRequest) 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 (*CreateTeamRequest) ToJsonString ¶
func (r *CreateTeamRequest) ToJsonString() string
type CreateTeamRequestParams ¶ added in v1.0.426
type CreateTeamRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队名称,限30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 团队所有者,指定用户 ID。 OwnerId *string `json:"OwnerId,omitnil,omitempty" name:"OwnerId"` // 团队所有者的备注,限30个字符。 OwnerRemark *string `json:"OwnerRemark,omitnil,omitempty" name:"OwnerRemark"` // 自定义团队 ID。创建后不可修改,限20个英文字符及"-"。同时不能以 cmetid_开头。不填会生成默认团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` }
Predefined struct for user
type CreateTeamResponse ¶
type CreateTeamResponse struct { *tchttp.BaseResponse Response *CreateTeamResponseParams `json:"Response"` }
func NewCreateTeamResponse ¶
func NewCreateTeamResponse() (response *CreateTeamResponse)
func (*CreateTeamResponse) FromJsonString ¶
func (r *CreateTeamResponse) 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 (*CreateTeamResponse) ToJsonString ¶
func (r *CreateTeamResponse) ToJsonString() string
type CreateTeamResponseParams ¶ added in v1.0.426
type CreateTeamResponseParams struct { // 创建的团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateVideoEncodingPresetRequest ¶ added in v1.0.293
type CreateVideoEncodingPresetRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 配置名,可用来简单描述该配置的作用。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 封装格式,可选值: // <li>mp4 ;</li> // <li>mov 。</li> // 默认值:mp4。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 编码配置的视频设置。默认值参考VideoEncodingPresetVideoSetting 定义。 VideoSetting *VideoEncodingPresetVideoSetting `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 编码配置的音频设置。默认值参考VideoEncodingPresetAudioSetting 定义。 AudioSetting *VideoEncodingPresetAudioSetting `json:"AudioSetting,omitnil,omitempty" name:"AudioSetting"` }
func NewCreateVideoEncodingPresetRequest ¶ added in v1.0.293
func NewCreateVideoEncodingPresetRequest() (request *CreateVideoEncodingPresetRequest)
func (*CreateVideoEncodingPresetRequest) FromJsonString ¶ added in v1.0.293
func (r *CreateVideoEncodingPresetRequest) 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 (*CreateVideoEncodingPresetRequest) ToJsonString ¶ added in v1.0.293
func (r *CreateVideoEncodingPresetRequest) ToJsonString() string
type CreateVideoEncodingPresetRequestParams ¶ added in v1.0.426
type CreateVideoEncodingPresetRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 配置名,可用来简单描述该配置的作用。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 封装格式,可选值: // <li>mp4 ;</li> // <li>mov 。</li> // 默认值:mp4。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 编码配置的视频设置。默认值参考VideoEncodingPresetVideoSetting 定义。 VideoSetting *VideoEncodingPresetVideoSetting `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 编码配置的音频设置。默认值参考VideoEncodingPresetAudioSetting 定义。 AudioSetting *VideoEncodingPresetAudioSetting `json:"AudioSetting,omitnil,omitempty" name:"AudioSetting"` }
Predefined struct for user
type CreateVideoEncodingPresetResponse ¶ added in v1.0.293
type CreateVideoEncodingPresetResponse struct { *tchttp.BaseResponse Response *CreateVideoEncodingPresetResponseParams `json:"Response"` }
func NewCreateVideoEncodingPresetResponse ¶ added in v1.0.293
func NewCreateVideoEncodingPresetResponse() (response *CreateVideoEncodingPresetResponse)
func (*CreateVideoEncodingPresetResponse) FromJsonString ¶ added in v1.0.293
func (r *CreateVideoEncodingPresetResponse) 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 (*CreateVideoEncodingPresetResponse) ToJsonString ¶ added in v1.0.293
func (r *CreateVideoEncodingPresetResponse) ToJsonString() string
type CreateVideoEncodingPresetResponseParams ¶ added in v1.0.426
type CreateVideoEncodingPresetResponseParams struct { // 模板 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClassRequest ¶
type DeleteClassRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDeleteClassRequest ¶
func NewDeleteClassRequest() (request *DeleteClassRequest)
func (*DeleteClassRequest) FromJsonString ¶
func (r *DeleteClassRequest) 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 (*DeleteClassRequest) ToJsonString ¶
func (r *DeleteClassRequest) ToJsonString() string
type DeleteClassRequestParams ¶ added in v1.0.426
type DeleteClassRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteClassResponse ¶
type DeleteClassResponse struct { *tchttp.BaseResponse Response *DeleteClassResponseParams `json:"Response"` }
func NewDeleteClassResponse ¶
func NewDeleteClassResponse() (response *DeleteClassResponse)
func (*DeleteClassResponse) FromJsonString ¶
func (r *DeleteClassResponse) 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 (*DeleteClassResponse) ToJsonString ¶
func (r *DeleteClassResponse) ToJsonString() string
type DeleteClassResponseParams ¶ added in v1.0.426
type DeleteClassResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoginStatusRequest ¶
type DeleteLoginStatusRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 用户 Id 列表,N 从 0 开始取值,最大 19。 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
func NewDeleteLoginStatusRequest ¶
func NewDeleteLoginStatusRequest() (request *DeleteLoginStatusRequest)
func (*DeleteLoginStatusRequest) FromJsonString ¶
func (r *DeleteLoginStatusRequest) 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 (*DeleteLoginStatusRequest) ToJsonString ¶
func (r *DeleteLoginStatusRequest) ToJsonString() string
type DeleteLoginStatusRequestParams ¶ added in v1.0.426
type DeleteLoginStatusRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 用户 Id 列表,N 从 0 开始取值,最大 19。 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
Predefined struct for user
type DeleteLoginStatusResponse ¶
type DeleteLoginStatusResponse struct { *tchttp.BaseResponse Response *DeleteLoginStatusResponseParams `json:"Response"` }
func NewDeleteLoginStatusResponse ¶
func NewDeleteLoginStatusResponse() (response *DeleteLoginStatusResponse)
func (*DeleteLoginStatusResponse) FromJsonString ¶
func (r *DeleteLoginStatusResponse) 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 (*DeleteLoginStatusResponse) ToJsonString ¶
func (r *DeleteLoginStatusResponse) ToJsonString() string
type DeleteLoginStatusResponseParams ¶ added in v1.0.426
type DeleteLoginStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMaterialRequest ¶
type DeleteMaterialRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 操作者。填写用户的 Id,用于标识调用者及校验媒体删除权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDeleteMaterialRequest ¶
func NewDeleteMaterialRequest() (request *DeleteMaterialRequest)
func (*DeleteMaterialRequest) FromJsonString ¶
func (r *DeleteMaterialRequest) 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 (*DeleteMaterialRequest) ToJsonString ¶
func (r *DeleteMaterialRequest) ToJsonString() string
type DeleteMaterialRequestParams ¶ added in v1.0.426
type DeleteMaterialRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 操作者。填写用户的 Id,用于标识调用者及校验媒体删除权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteMaterialResponse ¶
type DeleteMaterialResponse struct { *tchttp.BaseResponse Response *DeleteMaterialResponseParams `json:"Response"` }
func NewDeleteMaterialResponse ¶
func NewDeleteMaterialResponse() (response *DeleteMaterialResponse)
func (*DeleteMaterialResponse) FromJsonString ¶
func (r *DeleteMaterialResponse) 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 (*DeleteMaterialResponse) ToJsonString ¶
func (r *DeleteMaterialResponse) ToJsonString() string
type DeleteMaterialResponseParams ¶ added in v1.0.426
type DeleteMaterialResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除一切项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) 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 (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectRequestParams ¶ added in v1.0.426
type DeleteProjectRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除一切项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *tchttp.BaseResponse Response *DeleteProjectResponseParams `json:"Response"` }
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) 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 (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DeleteProjectResponseParams ¶ added in v1.0.426
type DeleteProjectResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTeamMembersRequest ¶
type DeleteTeamMembersRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 要删除的成员列表。 MemberIds []*string `json:"MemberIds,omitnil,omitempty" name:"MemberIds"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除所有团队的成员。如果指定操作者,则操作者必须为团队管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDeleteTeamMembersRequest ¶
func NewDeleteTeamMembersRequest() (request *DeleteTeamMembersRequest)
func (*DeleteTeamMembersRequest) FromJsonString ¶
func (r *DeleteTeamMembersRequest) 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 (*DeleteTeamMembersRequest) ToJsonString ¶
func (r *DeleteTeamMembersRequest) ToJsonString() string
type DeleteTeamMembersRequestParams ¶ added in v1.0.426
type DeleteTeamMembersRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 要删除的成员列表。 MemberIds []*string `json:"MemberIds,omitnil,omitempty" name:"MemberIds"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除所有团队的成员。如果指定操作者,则操作者必须为团队管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteTeamMembersResponse ¶
type DeleteTeamMembersResponse struct { *tchttp.BaseResponse Response *DeleteTeamMembersResponseParams `json:"Response"` }
func NewDeleteTeamMembersResponse ¶
func NewDeleteTeamMembersResponse() (response *DeleteTeamMembersResponse)
func (*DeleteTeamMembersResponse) FromJsonString ¶
func (r *DeleteTeamMembersResponse) 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 (*DeleteTeamMembersResponse) ToJsonString ¶
func (r *DeleteTeamMembersResponse) ToJsonString() string
type DeleteTeamMembersResponseParams ¶ added in v1.0.426
type DeleteTeamMembersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTeamRequest ¶
type DeleteTeamRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除所有团队。如果指定操作者,则操作者必须为团队所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDeleteTeamRequest ¶
func NewDeleteTeamRequest() (request *DeleteTeamRequest)
func (*DeleteTeamRequest) FromJsonString ¶
func (r *DeleteTeamRequest) 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 (*DeleteTeamRequest) ToJsonString ¶
func (r *DeleteTeamRequest) ToJsonString() string
type DeleteTeamRequestParams ¶ added in v1.0.426
type DeleteTeamRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以删除所有团队。如果指定操作者,则操作者必须为团队所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DeleteTeamResponse ¶
type DeleteTeamResponse struct { *tchttp.BaseResponse Response *DeleteTeamResponseParams `json:"Response"` }
func NewDeleteTeamResponse ¶
func NewDeleteTeamResponse() (response *DeleteTeamResponse)
func (*DeleteTeamResponse) FromJsonString ¶
func (r *DeleteTeamResponse) 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 (*DeleteTeamResponse) ToJsonString ¶
func (r *DeleteTeamResponse) ToJsonString() string
type DeleteTeamResponseParams ¶ added in v1.0.426
type DeleteTeamResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteVideoEncodingPresetRequest ¶ added in v1.0.293
type DeleteVideoEncodingPresetRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的视频编码配置 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDeleteVideoEncodingPresetRequest ¶ added in v1.0.293
func NewDeleteVideoEncodingPresetRequest() (request *DeleteVideoEncodingPresetRequest)
func (*DeleteVideoEncodingPresetRequest) FromJsonString ¶ added in v1.0.293
func (r *DeleteVideoEncodingPresetRequest) 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 (*DeleteVideoEncodingPresetRequest) ToJsonString ¶ added in v1.0.293
func (r *DeleteVideoEncodingPresetRequest) ToJsonString() string
type DeleteVideoEncodingPresetRequestParams ¶ added in v1.0.426
type DeleteVideoEncodingPresetRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要删除的视频编码配置 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DeleteVideoEncodingPresetResponse ¶ added in v1.0.293
type DeleteVideoEncodingPresetResponse struct { *tchttp.BaseResponse Response *DeleteVideoEncodingPresetResponseParams `json:"Response"` }
func NewDeleteVideoEncodingPresetResponse ¶ added in v1.0.293
func NewDeleteVideoEncodingPresetResponse() (response *DeleteVideoEncodingPresetResponse)
func (*DeleteVideoEncodingPresetResponse) FromJsonString ¶ added in v1.0.293
func (r *DeleteVideoEncodingPresetResponse) 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 (*DeleteVideoEncodingPresetResponse) ToJsonString ¶ added in v1.0.293
func (r *DeleteVideoEncodingPresetResponse) ToJsonString() string
type DeleteVideoEncodingPresetResponseParams ¶ added in v1.0.426
type DeleteVideoEncodingPresetResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 手机号码。指定手机号获取账号信息,目前仅支持国内手机号,且号码不加地区码 `+86` 等。 Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // 分页返回的起始偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10,最大值:20。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAccountsRequest ¶
func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)
func (*DescribeAccountsRequest) FromJsonString ¶
func (r *DescribeAccountsRequest) 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 (*DescribeAccountsRequest) ToJsonString ¶
func (r *DescribeAccountsRequest) ToJsonString() string
type DescribeAccountsRequestParams ¶ added in v1.0.426
type DescribeAccountsRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 手机号码。指定手机号获取账号信息,目前仅支持国内手机号,且号码不加地区码 `+86` 等。 Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // 分页返回的起始偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10,最大值:20。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *DescribeAccountsResponseParams `json:"Response"` }
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) 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 (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeAccountsResponseParams ¶ added in v1.0.426
type DescribeAccountsResponseParams struct { // 符合搜索条件的记录总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 账号信息列表。 AccountInfoSet []*AccountInfo `json:"AccountInfoSet,omitnil,omitempty" name:"AccountInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClassRequest ¶
type DescribeClassRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeClassRequest ¶
func NewDescribeClassRequest() (request *DescribeClassRequest)
func (*DescribeClassRequest) FromJsonString ¶
func (r *DescribeClassRequest) 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 (*DescribeClassRequest) ToJsonString ¶
func (r *DescribeClassRequest) ToJsonString() string
type DescribeClassRequestParams ¶ added in v1.0.426
type DescribeClassRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeClassResponse ¶
type DescribeClassResponse struct { *tchttp.BaseResponse Response *DescribeClassResponseParams `json:"Response"` }
func NewDescribeClassResponse ¶
func NewDescribeClassResponse() (response *DescribeClassResponse)
func (*DescribeClassResponse) FromJsonString ¶
func (r *DescribeClassResponse) 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 (*DescribeClassResponse) ToJsonString ¶
func (r *DescribeClassResponse) ToJsonString() string
type DescribeClassResponseParams ¶ added in v1.0.426
type DescribeClassResponseParams struct { // 分类信息列表。 ClassInfoSet []*ClassInfo `json:"ClassInfoSet,omitnil,omitempty" name:"ClassInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeJoinTeamsRequest ¶
type DescribeJoinTeamsRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 分页偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:30,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeJoinTeamsRequest ¶
func NewDescribeJoinTeamsRequest() (request *DescribeJoinTeamsRequest)
func (*DescribeJoinTeamsRequest) FromJsonString ¶
func (r *DescribeJoinTeamsRequest) 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 (*DescribeJoinTeamsRequest) ToJsonString ¶
func (r *DescribeJoinTeamsRequest) ToJsonString() string
type DescribeJoinTeamsRequestParams ¶ added in v1.0.426
type DescribeJoinTeamsRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 分页偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:30,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeJoinTeamsResponse ¶
type DescribeJoinTeamsResponse struct { *tchttp.BaseResponse Response *DescribeJoinTeamsResponseParams `json:"Response"` }
func NewDescribeJoinTeamsResponse ¶
func NewDescribeJoinTeamsResponse() (response *DescribeJoinTeamsResponse)
func (*DescribeJoinTeamsResponse) FromJsonString ¶
func (r *DescribeJoinTeamsResponse) 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 (*DescribeJoinTeamsResponse) ToJsonString ¶
func (r *DescribeJoinTeamsResponse) ToJsonString() string
type DescribeJoinTeamsResponseParams ¶ added in v1.0.426
type DescribeJoinTeamsResponseParams struct { // 符合条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 团队列表。 TeamSet []*JoinTeamInfo `json:"TeamSet,omitnil,omitempty" name:"TeamSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoginStatusRequest ¶
type DescribeLoginStatusRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 用户 Id 列表,N 从0开始取值,最大19。 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
func NewDescribeLoginStatusRequest ¶
func NewDescribeLoginStatusRequest() (request *DescribeLoginStatusRequest)
func (*DescribeLoginStatusRequest) FromJsonString ¶
func (r *DescribeLoginStatusRequest) 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 (*DescribeLoginStatusRequest) ToJsonString ¶
func (r *DescribeLoginStatusRequest) ToJsonString() string
type DescribeLoginStatusRequestParams ¶ added in v1.0.426
type DescribeLoginStatusRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 用户 Id 列表,N 从0开始取值,最大19。 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
Predefined struct for user
type DescribeLoginStatusResponse ¶
type DescribeLoginStatusResponse struct { *tchttp.BaseResponse Response *DescribeLoginStatusResponseParams `json:"Response"` }
func NewDescribeLoginStatusResponse ¶
func NewDescribeLoginStatusResponse() (response *DescribeLoginStatusResponse)
func (*DescribeLoginStatusResponse) FromJsonString ¶
func (r *DescribeLoginStatusResponse) 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 (*DescribeLoginStatusResponse) ToJsonString ¶
func (r *DescribeLoginStatusResponse) ToJsonString() string
type DescribeLoginStatusResponseParams ¶ added in v1.0.426
type DescribeLoginStatusResponseParams struct { // 用户登录状态列表。 LoginStatusInfoSet []*LoginStatusInfo `json:"LoginStatusInfoSet,omitnil,omitempty" name:"LoginStatusInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMaterialsRequest ¶
type DescribeMaterialsRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体 ID 列表,一次最多可拉取20个媒体的信息。 MaterialIds []*string `json:"MaterialIds,omitnil,omitempty" name:"MaterialIds"` // 列表排序,支持下列排序字段: // <li>CreateTime:创建时间;</li> // <li>UpdateTime:更新时间。</li> Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取任意媒体的信息。如果指定操作者,则操作者必须对媒体有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeMaterialsRequest ¶
func NewDescribeMaterialsRequest() (request *DescribeMaterialsRequest)
func (*DescribeMaterialsRequest) FromJsonString ¶
func (r *DescribeMaterialsRequest) 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 (*DescribeMaterialsRequest) ToJsonString ¶
func (r *DescribeMaterialsRequest) ToJsonString() string
type DescribeMaterialsRequestParams ¶ added in v1.0.426
type DescribeMaterialsRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体 ID 列表,一次最多可拉取20个媒体的信息。 MaterialIds []*string `json:"MaterialIds,omitnil,omitempty" name:"MaterialIds"` // 列表排序,支持下列排序字段: // <li>CreateTime:创建时间;</li> // <li>UpdateTime:更新时间。</li> Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取任意媒体的信息。如果指定操作者,则操作者必须对媒体有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeMaterialsResponse ¶
type DescribeMaterialsResponse struct { *tchttp.BaseResponse Response *DescribeMaterialsResponseParams `json:"Response"` }
func NewDescribeMaterialsResponse ¶
func NewDescribeMaterialsResponse() (response *DescribeMaterialsResponse)
func (*DescribeMaterialsResponse) FromJsonString ¶
func (r *DescribeMaterialsResponse) 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 (*DescribeMaterialsResponse) ToJsonString ¶
func (r *DescribeMaterialsResponse) ToJsonString() string
type DescribeMaterialsResponseParams ¶ added in v1.0.426
type DescribeMaterialsResponseParams struct { // 媒体列表信息。 MaterialInfoSet []*MaterialInfo `json:"MaterialInfoSet,omitnil,omitempty" name:"MaterialInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePlatformsRequest ¶
type DescribePlatformsRequest struct { *tchttp.BaseRequest // 平台 Id 列表。如果不填,则不按平台 Id 进行过滤。 Platforms []*string `json:"Platforms,omitnil,omitempty" name:"Platforms"` // 平台绑定的 License Id 列表。如果不填,则不按平台绑定的 License Id 进行过滤。 LicenseIds []*string `json:"LicenseIds,omitnil,omitempty" name:"LicenseIds"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10,最大值:20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribePlatformsRequest ¶
func NewDescribePlatformsRequest() (request *DescribePlatformsRequest)
func (*DescribePlatformsRequest) FromJsonString ¶
func (r *DescribePlatformsRequest) 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 (*DescribePlatformsRequest) ToJsonString ¶
func (r *DescribePlatformsRequest) ToJsonString() string
type DescribePlatformsRequestParams ¶ added in v1.0.426
type DescribePlatformsRequestParams struct { // 平台 Id 列表。如果不填,则不按平台 Id 进行过滤。 Platforms []*string `json:"Platforms,omitnil,omitempty" name:"Platforms"` // 平台绑定的 License Id 列表。如果不填,则不按平台绑定的 License Id 进行过滤。 LicenseIds []*string `json:"LicenseIds,omitnil,omitempty" name:"LicenseIds"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10,最大值:20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribePlatformsResponse ¶
type DescribePlatformsResponse struct { *tchttp.BaseResponse Response *DescribePlatformsResponseParams `json:"Response"` }
func NewDescribePlatformsResponse ¶
func NewDescribePlatformsResponse() (response *DescribePlatformsResponse)
func (*DescribePlatformsResponse) FromJsonString ¶
func (r *DescribePlatformsResponse) 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 (*DescribePlatformsResponse) ToJsonString ¶
func (r *DescribePlatformsResponse) ToJsonString() string
type DescribePlatformsResponseParams ¶ added in v1.0.426
type DescribePlatformsResponseParams struct { // 符合查询条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 平台信息列表。 PlatformInfoSet []*PlatformInfo `json:"PlatformInfoSet,omitnil,omitempty" name:"PlatformInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectsRequest ¶
type DescribeProjectsRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id 过滤参数列表,最大支持20个项目 Id 过滤。如果不填不需要项目 Id 进行过滤。 ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // 画布宽高比过滤参数列表。如果不填则不用画布宽高比进行过滤。 AspectRatioSet []*string `json:"AspectRatioSet,omitnil,omitempty" name:"AspectRatioSet"` // 项目类型过滤参数列表,取值有: // <li>VIDEO_EDIT:视频编辑。</li> // <li>SWITCHER:导播台。</li> // <li>VIDEO_SEGMENTATION:视频拆条。</li> // <li>STREAM_CONNECT:云转推。</li> // <li>RECORD_REPLAY:录制回放。</li> // <li>MEDIA_CAST:点播转直播。</li> // // 注:如果不填则不使用项目类型进行过滤。 CategorySet []*string `json:"CategorySet,omitnil,omitempty" name:"CategorySet"` // 项目模式过滤参数列表,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式。</li> // <li>VideoEditTemplate:视频编辑模板制作模式。</li> // // 注:不填不使用项目模式进行过滤。 Modes []*string `json:"Modes,omitnil,omitempty" name:"Modes"` // 结果排序方式,支持下列排序字段: // <li>CreateTime:创建时间;</li> // <li>UpdateTime:更新时间。</li> // // 注:如不填,则使用项目创建时间倒序排列。 Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 项目所有者,目前仅支持个人项目过滤。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以查询一切用户项目信息。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeProjectsRequest ¶
func NewDescribeProjectsRequest() (request *DescribeProjectsRequest)
func (*DescribeProjectsRequest) FromJsonString ¶
func (r *DescribeProjectsRequest) 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 (*DescribeProjectsRequest) ToJsonString ¶
func (r *DescribeProjectsRequest) ToJsonString() string
type DescribeProjectsRequestParams ¶ added in v1.0.426
type DescribeProjectsRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id 过滤参数列表,最大支持20个项目 Id 过滤。如果不填不需要项目 Id 进行过滤。 ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // 画布宽高比过滤参数列表。如果不填则不用画布宽高比进行过滤。 AspectRatioSet []*string `json:"AspectRatioSet,omitnil,omitempty" name:"AspectRatioSet"` // 项目类型过滤参数列表,取值有: // <li>VIDEO_EDIT:视频编辑。</li> // <li>SWITCHER:导播台。</li> // <li>VIDEO_SEGMENTATION:视频拆条。</li> // <li>STREAM_CONNECT:云转推。</li> // <li>RECORD_REPLAY:录制回放。</li> // <li>MEDIA_CAST:点播转直播。</li> // // 注:如果不填则不使用项目类型进行过滤。 CategorySet []*string `json:"CategorySet,omitnil,omitempty" name:"CategorySet"` // 项目模式过滤参数列表,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式。</li> // <li>VideoEditTemplate:视频编辑模板制作模式。</li> // // 注:不填不使用项目模式进行过滤。 Modes []*string `json:"Modes,omitnil,omitempty" name:"Modes"` // 结果排序方式,支持下列排序字段: // <li>CreateTime:创建时间;</li> // <li>UpdateTime:更新时间。</li> // // 注:如不填,则使用项目创建时间倒序排列。 Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 项目所有者,目前仅支持个人项目过滤。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以查询一切用户项目信息。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeProjectsResponse ¶
type DescribeProjectsResponse struct { *tchttp.BaseResponse Response *DescribeProjectsResponseParams `json:"Response"` }
func NewDescribeProjectsResponse ¶
func NewDescribeProjectsResponse() (response *DescribeProjectsResponse)
func (*DescribeProjectsResponse) FromJsonString ¶
func (r *DescribeProjectsResponse) 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 (*DescribeProjectsResponse) ToJsonString ¶
func (r *DescribeProjectsResponse) ToJsonString() string
type DescribeProjectsResponseParams ¶ added in v1.0.426
type DescribeProjectsResponseParams struct { // 符合条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 项目信息列表。 ProjectInfoSet []*ProjectInfo `json:"ProjectInfoSet,omitnil,omitempty" name:"ProjectInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceAuthorizationRequest ¶
type DescribeResourceAuthorizationRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 资源。 Resource *Resource `json:"Resource,omitnil,omitempty" name:"Resource"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以查询任意资源的被授权情况。如果指定操作者,则操作者必须对被授权资源有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeResourceAuthorizationRequest ¶
func NewDescribeResourceAuthorizationRequest() (request *DescribeResourceAuthorizationRequest)
func (*DescribeResourceAuthorizationRequest) FromJsonString ¶
func (r *DescribeResourceAuthorizationRequest) 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 (*DescribeResourceAuthorizationRequest) ToJsonString ¶
func (r *DescribeResourceAuthorizationRequest) ToJsonString() string
type DescribeResourceAuthorizationRequestParams ¶ added in v1.0.426
type DescribeResourceAuthorizationRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 资源。 Resource *Resource `json:"Resource,omitnil,omitempty" name:"Resource"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以查询任意资源的被授权情况。如果指定操作者,则操作者必须对被授权资源有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeResourceAuthorizationResponse ¶
type DescribeResourceAuthorizationResponse struct { *tchttp.BaseResponse Response *DescribeResourceAuthorizationResponseParams `json:"Response"` }
func NewDescribeResourceAuthorizationResponse ¶
func NewDescribeResourceAuthorizationResponse() (response *DescribeResourceAuthorizationResponse)
func (*DescribeResourceAuthorizationResponse) FromJsonString ¶
func (r *DescribeResourceAuthorizationResponse) 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 (*DescribeResourceAuthorizationResponse) ToJsonString ¶
func (r *DescribeResourceAuthorizationResponse) ToJsonString() string
type DescribeResourceAuthorizationResponseParams ¶ added in v1.0.426
type DescribeResourceAuthorizationResponseParams struct { // 符合条件的资源授权记录总数。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 授权信息列表。 AuthorizationInfoSet []*AuthorizationInfo `json:"AuthorizationInfoSet,omitnil,omitempty" name:"AuthorizationInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSharedSpaceRequest ¶
type DescribeSharedSpaceRequest struct { string `json:"Platform,omitnil,omitempty" name:"Platform"` Authorizee *Entity `json:"Authorizee,omitnil,omitempty" name:"Authorizee"` Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }Platform *
func NewDescribeSharedSpaceRequest ¶
func NewDescribeSharedSpaceRequest() (request *DescribeSharedSpaceRequest)
func (*DescribeSharedSpaceRequest) FromJsonString ¶
func (r *DescribeSharedSpaceRequest) 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 (*DescribeSharedSpaceRequest) ToJsonString ¶
func (r *DescribeSharedSpaceRequest) ToJsonString() string
type DescribeSharedSpaceRequestParams ¶ added in v1.0.426
type DescribeSharedSpaceRequestParams struct { string `json:"Platform,omitnil,omitempty" name:"Platform"` Authorizee *Entity `json:"Authorizee,omitnil,omitempty" name:"Authorizee"` Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }Platform *
Predefined struct for user
type DescribeSharedSpaceResponse ¶
type DescribeSharedSpaceResponse struct {}
func NewDescribeSharedSpaceResponse ¶
func NewDescribeSharedSpaceResponse() (response *DescribeSharedSpaceResponse)
func (*DescribeSharedSpaceResponse) FromJsonString ¶
func (r *DescribeSharedSpaceResponse) 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 (*DescribeSharedSpaceResponse) ToJsonString ¶
func (r *DescribeSharedSpaceResponse) ToJsonString() string
type DescribeSharedSpaceResponseParams ¶ added in v1.0.426
type DescribeSharedSpaceResponseParams struct { int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` AuthorizerSet []*Authorizer `json:"AuthorizerSet,omitnil,omitempty" name:"AuthorizerSet"` RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }TotalCount *
Predefined struct for user
type DescribeTaskDetailRequest ¶
type DescribeTaskDetailRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取任意任务信息。如果指定操作者,则操作者需要是任务发起者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeTaskDetailRequest ¶
func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)
func (*DescribeTaskDetailRequest) FromJsonString ¶
func (r *DescribeTaskDetailRequest) 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 (*DescribeTaskDetailRequest) ToJsonString ¶
func (r *DescribeTaskDetailRequest) ToJsonString() string
type DescribeTaskDetailRequestParams ¶ added in v1.0.426
type DescribeTaskDetailRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取任意任务信息。如果指定操作者,则操作者需要是任务发起者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeTaskDetailResponse ¶
type DescribeTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeTaskDetailResponseParams `json:"Response"` }
func NewDescribeTaskDetailResponse ¶
func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)
func (*DescribeTaskDetailResponse) FromJsonString ¶
func (r *DescribeTaskDetailResponse) 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 (*DescribeTaskDetailResponse) ToJsonString ¶
func (r *DescribeTaskDetailResponse) ToJsonString() string
type DescribeTaskDetailResponseParams ¶ added in v1.0.426
type DescribeTaskDetailResponseParams struct { // 任务状态,取值有: // <li>PROCESSING:处理中:</li> // <li>SUCCESS:成功;</li> // <li>FAIL:失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 任务进度,取值为:0~100。 Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // 错误码。 // <li>0:成功;</li> // <li>其他值:失败。</li> ErrCode *uint64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 错误信息。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` // 任务类型,取值有: // <li>VIDEO_EDIT_PROJECT_EXPORT:视频编辑项目导出。</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 导出项目输出信息。仅当 TaskType 为 VIDEO_EDIT_PROJECT_EXPORT 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 VideoEditProjectOutput *VideoEditProjectOutput `json:"VideoEditProjectOutput,omitnil,omitempty" name:"VideoEditProjectOutput"` // 创建时间,格式按照 ISO 8601 标准表示。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id,使用项目 Id 进行过滤。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 任务类型集合,取值有: // <li>VIDEO_EDIT_PROJECT_EXPORT:视频编辑项目导出。</li> // // 注:不填不使用任务类型进行过滤。 TaskTypeSet []*string `json:"TaskTypeSet,omitnil,omitempty" name:"TaskTypeSet"` // 任务状态集合,取值有: // <li>PROCESSING:处理中;</li> // <li>SUCCESS:成功;</li> // <li>FAIL:失败。</li> // // 注:不填则不使用任务状态进行过滤。 StatusSet []*string `json:"StatusSet,omitnil,omitempty" name:"StatusSet"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10。最大值:20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取所有任务信息。如果指定操作者,则操作者需要是任务发起者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) 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 (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶ added in v1.0.426
type DescribeTasksRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id,使用项目 Id 进行过滤。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 任务类型集合,取值有: // <li>VIDEO_EDIT_PROJECT_EXPORT:视频编辑项目导出。</li> // // 注:不填不使用任务类型进行过滤。 TaskTypeSet []*string `json:"TaskTypeSet,omitnil,omitempty" name:"TaskTypeSet"` // 任务状态集合,取值有: // <li>PROCESSING:处理中;</li> // <li>SUCCESS:成功;</li> // <li>FAIL:失败。</li> // // 注:不填则不使用任务状态进行过滤。 StatusSet []*string `json:"StatusSet,omitnil,omitempty" name:"StatusSet"` // 分页返回的起始偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页返回的记录条数,默认值:10。最大值:20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以获取所有任务信息。如果指定操作者,则操作者需要是任务发起者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) 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 (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶ added in v1.0.426
type DescribeTasksResponseParams struct { // 符合搜索条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 任务基础信息列表。 TaskBaseInfoSet []*TaskBaseInfo `json:"TaskBaseInfoSet,omitnil,omitempty" name:"TaskBaseInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTeamMembersRequest ¶
type DescribeTeamMembersRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 成员 ID 列表,限指定30个指定成员。如不填,则返回指定团队下的所有成员。 MemberIds []*string `json:"MemberIds,omitnil,omitempty" name:"MemberIds"` // 分页偏移量,默认值:0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:30,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以拉取任意团队成员的信息。如果指定操作者,则操作者必须为团队成员。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewDescribeTeamMembersRequest ¶
func NewDescribeTeamMembersRequest() (request *DescribeTeamMembersRequest)
func (*DescribeTeamMembersRequest) FromJsonString ¶
func (r *DescribeTeamMembersRequest) 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 (*DescribeTeamMembersRequest) ToJsonString ¶
func (r *DescribeTeamMembersRequest) ToJsonString() string
type DescribeTeamMembersRequestParams ¶ added in v1.0.426
type DescribeTeamMembersRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 成员 ID 列表,限指定30个指定成员。如不填,则返回指定团队下的所有成员。 MemberIds []*string `json:"MemberIds,omitnil,omitempty" name:"MemberIds"` // 分页偏移量,默认值:0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:30,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以拉取任意团队成员的信息。如果指定操作者,则操作者必须为团队成员。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type DescribeTeamMembersResponse ¶
type DescribeTeamMembersResponse struct { *tchttp.BaseResponse Response *DescribeTeamMembersResponseParams `json:"Response"` }
func NewDescribeTeamMembersResponse ¶
func NewDescribeTeamMembersResponse() (response *DescribeTeamMembersResponse)
func (*DescribeTeamMembersResponse) FromJsonString ¶
func (r *DescribeTeamMembersResponse) 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 (*DescribeTeamMembersResponse) ToJsonString ¶
func (r *DescribeTeamMembersResponse) ToJsonString() string
type DescribeTeamMembersResponseParams ¶ added in v1.0.426
type DescribeTeamMembersResponseParams struct { // 符合条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 团队成员列表。 MemberSet []*TeamMemberInfo `json:"MemberSet,omitnil,omitempty" name:"MemberSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTeamsRequest ¶
type DescribeTeamsRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID 列表,限30个。若不填,则默认获取平台下所有团队。 TeamIds []*string `json:"TeamIds,omitnil,omitempty" name:"TeamIds"` // 分页偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:20,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeTeamsRequest ¶
func NewDescribeTeamsRequest() (request *DescribeTeamsRequest)
func (*DescribeTeamsRequest) FromJsonString ¶
func (r *DescribeTeamsRequest) 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 (*DescribeTeamsRequest) ToJsonString ¶
func (r *DescribeTeamsRequest) ToJsonString() string
type DescribeTeamsRequestParams ¶ added in v1.0.426
type DescribeTeamsRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID 列表,限30个。若不填,则默认获取平台下所有团队。 TeamIds []*string `json:"TeamIds,omitnil,omitempty" name:"TeamIds"` // 分页偏移量,默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:20,最大值:30。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeTeamsResponse ¶
type DescribeTeamsResponse struct { *tchttp.BaseResponse Response *DescribeTeamsResponseParams `json:"Response"` }
func NewDescribeTeamsResponse ¶
func NewDescribeTeamsResponse() (response *DescribeTeamsResponse)
func (*DescribeTeamsResponse) FromJsonString ¶
func (r *DescribeTeamsResponse) 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 (*DescribeTeamsResponse) ToJsonString ¶
func (r *DescribeTeamsResponse) ToJsonString() string
type DescribeTeamsResponseParams ¶ added in v1.0.426
type DescribeTeamsResponseParams struct { // 符合条件的记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 团队列表。 TeamSet []*TeamInfo `json:"TeamSet,omitnil,omitempty" name:"TeamSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVideoEncodingPresetsRequest ¶ added in v1.0.293
type DescribeVideoEncodingPresetsRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要查询的配置 ID 列表。填写该参数则按照配置 ID 进行查询。 Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"` // 分页大小,默认20。最大值50。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页起始,默认0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeVideoEncodingPresetsRequest ¶ added in v1.0.293
func NewDescribeVideoEncodingPresetsRequest() (request *DescribeVideoEncodingPresetsRequest)
func (*DescribeVideoEncodingPresetsRequest) FromJsonString ¶ added in v1.0.293
func (r *DescribeVideoEncodingPresetsRequest) 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 (*DescribeVideoEncodingPresetsRequest) ToJsonString ¶ added in v1.0.293
func (r *DescribeVideoEncodingPresetsRequest) ToJsonString() string
type DescribeVideoEncodingPresetsRequestParams ¶ added in v1.0.426
type DescribeVideoEncodingPresetsRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要查询的配置 ID 列表。填写该参数则按照配置 ID 进行查询。 Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"` // 分页大小,默认20。最大值50。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页起始,默认0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeVideoEncodingPresetsResponse ¶ added in v1.0.293
type DescribeVideoEncodingPresetsResponse struct { *tchttp.BaseResponse Response *DescribeVideoEncodingPresetsResponseParams `json:"Response"` }
func NewDescribeVideoEncodingPresetsResponse ¶ added in v1.0.293
func NewDescribeVideoEncodingPresetsResponse() (response *DescribeVideoEncodingPresetsResponse)
func (*DescribeVideoEncodingPresetsResponse) FromJsonString ¶ added in v1.0.293
func (r *DescribeVideoEncodingPresetsResponse) 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 (*DescribeVideoEncodingPresetsResponse) ToJsonString ¶ added in v1.0.293
func (r *DescribeVideoEncodingPresetsResponse) ToJsonString() string
type DescribeVideoEncodingPresetsResponseParams ¶ added in v1.0.426
type DescribeVideoEncodingPresetsResponseParams struct { // 符合条件的编码配置总个数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 视频编码配置信息。 VideoEncodingPresetSet []*VideoEncodingPreset `json:"VideoEncodingPresetSet,omitnil,omitempty" name:"VideoEncodingPresetSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EmptyTrackItem ¶
type EmptyTrackItem struct { // 持续时间,单位为秒。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` }
type EventContent ¶
type EventContent struct { // 事件类型,可取值有: // <li>Storage.NewFileCreated:新文件产生事件;</li> // <li>Project.StreamConnect.StatusChanged:云转推项目状态变更事件;</li> // <li>Project.Switcher.StatusChanged:导播台项目状态变更事件;</li> // <li>Material.Imported:媒体导入事件;</li> // <li>Material.Added:媒体添加事件;</li> // <li>Material.Moved:媒体移动事件;</li> // <li>Material.Modified:媒体变更事件;</li> // <li>Material.Deleted:媒体删除事件;</li> // <li>Class.Created:分类新增事件;</li> // <li>Class.Moved:分类移动事件;</li> // <li>Class.Deleted:分类删除事件;</li> // <li>Task.VideoExportCompleted:视频导出完成事件; </li> // <li>Project.MediaCast.StatusChanged:点播转直播项目状态变更事件。 </li> EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"` // 操作者,表示触发事件的操作者。如果是 `cmeid_system` 表示平台管理员操作。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 新文件产生事件。仅当 EventType 为 Storage.NewFileCreated 时有效。 StorageNewFileCreatedEvent *StorageNewFileCreatedEvent `json:"StorageNewFileCreatedEvent,omitnil,omitempty" name:"StorageNewFileCreatedEvent"` // 云转推项目状态变更事件。仅当 EventType 为 Project.StreamConnect.StatusChanged 时有效。 ProjectStreamConnectStatusChangedEvent *ProjectStreamConnectStatusChangedEvent `json:"ProjectStreamConnectStatusChangedEvent,omitnil,omitempty" name:"ProjectStreamConnectStatusChangedEvent"` // 导播台项目状态变更事件。仅当 EventType 为 Project.Switcher.StatusChanged 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ProjectSwitcherStatusChangedEvent *ProjectSwitcherStatusChangedEvent `json:"ProjectSwitcherStatusChangedEvent,omitnil,omitempty" name:"ProjectSwitcherStatusChangedEvent"` // 媒体导入事件。仅当 EventType 为 Material.Imported 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialImportedEvent *MaterialImportedEvent `json:"MaterialImportedEvent,omitnil,omitempty" name:"MaterialImportedEvent"` // 媒体添加事件。仅当 EventType 为 Material.Added 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialAddedEvent *MaterialAddedEvent `json:"MaterialAddedEvent,omitnil,omitempty" name:"MaterialAddedEvent"` // 媒体移动事件。仅当 EventType 为 Material.Moved 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialMovedEvent *MaterialMovedEvent `json:"MaterialMovedEvent,omitnil,omitempty" name:"MaterialMovedEvent"` // 媒体更新事件。仅当 EventType 为 Material.Modified 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialModifiedEvent *MaterialModifiedEvent `json:"MaterialModifiedEvent,omitnil,omitempty" name:"MaterialModifiedEvent"` // 媒体删除事件。仅当 EventType 为 Material.Deleted 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialDeletedEvent *MaterialDeletedEvent `json:"MaterialDeletedEvent,omitnil,omitempty" name:"MaterialDeletedEvent"` // 分类创建事件。仅当 EventType 为 Class.Created 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ClassCreatedEvent *ClassCreatedEvent `json:"ClassCreatedEvent,omitnil,omitempty" name:"ClassCreatedEvent"` // 分类移动事件。仅当 EventType 为 Class.Moved 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ClassMovedEvent *ClassMovedEvent `json:"ClassMovedEvent,omitnil,omitempty" name:"ClassMovedEvent"` // 分类删除事件。仅当 EventType 为 Class.Deleted 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ClassDeletedEvent *ClassDeletedEvent `json:"ClassDeletedEvent,omitnil,omitempty" name:"ClassDeletedEvent"` // 视频导出完成事件。仅当 EventType 为 Task.VideoExportCompleted 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 VideoExportCompletedEvent *VideoExportCompletedEvent `json:"VideoExportCompletedEvent,omitnil,omitempty" name:"VideoExportCompletedEvent"` // 点播转直播项目状态变更事件。仅当 EventType 为 Project.MediaCast.StatusChanged 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ProjectMediaCastStatusChangedEvent *ProjectMediaCastStatusChangedEvent `json:"ProjectMediaCastStatusChangedEvent,omitnil,omitempty" name:"ProjectMediaCastStatusChangedEvent"` }
type ExportVideoByEditorTrackDataRequest ¶
type ExportVideoByEditorTrackDataRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 导出视频预设配置 Id,推荐优先使用下面的默认预设配置 Id,有其他需求可通过接口定制预设配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创建引擎,即导出到多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 轨道数据,用于描述待导出视频的内容。关于轨道数据的格式请查看 [视频合成协议](https://cloud.tencent.com/document/product/1156/51225)。文档中也描述了如何在页面上查看一个剪辑项目的轨道数据,该能力可以帮助开发者更方便地构造自己的轨道数据。 TrackData *string `json:"TrackData,omitnil,omitempty" name:"TrackData"` // 轨道数据对应的画布宽高比,配合预设配置中的视频短边尺寸,可决定导出画面的尺寸。例: // <li>如果 AspectRatio 取值 16:9,预设配置选为12(短边1080),则导出尺寸为 1920 * 1080;</li> // <li>如果 AspectRatio 取值 9:16,预设配置选为11(短边720),则导出尺寸为 720 *1280。</li> AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 视频封面图片文件(如 jpeg, png 等)进行 Base64 编码后的字符串,仅支持 gif、jpeg、png 三种图片格式,原图片文件不能超过2 M大 小。 CoverData *string `json:"CoverData,omitnil,omitempty" name:"CoverData"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,无权限限制。如果指定操作者,轨道数据中使用的媒资该操作者需要拥有使用权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewExportVideoByEditorTrackDataRequest ¶
func NewExportVideoByEditorTrackDataRequest() (request *ExportVideoByEditorTrackDataRequest)
func (*ExportVideoByEditorTrackDataRequest) FromJsonString ¶
func (r *ExportVideoByEditorTrackDataRequest) 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 (*ExportVideoByEditorTrackDataRequest) ToJsonString ¶
func (r *ExportVideoByEditorTrackDataRequest) ToJsonString() string
type ExportVideoByEditorTrackDataRequestParams ¶ added in v1.0.426
type ExportVideoByEditorTrackDataRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 导出视频预设配置 Id,推荐优先使用下面的默认预设配置 Id,有其他需求可通过接口定制预设配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创建引擎,即导出到多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 轨道数据,用于描述待导出视频的内容。关于轨道数据的格式请查看 [视频合成协议](https://cloud.tencent.com/document/product/1156/51225)。文档中也描述了如何在页面上查看一个剪辑项目的轨道数据,该能力可以帮助开发者更方便地构造自己的轨道数据。 TrackData *string `json:"TrackData,omitnil,omitempty" name:"TrackData"` // 轨道数据对应的画布宽高比,配合预设配置中的视频短边尺寸,可决定导出画面的尺寸。例: // <li>如果 AspectRatio 取值 16:9,预设配置选为12(短边1080),则导出尺寸为 1920 * 1080;</li> // <li>如果 AspectRatio 取值 9:16,预设配置选为11(短边720),则导出尺寸为 720 *1280。</li> AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 视频封面图片文件(如 jpeg, png 等)进行 Base64 编码后的字符串,仅支持 gif、jpeg、png 三种图片格式,原图片文件不能超过2 M大 小。 CoverData *string `json:"CoverData,omitnil,omitempty" name:"CoverData"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,无权限限制。如果指定操作者,轨道数据中使用的媒资该操作者需要拥有使用权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ExportVideoByEditorTrackDataResponse ¶
type ExportVideoByEditorTrackDataResponse struct { *tchttp.BaseResponse Response *ExportVideoByEditorTrackDataResponseParams `json:"Response"` }
func NewExportVideoByEditorTrackDataResponse ¶
func NewExportVideoByEditorTrackDataResponse() (response *ExportVideoByEditorTrackDataResponse)
func (*ExportVideoByEditorTrackDataResponse) FromJsonString ¶
func (r *ExportVideoByEditorTrackDataResponse) 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 (*ExportVideoByEditorTrackDataResponse) ToJsonString ¶
func (r *ExportVideoByEditorTrackDataResponse) ToJsonString() string
type ExportVideoByEditorTrackDataResponseParams ¶ added in v1.0.426
type ExportVideoByEditorTrackDataResponseParams struct { // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExportVideoByTemplateRequest ¶
type ExportVideoByTemplateRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频编辑模板 Id。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 导出视频预设配置 Id,推荐优先使用下面的默认预设配置 Id,有其他需求可通过接口定制预设配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 需要替换的素材信息。 SlotReplacements []*SlotReplacementInfo `json:"SlotReplacements,omitnil,omitempty" name:"SlotReplacements"` // 导出的多媒体创作引擎媒资信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,无权限限制。如果指定操作者,则操作者需要有替换媒体及剪辑模板的权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewExportVideoByTemplateRequest ¶
func NewExportVideoByTemplateRequest() (request *ExportVideoByTemplateRequest)
func (*ExportVideoByTemplateRequest) FromJsonString ¶
func (r *ExportVideoByTemplateRequest) 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 (*ExportVideoByTemplateRequest) ToJsonString ¶
func (r *ExportVideoByTemplateRequest) ToJsonString() string
type ExportVideoByTemplateRequestParams ¶ added in v1.0.426
type ExportVideoByTemplateRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频编辑模板 Id。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 导出视频预设配置 Id,推荐优先使用下面的默认预设配置 Id,有其他需求可通过接口定制预设配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 需要替换的素材信息。 SlotReplacements []*SlotReplacementInfo `json:"SlotReplacements,omitnil,omitempty" name:"SlotReplacements"` // 导出的多媒体创作引擎媒资信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,无权限限制。如果指定操作者,则操作者需要有替换媒体及剪辑模板的权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ExportVideoByTemplateResponse ¶
type ExportVideoByTemplateResponse struct { *tchttp.BaseResponse Response *ExportVideoByTemplateResponseParams `json:"Response"` }
func NewExportVideoByTemplateResponse ¶
func NewExportVideoByTemplateResponse() (response *ExportVideoByTemplateResponse)
func (*ExportVideoByTemplateResponse) FromJsonString ¶
func (r *ExportVideoByTemplateResponse) 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 (*ExportVideoByTemplateResponse) ToJsonString ¶
func (r *ExportVideoByTemplateResponse) ToJsonString() string
type ExportVideoByTemplateResponseParams ¶ added in v1.0.426
type ExportVideoByTemplateResponseParams struct { // 导出任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExportVideoByVideoSegmentationDataRequest ¶
type ExportVideoByVideoSegmentationDataRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频拆条项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 指定需要导出的智能拆条片段的组 Id 。 SegmentGroupId *string `json:"SegmentGroupId,omitnil,omitempty" name:"SegmentGroupId"` // 指定需要导出的智能拆条片段 Id 集合。 SegmentIds []*string `json:"SegmentIds,omitnil,omitempty" name:"SegmentIds"` // 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewExportVideoByVideoSegmentationDataRequest ¶
func NewExportVideoByVideoSegmentationDataRequest() (request *ExportVideoByVideoSegmentationDataRequest)
func (*ExportVideoByVideoSegmentationDataRequest) FromJsonString ¶
func (r *ExportVideoByVideoSegmentationDataRequest) 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 (*ExportVideoByVideoSegmentationDataRequest) ToJsonString ¶
func (r *ExportVideoByVideoSegmentationDataRequest) ToJsonString() string
type ExportVideoByVideoSegmentationDataRequestParams ¶ added in v1.0.426
type ExportVideoByVideoSegmentationDataRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频拆条项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 指定需要导出的智能拆条片段的组 Id 。 SegmentGroupId *string `json:"SegmentGroupId,omitnil,omitempty" name:"SegmentGroupId"` // 指定需要导出的智能拆条片段 Id 集合。 SegmentIds []*string `json:"SegmentIds,omitnil,omitempty" name:"SegmentIds"` // 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ExportVideoByVideoSegmentationDataResponse ¶
type ExportVideoByVideoSegmentationDataResponse struct { *tchttp.BaseResponse Response *ExportVideoByVideoSegmentationDataResponseParams `json:"Response"` }
func NewExportVideoByVideoSegmentationDataResponse ¶
func NewExportVideoByVideoSegmentationDataResponse() (response *ExportVideoByVideoSegmentationDataResponse)
func (*ExportVideoByVideoSegmentationDataResponse) FromJsonString ¶
func (r *ExportVideoByVideoSegmentationDataResponse) 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 (*ExportVideoByVideoSegmentationDataResponse) ToJsonString ¶
func (r *ExportVideoByVideoSegmentationDataResponse) ToJsonString() string
type ExportVideoByVideoSegmentationDataResponseParams ¶ added in v1.0.426
type ExportVideoByVideoSegmentationDataResponseParams struct { // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExportVideoEditProjectRequest ¶
type ExportVideoEditProjectRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 视频编码配置 ID,支持自定义创建,推荐优先使用系统预置的导出配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 视频封面图片文件(如 jpeg, png 等)进行 Base64 编码后的字符串,仅支持 gif、jpeg、png 三种图片格式,原图片文件不能超过2 M大 小。 CoverData *string `json:"CoverData,omitnil,omitempty" name:"CoverData"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewExportVideoEditProjectRequest ¶
func NewExportVideoEditProjectRequest() (request *ExportVideoEditProjectRequest)
func (*ExportVideoEditProjectRequest) FromJsonString ¶
func (r *ExportVideoEditProjectRequest) 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 (*ExportVideoEditProjectRequest) ToJsonString ¶
func (r *ExportVideoEditProjectRequest) ToJsonString() string
type ExportVideoEditProjectRequestParams ¶ added in v1.0.426
type ExportVideoEditProjectRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 视频编码配置 ID,支持自定义创建,推荐优先使用系统预置的导出配置。 // <li>10:分辨率为 480P,输出视频格式为 MP4;</li> // <li>11:分辨率为 720P,输出视频格式为 MP4;</li> // <li>12:分辨率为 1080P,输出视频格式为 MP4。</li> Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 导出目标,指定导出视频的目标媒资库,可取值有: // <li>CME:多媒体创作引擎,即导出为多媒体创作引擎媒资库,此导出目标在云点播媒资库依然可见;</li> // <li>VOD:云点播,即导出为云点播媒资库,此导出目标在多媒体创作引擎媒资库将不可见。</li> ExportDestination *string `json:"ExportDestination,omitnil,omitempty" name:"ExportDestination"` // 视频封面图片文件(如 jpeg, png 等)进行 Base64 编码后的字符串,仅支持 gif、jpeg、png 三种图片格式,原图片文件不能超过2 M大 小。 CoverData *string `json:"CoverData,omitnil,omitempty" name:"CoverData"` // 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。 CMEExportInfo *CMEExportInfo `json:"CMEExportInfo,omitnil,omitempty" name:"CMEExportInfo"` // 导出的云点播媒资信息。当导出目标为 VOD 时必填。 VODExportInfo *VODExportInfo `json:"VODExportInfo,omitnil,omitempty" name:"VODExportInfo"` // 视频导出扩展参数。可以覆盖导出模板中的参数,灵活的指定导出规格及参数。 ExportExtensionArgs *VideoExportExtensionArgs `json:"ExportExtensionArgs,omitnil,omitempty" name:"ExportExtensionArgs"` // 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ExportVideoEditProjectResponse ¶
type ExportVideoEditProjectResponse struct { *tchttp.BaseResponse Response *ExportVideoEditProjectResponseParams `json:"Response"` }
func NewExportVideoEditProjectResponse ¶
func NewExportVideoEditProjectResponse() (response *ExportVideoEditProjectResponse)
func (*ExportVideoEditProjectResponse) FromJsonString ¶
func (r *ExportVideoEditProjectResponse) 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 (*ExportVideoEditProjectResponse) ToJsonString ¶
func (r *ExportVideoEditProjectResponse) ToJsonString() string
type ExportVideoEditProjectResponseParams ¶ added in v1.0.426
type ExportVideoEditProjectResponseParams struct { // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ExternalMediaInfo ¶
type ExternalMediaInfo struct { // 目前仅支持绑定 COS 桶的媒体,请填写存储对象 Key 值,例如:`example-folder/example.mp4`。 MediaKey *string `json:"MediaKey,omitnil,omitempty" name:"MediaKey"` // 该字段废弃,请勿使用。 Definition *int64 `json:"Definition,omitnil,omitempty" name:"Definition"` // 媒资挂载的存储 Id。 StorageId *string `json:"StorageId,omitnil,omitempty" name:"StorageId"` }
type FlattenListMediaRequest ¶
type FlattenListMediaRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体分类路径,例如填写"/a/b",则代表平铺该分类路径下及其子分类路径下的媒体信息。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体分类的归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:10,最大值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以平铺查询任意分类下的媒体信息。如果指定操作者,则操作者必须对当前分类有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewFlattenListMediaRequest ¶
func NewFlattenListMediaRequest() (request *FlattenListMediaRequest)
func (*FlattenListMediaRequest) FromJsonString ¶
func (r *FlattenListMediaRequest) 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 (*FlattenListMediaRequest) ToJsonString ¶
func (r *FlattenListMediaRequest) ToJsonString() string
type FlattenListMediaRequestParams ¶ added in v1.0.426
type FlattenListMediaRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体分类路径,例如填写"/a/b",则代表平铺该分类路径下及其子分类路径下的媒体信息。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体分类的归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:10,最大值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以平铺查询任意分类下的媒体信息。如果指定操作者,则操作者必须对当前分类有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type FlattenListMediaResponse ¶
type FlattenListMediaResponse struct { *tchttp.BaseResponse Response *FlattenListMediaResponseParams `json:"Response"` }
func NewFlattenListMediaResponse ¶
func NewFlattenListMediaResponse() (response *FlattenListMediaResponse)
func (*FlattenListMediaResponse) FromJsonString ¶
func (r *FlattenListMediaResponse) 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 (*FlattenListMediaResponse) ToJsonString ¶
func (r *FlattenListMediaResponse) ToJsonString() string
type FlattenListMediaResponseParams ¶ added in v1.0.426
type FlattenListMediaResponseParams struct { // 符合条件的记录总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 该分类路径下及其子分类下的所有媒体基础信息列表。 MaterialInfoSet []*MaterialInfo `json:"MaterialInfoSet,omitnil,omitempty" name:"MaterialInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GenerateVideoSegmentationSchemeByAiRequest ¶
type GenerateVideoSegmentationSchemeByAiRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频拆条项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以对任务视频拆条项目发起拆条任务。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewGenerateVideoSegmentationSchemeByAiRequest ¶
func NewGenerateVideoSegmentationSchemeByAiRequest() (request *GenerateVideoSegmentationSchemeByAiRequest)
func (*GenerateVideoSegmentationSchemeByAiRequest) FromJsonString ¶
func (r *GenerateVideoSegmentationSchemeByAiRequest) 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 (*GenerateVideoSegmentationSchemeByAiRequest) ToJsonString ¶
func (r *GenerateVideoSegmentationSchemeByAiRequest) ToJsonString() string
type GenerateVideoSegmentationSchemeByAiRequestParams ¶ added in v1.0.426
type GenerateVideoSegmentationSchemeByAiRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 视频拆条项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以对任务视频拆条项目发起拆条任务。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type GenerateVideoSegmentationSchemeByAiResponse ¶
type GenerateVideoSegmentationSchemeByAiResponse struct { *tchttp.BaseResponse Response *GenerateVideoSegmentationSchemeByAiResponseParams `json:"Response"` }
func NewGenerateVideoSegmentationSchemeByAiResponse ¶
func NewGenerateVideoSegmentationSchemeByAiResponse() (response *GenerateVideoSegmentationSchemeByAiResponse)
func (*GenerateVideoSegmentationSchemeByAiResponse) FromJsonString ¶
func (r *GenerateVideoSegmentationSchemeByAiResponse) 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 (*GenerateVideoSegmentationSchemeByAiResponse) ToJsonString ¶
func (r *GenerateVideoSegmentationSchemeByAiResponse) ToJsonString() string
type GenerateVideoSegmentationSchemeByAiResponseParams ¶ added in v1.0.426
type GenerateVideoSegmentationSchemeByAiResponseParams struct { // 视频智能拆条任务 Id 。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GrantResourceAuthorizationRequest ¶
type GrantResourceAuthorizationRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 资源归属者,个人或者团队。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 被授权资源。 Resources []*Resource `json:"Resources,omitnil,omitempty" name:"Resources"` // 被授权目标,个人或者团队。 Authorizees []*Entity `json:"Authorizees,omitnil,omitempty" name:"Authorizees"` // 详细授权值。 取值有: // <li>R:可读,可以浏览媒体,但不能使用该媒体文件(将其添加到 Project),或复制到自己的媒资库中</li> // <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li> // <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li> // <li>W:可修改、删除媒资。</li> Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以授权任意归属者的资源。如果指定操作者,则操作者必须对资源拥有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewGrantResourceAuthorizationRequest ¶
func NewGrantResourceAuthorizationRequest() (request *GrantResourceAuthorizationRequest)
func (*GrantResourceAuthorizationRequest) FromJsonString ¶
func (r *GrantResourceAuthorizationRequest) 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 (*GrantResourceAuthorizationRequest) ToJsonString ¶
func (r *GrantResourceAuthorizationRequest) ToJsonString() string
type GrantResourceAuthorizationRequestParams ¶ added in v1.0.426
type GrantResourceAuthorizationRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 资源归属者,个人或者团队。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 被授权资源。 Resources []*Resource `json:"Resources,omitnil,omitempty" name:"Resources"` // 被授权目标,个人或者团队。 Authorizees []*Entity `json:"Authorizees,omitnil,omitempty" name:"Authorizees"` // 详细授权值。 取值有: // <li>R:可读,可以浏览媒体,但不能使用该媒体文件(将其添加到 Project),或复制到自己的媒资库中</li> // <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li> // <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li> // <li>W:可修改、删除媒资。</li> Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以授权任意归属者的资源。如果指定操作者,则操作者必须对资源拥有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type GrantResourceAuthorizationResponse ¶
type GrantResourceAuthorizationResponse struct { *tchttp.BaseResponse Response *GrantResourceAuthorizationResponseParams `json:"Response"` }
func NewGrantResourceAuthorizationResponse ¶
func NewGrantResourceAuthorizationResponse() (response *GrantResourceAuthorizationResponse)
func (*GrantResourceAuthorizationResponse) FromJsonString ¶
func (r *GrantResourceAuthorizationResponse) 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 (*GrantResourceAuthorizationResponse) ToJsonString ¶
func (r *GrantResourceAuthorizationResponse) ToJsonString() string
type GrantResourceAuthorizationResponseParams ¶ added in v1.0.426
type GrantResourceAuthorizationResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type HandleMediaCastProjectRequest ¶ added in v1.0.624
type HandleMediaCastProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体转推项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 请参考 [操作类型](#Operation)。 Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 输入源信息。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddSource、DeleteSource、SwitchSource 时必填。 SourceInfos []*MediaCastSourceInfo `json:"SourceInfos,omitnil,omitempty" name:"SourceInfos"` // 输出源信息。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddDestination、DeleteDestination、EnableDestination、DisableDestination、ModifyDestination 时必填。 DestinationInfos []*MediaCastDestinationInfo `json:"DestinationInfos,omitnil,omitempty" name:"DestinationInfos"` // 输出媒体配置。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 ModfiyOutputSetting 时必填。 OutputMediaSetting *MediaCastOutputMediaSetting `json:"OutputMediaSetting,omitnil,omitempty" name:"OutputMediaSetting"` // 播放控制参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 ModifyPlaySetting 时必填。 PlaySetting *MediaCastPlaySetting `json:"PlaySetting,omitnil,omitempty" name:"PlaySetting"` // 新添加的输入源位于输入源列表的位置,从0开始。默认加在输入源列表的后面。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddSource 时必填。 Position *int64 `json:"Position,omitnil,omitempty" name:"Position"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有媒体转推项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewHandleMediaCastProjectRequest ¶ added in v1.0.624
func NewHandleMediaCastProjectRequest() (request *HandleMediaCastProjectRequest)
func (*HandleMediaCastProjectRequest) FromJsonString ¶ added in v1.0.624
func (r *HandleMediaCastProjectRequest) 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 (*HandleMediaCastProjectRequest) ToJsonString ¶ added in v1.0.624
func (r *HandleMediaCastProjectRequest) ToJsonString() string
type HandleMediaCastProjectRequestParams ¶ added in v1.0.624
type HandleMediaCastProjectRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体转推项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 请参考 [操作类型](#Operation)。 Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 输入源信息。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddSource、DeleteSource、SwitchSource 时必填。 SourceInfos []*MediaCastSourceInfo `json:"SourceInfos,omitnil,omitempty" name:"SourceInfos"` // 输出源信息。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddDestination、DeleteDestination、EnableDestination、DisableDestination、ModifyDestination 时必填。 DestinationInfos []*MediaCastDestinationInfo `json:"DestinationInfos,omitnil,omitempty" name:"DestinationInfos"` // 输出媒体配置。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 ModfiyOutputSetting 时必填。 OutputMediaSetting *MediaCastOutputMediaSetting `json:"OutputMediaSetting,omitnil,omitempty" name:"OutputMediaSetting"` // 播放控制参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 ModifyPlaySetting 时必填。 PlaySetting *MediaCastPlaySetting `json:"PlaySetting,omitnil,omitempty" name:"PlaySetting"` // 新添加的输入源位于输入源列表的位置,从0开始。默认加在输入源列表的后面。具体操作方式详见 [操作类型](#Operation) 及下文示例。 // 当 Operation 为 AddSource 时必填。 Position *int64 `json:"Position,omitnil,omitempty" name:"Position"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有媒体转推项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type HandleMediaCastProjectResponse ¶ added in v1.0.624
type HandleMediaCastProjectResponse struct { *tchttp.BaseResponse Response *HandleMediaCastProjectResponseParams `json:"Response"` }
func NewHandleMediaCastProjectResponse ¶ added in v1.0.624
func NewHandleMediaCastProjectResponse() (response *HandleMediaCastProjectResponse)
func (*HandleMediaCastProjectResponse) FromJsonString ¶ added in v1.0.624
func (r *HandleMediaCastProjectResponse) 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 (*HandleMediaCastProjectResponse) ToJsonString ¶ added in v1.0.624
func (r *HandleMediaCastProjectResponse) ToJsonString() string
type HandleMediaCastProjectResponseParams ¶ added in v1.0.624
type HandleMediaCastProjectResponseParams struct { // 播放信息,Operation 为 DescribePlayInfo 时返回。 // 注意:此字段可能返回 null,表示取不到有效值。 PlayInfo *MediaCastPlayInfo `json:"PlayInfo,omitnil,omitempty" name:"PlayInfo"` // 输入源信息, Operation 为 AddSource 时返回添加成功的输入源信息。 // 注意:此字段可能返回 null,表示取不到有效值。 SourceInfoSet []*MediaCastSourceInfo `json:"SourceInfoSet,omitnil,omitempty" name:"SourceInfoSet"` // 输出源信息, Operation 为 AddDestination 时返回添加成功的输出源信息。 // 注意:此字段可能返回 null,表示取不到有效值。 DestinationInfoSet []*MediaCastDestinationInfo `json:"DestinationInfoSet,omitnil,omitempty" name:"DestinationInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type HandleStreamConnectProjectRequest ¶
type HandleStreamConnectProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 云转推项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 请参考 [操作类型](#Operation) Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 InputInfo *StreamInputInfo `json:"InputInfo,omitnil,omitempty" name:"InputInfo"` // 主备输入源标识,取值有: // <li> Main :主源;</li> // <li> Backup :备源。</li> InputEndpoint *string `json:"InputEndpoint,omitnil,omitempty" name:"InputEndpoint"` // 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 OutputInfo *StreamConnectOutput `json:"OutputInfo,omitnil,omitempty" name:"OutputInfo"` // 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 CurrentStopTime *string `json:"CurrentStopTime,omitnil,omitempty" name:"CurrentStopTime"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewHandleStreamConnectProjectRequest ¶
func NewHandleStreamConnectProjectRequest() (request *HandleStreamConnectProjectRequest)
func (*HandleStreamConnectProjectRequest) FromJsonString ¶
func (r *HandleStreamConnectProjectRequest) 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 (*HandleStreamConnectProjectRequest) ToJsonString ¶
func (r *HandleStreamConnectProjectRequest) ToJsonString() string
type HandleStreamConnectProjectRequestParams ¶ added in v1.0.426
type HandleStreamConnectProjectRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 云转推项目 Id 。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 请参考 [操作类型](#Operation) Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 InputInfo *StreamInputInfo `json:"InputInfo,omitnil,omitempty" name:"InputInfo"` // 主备输入源标识,取值有: // <li> Main :主源;</li> // <li> Backup :备源。</li> InputEndpoint *string `json:"InputEndpoint,omitnil,omitempty" name:"InputEndpoint"` // 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 OutputInfo *StreamConnectOutput `json:"OutputInfo,omitnil,omitempty" name:"OutputInfo"` // 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 CurrentStopTime *string `json:"CurrentStopTime,omitnil,omitempty" name:"CurrentStopTime"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type HandleStreamConnectProjectResponse ¶
type HandleStreamConnectProjectResponse struct { *tchttp.BaseResponse Response *HandleStreamConnectProjectResponseParams `json:"Response"` }
func NewHandleStreamConnectProjectResponse ¶
func NewHandleStreamConnectProjectResponse() (response *HandleStreamConnectProjectResponse)
func (*HandleStreamConnectProjectResponse) FromJsonString ¶
func (r *HandleStreamConnectProjectResponse) 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 (*HandleStreamConnectProjectResponse) ToJsonString ¶
func (r *HandleStreamConnectProjectResponse) ToJsonString() string
type HandleStreamConnectProjectResponseParams ¶ added in v1.0.426
type HandleStreamConnectProjectResponseParams struct { // 输入源推流地址,当 Operation 取值 AddInput 且 InputType 为 RtmpPush 类型时有效。 StreamInputRtmpPushUrl *string `json:"StreamInputRtmpPushUrl,omitnil,omitempty" name:"StreamInputRtmpPushUrl"` // 点播输入源播放进度信息,当 Operation 取值 DescribeInputPlayInfo 且 InputType 为 VodPull 类型时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 VodPullInputPlayInfo *VodPullInputPlayInfo `json:"VodPullInputPlayInfo,omitnil,omitempty" name:"VodPullInputPlayInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ImageMaterial ¶
type ImageMaterial struct { // 图片高度,单位:px。 Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // 图片宽度,单位:px。 Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // 素材媒体文件的展示 URL 地址。 MaterialUrl *string `json:"MaterialUrl,omitnil,omitempty" name:"MaterialUrl"` // 图片大小,单位:字节。 Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // 素材媒体文件的原始 URL 地址。 OriginalUrl *string `json:"OriginalUrl,omitnil,omitempty" name:"OriginalUrl"` // 云点播媒资 FileId。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` }
type ImportMaterialRequest ¶
type ImportMaterialRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体归属者,可支持归属团队或个人。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体名称,不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入媒资类型,取值: // <li>VOD:云点播文件;</li> // <li>EXTERNAL:媒资绑定。</li> // // 注意:如果不填默认为云点播文件,如果媒体存储在非腾讯云点播中,都需要使用媒资绑定。另外,导入云点播的文件,使用云点播的子应用 Id 必须与创建多媒体创作引擎平台时使用的云点播子应用一致。 SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 云点播媒资 FileId,仅当 SourceType 为 VOD 时有效。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` // 原始媒资文件信息,当 SourceType 取值 EXTERNAL 的时候必填。 ExternalMediaInfo *ExternalMediaInfo `json:"ExternalMediaInfo,omitnil,omitempty" name:"ExternalMediaInfo"` // 媒体分类路径,形如:"/a/b",层级数不能超过10,每个层级长度不能超过15字符。若不填则默认为根路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体预处理任务参数 ID。可取值有: // <li>10:进行编辑预处理。</li> PreProcessDefinition *int64 `json:"PreProcessDefinition,omitnil,omitempty" name:"PreProcessDefinition"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向任意团队或者个人导入媒体。如果指定操作者,如果媒体归属为个人,则操作者必须与归属者一致;如果媒体归属为团队,则必须为团队可导入媒体的团队成员(如果没有特殊设置,所有团队成员可导入媒体)。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewImportMaterialRequest ¶
func NewImportMaterialRequest() (request *ImportMaterialRequest)
func (*ImportMaterialRequest) FromJsonString ¶
func (r *ImportMaterialRequest) 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 (*ImportMaterialRequest) ToJsonString ¶
func (r *ImportMaterialRequest) ToJsonString() string
type ImportMaterialRequestParams ¶ added in v1.0.426
type ImportMaterialRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体归属者,可支持归属团队或个人。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体名称,不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入媒资类型,取值: // <li>VOD:云点播文件;</li> // <li>EXTERNAL:媒资绑定。</li> // // 注意:如果不填默认为云点播文件,如果媒体存储在非腾讯云点播中,都需要使用媒资绑定。另外,导入云点播的文件,使用云点播的子应用 Id 必须与创建多媒体创作引擎平台时使用的云点播子应用一致。 SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 云点播媒资 FileId,仅当 SourceType 为 VOD 时有效。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` // 原始媒资文件信息,当 SourceType 取值 EXTERNAL 的时候必填。 ExternalMediaInfo *ExternalMediaInfo `json:"ExternalMediaInfo,omitnil,omitempty" name:"ExternalMediaInfo"` // 媒体分类路径,形如:"/a/b",层级数不能超过10,每个层级长度不能超过15字符。若不填则默认为根路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体预处理任务参数 ID。可取值有: // <li>10:进行编辑预处理。</li> PreProcessDefinition *int64 `json:"PreProcessDefinition,omitnil,omitempty" name:"PreProcessDefinition"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向任意团队或者个人导入媒体。如果指定操作者,如果媒体归属为个人,则操作者必须与归属者一致;如果媒体归属为团队,则必须为团队可导入媒体的团队成员(如果没有特殊设置,所有团队成员可导入媒体)。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ImportMaterialResponse ¶
type ImportMaterialResponse struct { *tchttp.BaseResponse Response *ImportMaterialResponseParams `json:"Response"` }
func NewImportMaterialResponse ¶
func NewImportMaterialResponse() (response *ImportMaterialResponse)
func (*ImportMaterialResponse) FromJsonString ¶
func (r *ImportMaterialResponse) 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 (*ImportMaterialResponse) ToJsonString ¶
func (r *ImportMaterialResponse) ToJsonString() string
type ImportMaterialResponseParams ¶ added in v1.0.426
type ImportMaterialResponseParams struct { // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体文件预处理任务 ID,如果未指定发起预处理任务则为空。 PreProcessTaskId *string `json:"PreProcessTaskId,omitnil,omitempty" name:"PreProcessTaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ImportMediaInfo ¶ added in v1.0.339
type ImportMediaToProjectRequest ¶
type ImportMediaToProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 导入媒资类型,取值: // <li>VOD:云点播文件;</li> // <li>EXTERNAL:媒资绑定。</li> // // 注意:如果不填默认为云点播文件,如果媒体存储在非腾讯云点播中,都需要使用媒资绑定。 SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 云点播媒资文件 Id,当 SourceType 取值 VOD 或者缺省的时候必填。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` // 原始媒资文件信息,当 SourceType 取值 EXTERNAL 的时候必填。 ExternalMediaInfo *ExternalMediaInfo `json:"ExternalMediaInfo,omitnil,omitempty" name:"ExternalMediaInfo"` // 媒体名称,不能超过30个字符。如果不填,则媒体名称为点播媒资文件名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 媒体预处理配置 ID,取值: // <li>10:进行视频编辑预处理。</li> // // 注意:如果填0或者不填则不进行处理,如果原始视频不可在浏览器直接播放将无法在编辑页面编辑。 PreProcessDefinition *int64 `json:"PreProcessDefinition,omitnil,omitempty" name:"PreProcessDefinition"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向所有视频编辑项目导入媒体;如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewImportMediaToProjectRequest ¶
func NewImportMediaToProjectRequest() (request *ImportMediaToProjectRequest)
func (*ImportMediaToProjectRequest) FromJsonString ¶
func (r *ImportMediaToProjectRequest) 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 (*ImportMediaToProjectRequest) ToJsonString ¶
func (r *ImportMediaToProjectRequest) ToJsonString() string
type ImportMediaToProjectRequestParams ¶ added in v1.0.426
type ImportMediaToProjectRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 导入媒资类型,取值: // <li>VOD:云点播文件;</li> // <li>EXTERNAL:媒资绑定。</li> // // 注意:如果不填默认为云点播文件,如果媒体存储在非腾讯云点播中,都需要使用媒资绑定。 SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 云点播媒资文件 Id,当 SourceType 取值 VOD 或者缺省的时候必填。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` // 原始媒资文件信息,当 SourceType 取值 EXTERNAL 的时候必填。 ExternalMediaInfo *ExternalMediaInfo `json:"ExternalMediaInfo,omitnil,omitempty" name:"ExternalMediaInfo"` // 媒体名称,不能超过30个字符。如果不填,则媒体名称为点播媒资文件名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 媒体预处理配置 ID,取值: // <li>10:进行视频编辑预处理。</li> // // 注意:如果填0或者不填则不进行处理,如果原始视频不可在浏览器直接播放将无法在编辑页面编辑。 PreProcessDefinition *int64 `json:"PreProcessDefinition,omitnil,omitempty" name:"PreProcessDefinition"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以向所有视频编辑项目导入媒体;如果指定操作者,则操作者必须为项目所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ImportMediaToProjectResponse ¶
type ImportMediaToProjectResponse struct { *tchttp.BaseResponse Response *ImportMediaToProjectResponseParams `json:"Response"` }
func NewImportMediaToProjectResponse ¶
func NewImportMediaToProjectResponse() (response *ImportMediaToProjectResponse)
func (*ImportMediaToProjectResponse) FromJsonString ¶
func (r *ImportMediaToProjectResponse) 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 (*ImportMediaToProjectResponse) ToJsonString ¶
func (r *ImportMediaToProjectResponse) ToJsonString() string
type ImportMediaToProjectResponseParams ¶ added in v1.0.426
type ImportMediaToProjectResponseParams struct { // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体预处理任务 ID,如果未指定发起预处理任务则为空。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IntegerRange ¶
type JoinTeamInfo ¶
type JoinTeamInfo struct { // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 团队成员个数。 MemberCount *uint64 `json:"MemberCount,omitnil,omitempty" name:"MemberCount"` // 成员在团队中的角色,取值有: // <li>Owner:团队所有者,添加团队成员及修改团队成员解决时不能填此角色;</li> // <li>Admin:团队管理员;</li> // <li>Member:普通成员。</li> Role *string `json:"Role,omitnil,omitempty" name:"Role"` }
type KuaishouPublishInfo ¶
type KuaishouPublishInfo struct { // 视频发布标题,限30个字符。 Title *string `json:"Title,omitnil,omitempty" name:"Title"` }
type LinkMaterial ¶
type LinkMaterial struct { // 链接类型取值: // <li>CLASS: 分类链接;</li> // <li> MATERIAL:素材链接。</li> LinkType *string `json:"LinkType,omitnil,omitempty" name:"LinkType"` // 链接状态取值: // <li> Normal:正常 ;</li> // <li>NotFound:链接目标不存在;</li> <li>Forbidden:无权限。</li> LinkStatus *string `json:"LinkStatus,omitnil,omitempty" name:"LinkStatus"` // 素材链接详细信息,当LinkType="MATERIAL"时有值。 // 注意:此字段可能返回 null,表示取不到有效值。 LinkMaterialInfo *LinkMaterialInfo `json:"LinkMaterialInfo,omitnil,omitempty" name:"LinkMaterialInfo"` // 分类链接目标信息,当LinkType=“CLASS”时有值。 // 注意:此字段可能返回 null,表示取不到有效值。 LinkClassInfo *ClassInfo `json:"LinkClassInfo,omitnil,omitempty" name:"LinkClassInfo"` }
type LinkMaterialInfo ¶
type LinkMaterialInfo struct { // 素材基本信息。 BasicInfo *MaterialBasicInfo `json:"BasicInfo,omitnil,omitempty" name:"BasicInfo"` // 视频素材信息。 // 注意:此字段可能返回 null,表示取不到有效值。 VideoMaterial *VideoMaterial `json:"VideoMaterial,omitnil,omitempty" name:"VideoMaterial"` // 音频素材信息。 // 注意:此字段可能返回 null,表示取不到有效值。 AudioMaterial *AudioMaterial `json:"AudioMaterial,omitnil,omitempty" name:"AudioMaterial"` // 图片素材信息。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageMaterial *ImageMaterial `json:"ImageMaterial,omitnil,omitempty" name:"ImageMaterial"` }
type ListMediaRequest ¶
type ListMediaRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体分类路径,例如填写"/a/b",则代表浏览该分类路径下的媒体和子分类信息。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体和分类的归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:10,最大值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以浏览任意分类的信息。如果指定操作者,则操作者必须对分类有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewListMediaRequest ¶
func NewListMediaRequest() (request *ListMediaRequest)
func (*ListMediaRequest) FromJsonString ¶
func (r *ListMediaRequest) 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 (*ListMediaRequest) ToJsonString ¶
func (r *ListMediaRequest) ToJsonString() string
type ListMediaRequestParams ¶ added in v1.0.426
type ListMediaRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 媒体分类路径,例如填写"/a/b",则代表浏览该分类路径下的媒体和子分类信息。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 媒体和分类的归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 分页偏移量,默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:10,最大值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以浏览任意分类的信息。如果指定操作者,则操作者必须对分类有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ListMediaResponse ¶
type ListMediaResponse struct { *tchttp.BaseResponse Response *ListMediaResponseParams `json:"Response"` }
func NewListMediaResponse ¶
func NewListMediaResponse() (response *ListMediaResponse)
func (*ListMediaResponse) FromJsonString ¶
func (r *ListMediaResponse) 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 (*ListMediaResponse) ToJsonString ¶
func (r *ListMediaResponse) ToJsonString() string
type ListMediaResponseParams ¶ added in v1.0.426
type ListMediaResponseParams struct { // 符合条件的媒体记录总数。 MaterialTotalCount *int64 `json:"MaterialTotalCount,omitnil,omitempty" name:"MaterialTotalCount"` // 浏览分类路径下的媒体列表信息。 MaterialInfoSet []*MaterialInfo `json:"MaterialInfoSet,omitnil,omitempty" name:"MaterialInfoSet"` // 浏览分类路径下的一级子类。 ClassInfoSet []*ClassInfo `json:"ClassInfoSet,omitnil,omitempty" name:"ClassInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LivePullInputInfo ¶
type LivePullInputInfo struct { // 直播拉流地址。 InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` }
type LoginStatusInfo ¶
type MaterialAddedEvent ¶ added in v1.0.339
type MaterialBasicInfo ¶
type MaterialBasicInfo struct { // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体类型,取值为: // <li> AUDIO :音频;</li> // <li> VIDEO :视频;</li> // <li> IMAGE :图片;</li> // <li> LINK :链接.</li> // <li> OTHER : 其他.</li> MaterialType *string `json:"MaterialType,omitnil,omitempty" name:"MaterialType"` // 媒体归属实体。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 媒体文件的创建时间,使用 ISO 日期格式。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 媒体文件的最近更新时间(如修改视频属性、发起视频处理等会触发更新媒体文件信息的操作),使用 ISO 日期格式。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 媒体的分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 预置标签列表。 PresetTagSet []*PresetTagInfo `json:"PresetTagSet,omitnil,omitempty" name:"PresetTagSet"` // 人工标签列表。 TagSet []*string `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 媒体文件的预览图。 PreviewUrl *string `json:"PreviewUrl,omitnil,omitempty" name:"PreviewUrl"` // 媒体绑定的标签信息列表 。 // 该字段已废弃。 // 注意:此字段可能返回 null,表示取不到有效值。 TagInfoSet []*MaterialTagInfo `json:"TagInfoSet,omitnil,omitempty" name:"TagInfoSet"` }
type MaterialDeletedEvent ¶ added in v1.0.339
type MaterialDeletedEvent struct { // 删除的媒体 Id 列表。 MaterialIdSet []*string `json:"MaterialIdSet,omitnil,omitempty" name:"MaterialIdSet"` }
type MaterialImportedEvent ¶ added in v1.0.339
type MaterialImportedEvent struct { // 导入的媒体信息列表。 MediaInfoSet []*ImportMediaInfo `json:"MediaInfoSet,omitnil,omitempty" name:"MediaInfoSet"` // 媒体归属。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` }
type MaterialInfo ¶
type MaterialInfo struct { // 媒体基本信息。 BasicInfo *MaterialBasicInfo `json:"BasicInfo,omitnil,omitempty" name:"BasicInfo"` // 视频媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 VideoMaterial *VideoMaterial `json:"VideoMaterial,omitnil,omitempty" name:"VideoMaterial"` // 音频媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 AudioMaterial *AudioMaterial `json:"AudioMaterial,omitnil,omitempty" name:"AudioMaterial"` // 图片媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageMaterial *ImageMaterial `json:"ImageMaterial,omitnil,omitempty" name:"ImageMaterial"` // 链接媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 LinkMaterial *LinkMaterial `json:"LinkMaterial,omitnil,omitempty" name:"LinkMaterial"` // 模板媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 VideoEditTemplateMaterial *VideoEditTemplateMaterial `json:"VideoEditTemplateMaterial,omitnil,omitempty" name:"VideoEditTemplateMaterial"` // 其他类型媒体信息。 // 注意:此字段可能返回 null,表示取不到有效值。 OtherMaterial *OtherMaterial `json:"OtherMaterial,omitnil,omitempty" name:"OtherMaterial"` }
type MaterialModifiedEvent ¶ added in v1.0.339
type MaterialModifiedEvent struct { // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 更新后的媒体名称。如未更新则为空。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 更新后的媒体预置标签列表。如未更新媒体预置标签,则该字段为空数组。 PresetTagIdSet []*string `json:"PresetTagIdSet,omitnil,omitempty" name:"PresetTagIdSet"` // 更新后的媒体自定义标签列表。如未更新媒体自定义标签,则该字段为空数组。 TagSet []*string `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
type MaterialMovedEvent ¶ added in v1.0.339
type MaterialMovedEvent struct { // 要移动的媒体 Id 列表。 MaterialIdSet []*string `json:"MaterialIdSet,omitnil,omitempty" name:"MaterialIdSet"` // 源媒体归属。 SourceOwner *Entity `json:"SourceOwner,omitnil,omitempty" name:"SourceOwner"` // 源媒体分类路径。 SourceClassPath *string `json:"SourceClassPath,omitnil,omitempty" name:"SourceClassPath"` // 目标媒体分类归属。 DestinationOwner *Entity `json:"DestinationOwner,omitnil,omitempty" name:"DestinationOwner"` // 目标媒体分类路径。 DestinationClassPath *string `json:"DestinationClassPath,omitnil,omitempty" name:"DestinationClassPath"` }
type MaterialStatus ¶
type MaterialStatus struct { // 素材编辑可用状态,取值有: // <li>NORMAL:正常,可直接用于编辑;</li> // <li>ABNORMAL : 异常,不可用于编辑;</li> // <li>PROCESSING:处理中,暂不可用于编辑。</li> EditorUsableStatus *string `json:"EditorUsableStatus,omitnil,omitempty" name:"EditorUsableStatus"` }
type MaterialTagInfo ¶
type MediaCastDestinationInfo ¶ added in v1.0.482
type MediaCastDestinationInterruptInfo ¶ added in v1.0.482
type MediaCastDestinationInterruptInfo struct { // 发生断流的输出源信息。 DestinationInfo *MediaCastDestinationInfo `json:"DestinationInfo,omitnil,omitempty" name:"DestinationInfo"` // 输出源断流原因,取值有: // <li>SystemError:系统错误;</li> // <li>Unknown:未知错误。</li> Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type MediaCastDestinationStatus ¶ added in v1.0.624
type MediaCastDestinationStatus struct { // 输出源 Id,由系统分配。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 输出源直播地址。 PushUrl *string `json:"PushUrl,omitnil,omitempty" name:"PushUrl"` // 输出源的状态。取值有: // <li> Working :运行中;</li> // <li> Stopped:停止输出;</li> // <li> Failed:输出失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type MediaCastOutputMediaSetting ¶ added in v1.0.482
type MediaCastOutputMediaSetting struct { // 视频配置。 VideoSetting *MediaCastVideoSetting `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 视频配置是否和第一个输入源的视频配置相同,默认值:false。如果 FollowSourceInfo 的值为 true,忽略 VideoSetting 参数。 FollowSourceInfo *bool `json:"FollowSourceInfo,omitnil,omitempty" name:"FollowSourceInfo"` }
type MediaCastPlayInfo ¶ added in v1.0.624
type MediaCastPlayInfo struct { // 点播转直播项目运行状态,取值有: // <li> Working : 运行中;</li> // <li> Idle: 空闲状态。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 当前播放的输入源 Id。 CurrentSourceId *string `json:"CurrentSourceId,omitnil,omitempty" name:"CurrentSourceId"` // 当前播放的输入源的播放位置,单位:秒。 CurrentSourcePosition *float64 `json:"CurrentSourcePosition,omitnil,omitempty" name:"CurrentSourcePosition"` // 当前播放的输入源时长,单位:秒。 CurrentSourceDuration *float64 `json:"CurrentSourceDuration,omitnil,omitempty" name:"CurrentSourceDuration"` // 输出源状态信息。 DestinationStatusSet []*MediaCastDestinationStatus `json:"DestinationStatusSet,omitnil,omitempty" name:"DestinationStatusSet"` // 已经循环播放的次数。 LoopCount *int64 `json:"LoopCount,omitnil,omitempty" name:"LoopCount"` }
type MediaCastPlaySetting ¶ added in v1.0.482
type MediaCastPlaySetting struct { // 循环播放次数。LoopCount 和 EndTime 同时只能有一个生效。默认循环播放次数为一次。如果同时设置了 LoopCount 和 EndTime 参数,优先使用 LoopCount 参数。 LoopCount *int64 `json:"LoopCount,omitnil,omitempty" name:"LoopCount"` // 结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 自动启动时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 AutoStartTime *string `json:"AutoStartTime,omitnil,omitempty" name:"AutoStartTime"` }
type MediaCastProjectInfo ¶ added in v1.0.482
type MediaCastProjectInfo struct { // 点播转直播项目状态,取值有: // <li>Working :运行中;</li> // <li>Idle :空闲。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 输入源列表。 SourceInfos []*MediaCastSourceInfo `json:"SourceInfos,omitnil,omitempty" name:"SourceInfos"` // 输出源列表。 DestinationInfos []*MediaCastDestinationInfo `json:"DestinationInfos,omitnil,omitempty" name:"DestinationInfos"` // 输出媒体配置。 OutputMediaSetting *MediaCastOutputMediaSetting `json:"OutputMediaSetting,omitnil,omitempty" name:"OutputMediaSetting"` // 播放参数。 PlaySetting *MediaCastPlaySetting `json:"PlaySetting,omitnil,omitempty" name:"PlaySetting"` // 项目启动时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 项目结束时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。如果项目还在运行中,该字段为空。 StopTime *string `json:"StopTime,omitnil,omitempty" name:"StopTime"` // 推流时长,单位:秒。项目结束后,返回上次项目运行时的推流时长。如果项目是 Working 状态,返回的时长是0。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` }
type MediaCastProjectInput ¶ added in v1.0.624
type MediaCastProjectInput struct { // 输入源列表。输入源列表最大个数为100. SourceInfos []*MediaCastSourceInfo `json:"SourceInfos,omitnil,omitempty" name:"SourceInfos"` // 输出源列表。输出源列表最大个数为10. DestinationInfos []*MediaCastDestinationInfo `json:"DestinationInfos,omitnil,omitempty" name:"DestinationInfos"` // 输出媒体配置。 OutputMediaSetting *MediaCastOutputMediaSetting `json:"OutputMediaSetting,omitnil,omitempty" name:"OutputMediaSetting"` // 播放控制参数。 PlaySetting *MediaCastPlaySetting `json:"PlaySetting,omitnil,omitempty" name:"PlaySetting"` }
type MediaCastSourceInfo ¶ added in v1.0.482
type MediaCastSourceInfo struct { // 输入源 Id,由系统分配。 // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 输入源的媒体类型,取值有: // <li>CME:多媒体创作引擎的媒体文件;</li> // <li>VOD:云点播的媒资文件。</li> // <li>EXTERNAL:非多媒体创建引擎或者云点播的媒资文件。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 云点播媒体文件 ID。当 Type = VOD 时必填。 FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // 多媒体创作引擎的媒体 ID。当 Type = CME 时必填。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 文件播放的起始位置,单位:秒。默认为0,从文件头开始播放。当 Type = CME 或者 VOD 时有效。 Offset *float64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 播放时长,单位:秒。默认播放整个文件。当 Type = CME 或者 VOD 时有效。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 外部文件的 Url, Type=EXTERNAL 时必填,可以是点播文件或者直播文件,支持的 Scheme 包括HTTP、HTTPS、RTMP。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
type MediaCastSourceInterruptInfo ¶ added in v1.0.482
type MediaCastSourceInterruptInfo struct { // 发生断流的输入源信息。 SourceInfo *MediaCastSourceInfo `json:"SourceInfo,omitnil,omitempty" name:"SourceInfo"` // 输入源断开原因。取值有: // <li>SystemError:系统错误;</li> // <li>Unknown:未知错误。</li> Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type MediaCastVideoSetting ¶ added in v1.0.482
type MediaCastVideoSetting struct { // 视频宽度,单位:px,默认值为1280。 Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // 视频高度,单位:px,默认值为720。支持的视频分辨率最大为1920*1080。 Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // 视频码率,单位:kbps,默认值为2500。最大值为10000 kbps。 Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 视频帧率,单位:Hz,默认值为25。最大值为60。 FrameRate *float64 `json:"FrameRate,omitnil,omitempty" name:"FrameRate"` }
type MediaImageSpriteInfo ¶
type MediaImageSpriteInfo struct { // 雪碧图小图的高度。 Height *int64 `json:"Height,omitnil,omitempty" name:"Height"` // 雪碧图小图的宽度。 Width *int64 `json:"Width,omitnil,omitempty" name:"Width"` // 雪碧图小图的总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 截取雪碧图输出的地址。 ImageUrlSet []*string `json:"ImageUrlSet,omitnil,omitempty" name:"ImageUrlSet"` // 雪碧图子图位置与时间关系的 WebVtt 文件地址。WebVtt 文件表明了各个雪碧图小图对应的时间点,以及在雪碧大图里的坐标位置,一般被播放器用于实现预览。 WebVttUrl *string `json:"WebVttUrl,omitnil,omitempty" name:"WebVttUrl"` }
type MediaMetaData ¶
type MediaMetaData struct { // 大小。 Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"` // 容器类型。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 视频流码率平均值与音频流码率平均值之和,单位:bps。 Bitrate *uint64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 视频流高度的最大值,单位:px。 Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"` // 视频流宽度的最大值,单位:px。 Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // 时长,单位:秒。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 视频拍摄时的选择角度,单位:度 Rotate *int64 `json:"Rotate,omitnil,omitempty" name:"Rotate"` // 视频流信息。 VideoStreamInfoSet []*VideoStreamInfo `json:"VideoStreamInfoSet,omitnil,omitempty" name:"VideoStreamInfoSet"` // 音频流信息。 AudioStreamInfoSet []*AudioStreamInfo `json:"AudioStreamInfoSet,omitnil,omitempty" name:"AudioStreamInfoSet"` }
type MediaPreprocessOperation ¶ added in v1.0.228
type MediaReplacementInfo ¶
type MediaReplacementInfo struct { // 替换的媒体类型,取值有: // <li>CMEMaterialId:替换的媒体类型为媒体 ID;</li> // <li>ImageUrl:替换的媒体类型为图片 URL;</li> // // 注:默认为 CMEMaterialId 。 MediaType *string `json:"MediaType,omitnil,omitempty" name:"MediaType"` // 媒体 ID。 // 当媒体类型取值为 CMEMaterialId 时有效。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体 URL。 // 当媒体类型取值为 ImageUrl 时有效, // 图片仅支持 jpg、png 格式,且大小不超过 2M 。 MediaUrl *string `json:"MediaUrl,omitnil,omitempty" name:"MediaUrl"` // 替换媒体选取的开始时间,单位为秒,默认为 0。 StartTimeOffset *float64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // 预处理操作。 // 注:目前该功能暂不支持,请勿使用。 PreprocessOperation *MediaPreprocessOperation `json:"PreprocessOperation,omitnil,omitempty" name:"PreprocessOperation"` }
type MediaTrack ¶
type MediaTrack struct { // 轨道类型,取值有: // <ul> // <li>Video :视频轨道。视频轨道由以下 Item 组成:<ul><li>VideoTrackItem</li><li>EmptyTrackItem</li><li>MediaTransitionItem</li></ul> </li> // <li>Audio :音频轨道。音频轨道由以下 Item 组成:<ul><li>AudioTrackItem</li><li>EmptyTrackItem</li></ul> </li> // </ul> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 轨道上的媒体片段列表。 TrackItems []*MediaTrackItem `json:"TrackItems,omitnil,omitempty" name:"TrackItems"` }
type MediaTrackItem ¶
type MediaTrackItem struct { // 片段类型。取值有: // <li>Video:视频片段;</li> // <li>Audio:音频片段;</li> // <li>Empty:空白片段;</li> // <li>Transition:转场。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 视频片段,当 Type = Video 时有效。 VideoItem *VideoTrackItem `json:"VideoItem,omitnil,omitempty" name:"VideoItem"` // 音频片段,当 Type = Audio 时有效。 AudioItem *AudioTrackItem `json:"AudioItem,omitnil,omitempty" name:"AudioItem"` // 空白片段,当 Type = Empty 时有效。空片段用于时间轴的占位。<li>如需要两个音频片段之间有一段时间的静音,可以用 EmptyTrackItem 来进行占位。</li> // <li>使用 EmptyTrackItem 进行占位,来定位某个Item。</li> EmptyItem *EmptyTrackItem `json:"EmptyItem,omitnil,omitempty" name:"EmptyItem"` // 转场,当 Type = Transition 时有效。 TransitionItem *MediaTransitionItem `json:"TransitionItem,omitnil,omitempty" name:"TransitionItem"` }
type MediaTransitionItem ¶
type ModifyMaterialRequest ¶
type ModifyMaterialRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要修改的媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体名称,不能超过30个字符,不填则不修改。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 媒体分类路径,例如填写"/a/b",则代表该媒体存储的路径为"/a/b"。若修改分类路径,则 Owner 字段必填。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改任意媒体的信息。如果指定操作者,则操作者必须对媒体有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewModifyMaterialRequest ¶
func NewModifyMaterialRequest() (request *ModifyMaterialRequest)
func (*ModifyMaterialRequest) FromJsonString ¶
func (r *ModifyMaterialRequest) 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 (*ModifyMaterialRequest) ToJsonString ¶
func (r *ModifyMaterialRequest) ToJsonString() string
type ModifyMaterialRequestParams ¶ added in v1.0.426
type ModifyMaterialRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 要修改的媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 媒体归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体名称,不能超过30个字符,不填则不修改。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 媒体分类路径,例如填写"/a/b",则代表该媒体存储的路径为"/a/b"。若修改分类路径,则 Owner 字段必填。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改任意媒体的信息。如果指定操作者,则操作者必须对媒体有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ModifyMaterialResponse ¶
type ModifyMaterialResponse struct { *tchttp.BaseResponse Response *ModifyMaterialResponseParams `json:"Response"` }
func NewModifyMaterialResponse ¶
func NewModifyMaterialResponse() (response *ModifyMaterialResponse)
func (*ModifyMaterialResponse) FromJsonString ¶
func (r *ModifyMaterialResponse) 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 (*ModifyMaterialResponse) ToJsonString ¶
func (r *ModifyMaterialResponse) ToJsonString() string
type ModifyMaterialResponseParams ¶ added in v1.0.426
type ModifyMaterialResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProjectRequest ¶
type ModifyProjectRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 项目名称,不可超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 画布宽高比,值为视频编辑项目画布宽与高的像素值的比值,如 16:9、9:16 等。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 项目所有者。目前仅支持个人项目,不支持团队项目。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 项目模式,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式,即普通视频编辑项目。</li> // <li>VideoEditTemplate:剪辑模板制作模式,用于制作剪辑模板。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) 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 (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectRequestParams ¶ added in v1.0.426
type ModifyProjectRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 项目名称,不可超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 画布宽高比,值为视频编辑项目画布宽与高的像素值的比值,如 16:9、9:16 等。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 项目所有者。目前仅支持个人项目,不支持团队项目。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 项目模式,一个项目可以有多种模式并相互切换。 // 当 Category 为 VIDEO_EDIT 时,可选模式有: // <li>Default:默认模式,即普通视频编辑项目。</li> // <li>VideoEditTemplate:剪辑模板制作模式,用于制作剪辑模板。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
Predefined struct for user
type ModifyProjectResponse ¶
type ModifyProjectResponse struct { *tchttp.BaseResponse Response *ModifyProjectResponseParams `json:"Response"` }
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) 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 (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type ModifyProjectResponseParams ¶ added in v1.0.426
type ModifyProjectResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTeamMemberRequest ¶
type ModifyTeamMemberRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 成员备注,长度不能超过15个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 成员角色,可取值有: // <li>Admin:团队管理员;</li> // <li>Member:普通成员。</li> Role *string `json:"Role,omitnil,omitempty" name:"Role"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改任意团队成员的信息。如果指定操作者,则操作者必须为团队的管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewModifyTeamMemberRequest ¶
func NewModifyTeamMemberRequest() (request *ModifyTeamMemberRequest)
func (*ModifyTeamMemberRequest) FromJsonString ¶
func (r *ModifyTeamMemberRequest) 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 (*ModifyTeamMemberRequest) ToJsonString ¶
func (r *ModifyTeamMemberRequest) ToJsonString() string
type ModifyTeamMemberRequestParams ¶ added in v1.0.426
type ModifyTeamMemberRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 成员备注,长度不能超过15个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 成员角色,可取值有: // <li>Admin:团队管理员;</li> // <li>Member:普通成员。</li> Role *string `json:"Role,omitnil,omitempty" name:"Role"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改任意团队成员的信息。如果指定操作者,则操作者必须为团队的管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ModifyTeamMemberResponse ¶
type ModifyTeamMemberResponse struct { *tchttp.BaseResponse Response *ModifyTeamMemberResponseParams `json:"Response"` }
func NewModifyTeamMemberResponse ¶
func NewModifyTeamMemberResponse() (response *ModifyTeamMemberResponse)
func (*ModifyTeamMemberResponse) FromJsonString ¶
func (r *ModifyTeamMemberResponse) 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 (*ModifyTeamMemberResponse) ToJsonString ¶
func (r *ModifyTeamMemberResponse) ToJsonString() string
type ModifyTeamMemberResponseParams ¶ added in v1.0.426
type ModifyTeamMemberResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTeamRequest ¶
type ModifyTeamRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队名称。团队名称不能置空,并且不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改所有团队的信息。如果指定操作者,则操作者必须为团队管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewModifyTeamRequest ¶
func NewModifyTeamRequest() (request *ModifyTeamRequest)
func (*ModifyTeamRequest) FromJsonString ¶
func (r *ModifyTeamRequest) 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 (*ModifyTeamRequest) ToJsonString ¶
func (r *ModifyTeamRequest) ToJsonString() string
type ModifyTeamRequestParams ¶ added in v1.0.426
type ModifyTeamRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队名称。团队名称不能置空,并且不能超过30个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以修改所有团队的信息。如果指定操作者,则操作者必须为团队管理员或者所有者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type ModifyTeamResponse ¶
type ModifyTeamResponse struct { *tchttp.BaseResponse Response *ModifyTeamResponseParams `json:"Response"` }
func NewModifyTeamResponse ¶
func NewModifyTeamResponse() (response *ModifyTeamResponse)
func (*ModifyTeamResponse) FromJsonString ¶
func (r *ModifyTeamResponse) 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 (*ModifyTeamResponse) ToJsonString ¶
func (r *ModifyTeamResponse) ToJsonString() string
type ModifyTeamResponseParams ¶ added in v1.0.426
type ModifyTeamResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyVideoEncodingPresetRequest ¶ added in v1.0.293
type ModifyVideoEncodingPresetRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 配置 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 更改后的视频编码配置名,不填则不修改。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 更改后的编码配置的视频设置。 VideoSetting *VideoEncodingPresetVideoSettingForUpdate `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 更改后的编码配置的音频设置。 AudioSetting *VideoEncodingPresetAudioSettingForUpdate `json:"AudioSetting,omitnil,omitempty" name:"AudioSetting"` }
func NewModifyVideoEncodingPresetRequest ¶ added in v1.0.293
func NewModifyVideoEncodingPresetRequest() (request *ModifyVideoEncodingPresetRequest)
func (*ModifyVideoEncodingPresetRequest) FromJsonString ¶ added in v1.0.293
func (r *ModifyVideoEncodingPresetRequest) 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 (*ModifyVideoEncodingPresetRequest) ToJsonString ¶ added in v1.0.293
func (r *ModifyVideoEncodingPresetRequest) ToJsonString() string
type ModifyVideoEncodingPresetRequestParams ¶ added in v1.0.426
type ModifyVideoEncodingPresetRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 配置 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 更改后的视频编码配置名,不填则不修改。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 更改后的编码配置的视频设置。 VideoSetting *VideoEncodingPresetVideoSettingForUpdate `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 更改后的编码配置的音频设置。 AudioSetting *VideoEncodingPresetAudioSettingForUpdate `json:"AudioSetting,omitnil,omitempty" name:"AudioSetting"` }
Predefined struct for user
type ModifyVideoEncodingPresetResponse ¶ added in v1.0.293
type ModifyVideoEncodingPresetResponse struct { *tchttp.BaseResponse Response *ModifyVideoEncodingPresetResponseParams `json:"Response"` }
func NewModifyVideoEncodingPresetResponse ¶ added in v1.0.293
func NewModifyVideoEncodingPresetResponse() (response *ModifyVideoEncodingPresetResponse)
func (*ModifyVideoEncodingPresetResponse) FromJsonString ¶ added in v1.0.293
func (r *ModifyVideoEncodingPresetResponse) 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 (*ModifyVideoEncodingPresetResponse) ToJsonString ¶ added in v1.0.293
func (r *ModifyVideoEncodingPresetResponse) ToJsonString() string
type ModifyVideoEncodingPresetResponseParams ¶ added in v1.0.426
type ModifyVideoEncodingPresetResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MoveClassRequest ¶
type MoveClassRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 源分类路径。 SourceClassPath *string `json:"SourceClassPath,omitnil,omitempty" name:"SourceClassPath"` // 目标分类路径。 DestinationClassPath *string `json:"DestinationClassPath,omitnil,omitempty" name:"DestinationClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewMoveClassRequest ¶
func NewMoveClassRequest() (request *MoveClassRequest)
func (*MoveClassRequest) FromJsonString ¶
func (r *MoveClassRequest) 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 (*MoveClassRequest) ToJsonString ¶
func (r *MoveClassRequest) ToJsonString() string
type MoveClassRequestParams ¶ added in v1.0.426
type MoveClassRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 源分类路径。 SourceClassPath *string `json:"SourceClassPath,omitnil,omitempty" name:"SourceClassPath"` // 目标分类路径。 DestinationClassPath *string `json:"DestinationClassPath,omitnil,omitempty" name:"DestinationClassPath"` // 操作者。填写用户的 Id,用于标识调用者及校验操作权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type MoveClassResponse ¶
type MoveClassResponse struct { *tchttp.BaseResponse Response *MoveClassResponseParams `json:"Response"` }
func NewMoveClassResponse ¶
func NewMoveClassResponse() (response *MoveClassResponse)
func (*MoveClassResponse) FromJsonString ¶
func (r *MoveClassResponse) 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 (*MoveClassResponse) ToJsonString ¶
func (r *MoveClassResponse) ToJsonString() string
type MoveClassResponseParams ¶ added in v1.0.426
type MoveClassResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MoveResourceRequest ¶
type MoveResourceRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 待移动的原始资源信息,包含原始媒体或分类资源,以及资源归属。 SourceResource *ResourceInfo `json:"SourceResource,omitnil,omitempty" name:"SourceResource"` // 目标信息,包含分类及归属,仅支持移动资源到分类。 DestinationResource *ResourceInfo `json:"DestinationResource,omitnil,omitempty" name:"DestinationResource"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以移动任务资源。如果指定操作者,则操作者必须对源及目标资源有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewMoveResourceRequest ¶
func NewMoveResourceRequest() (request *MoveResourceRequest)
func (*MoveResourceRequest) FromJsonString ¶
func (r *MoveResourceRequest) 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 (*MoveResourceRequest) ToJsonString ¶
func (r *MoveResourceRequest) ToJsonString() string
type MoveResourceRequestParams ¶ added in v1.0.426
type MoveResourceRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 待移动的原始资源信息,包含原始媒体或分类资源,以及资源归属。 SourceResource *ResourceInfo `json:"SourceResource,omitnil,omitempty" name:"SourceResource"` // 目标信息,包含分类及归属,仅支持移动资源到分类。 DestinationResource *ResourceInfo `json:"DestinationResource,omitnil,omitempty" name:"DestinationResource"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以移动任务资源。如果指定操作者,则操作者必须对源及目标资源有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type MoveResourceResponse ¶
type MoveResourceResponse struct { *tchttp.BaseResponse Response *MoveResourceResponseParams `json:"Response"` }
func NewMoveResourceResponse ¶
func NewMoveResourceResponse() (response *MoveResourceResponse)
func (*MoveResourceResponse) FromJsonString ¶
func (r *MoveResourceResponse) 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 (*MoveResourceResponse) ToJsonString ¶
func (r *MoveResourceResponse) ToJsonString() string
type MoveResourceResponseParams ¶ added in v1.0.426
type MoveResourceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OtherMaterial ¶
type ParseEventRequest ¶
type ParseEventRequest struct { *tchttp.BaseRequest // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 回调事件内容。 EventContent *string `json:"EventContent,omitnil,omitempty" name:"EventContent"` }
func NewParseEventRequest ¶
func NewParseEventRequest() (request *ParseEventRequest)
func (*ParseEventRequest) FromJsonString ¶
func (r *ParseEventRequest) 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 (*ParseEventRequest) ToJsonString ¶
func (r *ParseEventRequest) ToJsonString() string
type ParseEventRequestParams ¶ added in v1.0.426
type ParseEventRequestParams struct { // 平台名称,指定访问的平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 回调事件内容。 EventContent *string `json:"EventContent,omitnil,omitempty" name:"EventContent"` }
Predefined struct for user
type ParseEventResponse ¶
type ParseEventResponse struct { *tchttp.BaseResponse Response *ParseEventResponseParams `json:"Response"` }
func NewParseEventResponse ¶
func NewParseEventResponse() (response *ParseEventResponse)
func (*ParseEventResponse) FromJsonString ¶
func (r *ParseEventResponse) 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 (*ParseEventResponse) ToJsonString ¶
func (r *ParseEventResponse) ToJsonString() string
type ParseEventResponseParams ¶ added in v1.0.426
type ParseEventResponseParams struct { // 事件内容。 EventContent *EventContent `json:"EventContent,omitnil,omitempty" name:"EventContent"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PenguinMediaPlatformPublishInfo ¶
type PenguinMediaPlatformPublishInfo struct { // 视频发布标题。 Title *string `json:"Title,omitnil,omitempty" name:"Title"` // 视频发布描述信息。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 视频标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // 视频分类,详见[企鹅号官网](https://open.om.qq.com/resources/resourcesCenter)视频分类。 Category *int64 `json:"Category,omitnil,omitempty" name:"Category"` }
type PlatformInfo ¶
type PlatformInfo struct { // 平台标识。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 平台描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 云点播子应用 Id。 VodSubAppId *uint64 `json:"VodSubAppId,omitnil,omitempty" name:"VodSubAppId"` // 平台绑定的 license Id。 LicenseId *string `json:"LicenseId,omitnil,omitempty" name:"LicenseId"` // 平台状态,可取值为: // <li>Normal:正常,可使用。;</li> // <li>Stopped:已停用,暂无法使用;</li> // <li>Expired:已过期,需要重新购买会员包。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 创建时间,格式按照 ISO 8601 标准表示。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间,格式按照 ISO 8601 标准表示。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type PresetTagInfo ¶
type ProjectInfo ¶
type ProjectInfo struct { // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 项目名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 画布宽高比。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 项目类别,取值有: // <li>VIDEO_EDIT:视频编辑。</li> // <li>SWITCHER:导播台。</li> // <li>VIDEO_SEGMENTATION:视频拆条。</li> // <li>STREAM_CONNECT:云转推。</li> // <li>RECORD_REPLAY:录制回放。</li> Category *string `json:"Category,omitnil,omitempty" name:"Category"` // 归属者。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 项目封面图片地址。 CoverUrl *string `json:"CoverUrl,omitnil,omitempty" name:"CoverUrl"` // 云转推项目信息,仅当项目类别取值 STREAM_CONNECT 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 StreamConnectProjectInfo *StreamConnectProjectInfo `json:"StreamConnectProjectInfo,omitnil,omitempty" name:"StreamConnectProjectInfo"` // 点播转直播项目信息,仅当项目类别取值为 MEDIA_CAST 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 MediaCastProjectInfo *MediaCastProjectInfo `json:"MediaCastProjectInfo,omitnil,omitempty" name:"MediaCastProjectInfo"` // 项目更新时间,格式按照 ISO 8601 标准表示。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 项目创建时间,格式按照 ISO 8601 标准表示。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type ProjectMediaCastStatusChangedEvent ¶ added in v1.0.482
type ProjectMediaCastStatusChangedEvent struct { // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 项目状态,取值有: // <li>Started:点播转直播开始;</li> // <li>Stopped:点播转直播结束;</li> // <li>SourceInterrupted:点播转直播输入断流;</li> // <li>DestinationInterrupted:点播转直播输出断流。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 点播转直播输入断流信息,仅当 Status 取值 SourceInterrupted 时有效。 SourceInterruptInfo *MediaCastSourceInterruptInfo `json:"SourceInterruptInfo,omitnil,omitempty" name:"SourceInterruptInfo"` // 点播转直播输出断流信息,仅当 Status 取值 DestinationInterrupted 时有效。 DestinationInterruptInfo *MediaCastDestinationInterruptInfo `json:"DestinationInterruptInfo,omitnil,omitempty" name:"DestinationInterruptInfo"` }
type ProjectStreamConnectStatusChangedEvent ¶
type ProjectStreamConnectStatusChangedEvent struct { // 项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 项目状态,取值有: // <li>Working:云转推推流开始;</li> // <li>Stopped:云转推推流结束;</li> // <li>InputInterrupted:云转推输入断流;</li> // <li>OutputInterrupted:云转推输出断流。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 云转推输入断流信息,仅当 Status 取值 InputInterrupted 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 InputInterruptInfo *StreamConnectInputInterruptInfo `json:"InputInterruptInfo,omitnil,omitempty" name:"InputInterruptInfo"` // 云转推输出断流信息,仅当 Status 取值 OutputInterrupted 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 OutputInterruptInfo *StreamConnectOutputInterruptInfo `json:"OutputInterruptInfo,omitnil,omitempty" name:"OutputInterruptInfo"` }
type ProjectSwitcherStatusChangedEvent ¶ added in v1.0.339
type ProjectSwitcherStatusChangedEvent struct { // 导播台项目 Id。 ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 导播台项目状态,可取值有: // <li>Started:导播台启动;</li> // <li>Stopped:导播台停止;</li> // <li>PvwStarted:导播台 PVW 开启;</li> // <li>PgmStarted:导播台 PGM 开启,输出推流开始;</li> // <li>PvwStopped:导播台 PVW 停止;</li> // <li>PgmStopped:导播台 PGM 停止,输出推流结束。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type RecordReplayProjectInput ¶
type RecordReplayProjectInput struct { // 录制拉流地址。 PullStreamUrl *string `json:"PullStreamUrl,omitnil,omitempty" name:"PullStreamUrl"` // 录制文件归属者。 MaterialOwner *Entity `json:"MaterialOwner,omitnil,omitempty" name:"MaterialOwner"` // 录制文件存储分类路径。 MaterialClassPath *string `json:"MaterialClassPath,omitnil,omitempty" name:"MaterialClassPath"` // 回放推流地址。 PushStreamUrl *string `json:"PushStreamUrl,omitnil,omitempty" name:"PushStreamUrl"` }
type ResourceInfo ¶
type RevokeResourceAuthorizationRequest ¶
type RevokeResourceAuthorizationRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 资源所属实体。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 被授权资源。 Resources []*Resource `json:"Resources,omitnil,omitempty" name:"Resources"` // 被授权目标实体。 Authorizees []*Entity `json:"Authorizees,omitnil,omitempty" name:"Authorizees"` // 详细授权值。 取值有: // <li>R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中</li> // <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li> // <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li> // <li>W:可修改、删除媒资。</li> Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,撤销任意资源的授权权限。如果指定操作者,则操作者必须对被授权资源有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewRevokeResourceAuthorizationRequest ¶
func NewRevokeResourceAuthorizationRequest() (request *RevokeResourceAuthorizationRequest)
func (*RevokeResourceAuthorizationRequest) FromJsonString ¶
func (r *RevokeResourceAuthorizationRequest) 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 (*RevokeResourceAuthorizationRequest) ToJsonString ¶
func (r *RevokeResourceAuthorizationRequest) ToJsonString() string
type RevokeResourceAuthorizationRequestParams ¶ added in v1.0.426
type RevokeResourceAuthorizationRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 资源所属实体。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 被授权资源。 Resources []*Resource `json:"Resources,omitnil,omitempty" name:"Resources"` // 被授权目标实体。 Authorizees []*Entity `json:"Authorizees,omitnil,omitempty" name:"Authorizees"` // 详细授权值。 取值有: // <li>R:可读,可以浏览素材,但不能使用该素材(将其添加到 Project),或复制到自己的媒资库中</li> // <li>X:可用,可以使用该素材(将其添加到 Project),但不能将其复制到自己的媒资库中,意味着被授权者无法将该资源进一步扩散给其他个人或团队。</li> // <li>C:可复制,既可以使用该素材(将其添加到 Project),也可以将其复制到自己的媒资库中。</li> // <li>W:可修改、删除媒资。</li> Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,撤销任意资源的授权权限。如果指定操作者,则操作者必须对被授权资源有写权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type RevokeResourceAuthorizationResponse ¶
type RevokeResourceAuthorizationResponse struct { *tchttp.BaseResponse Response *RevokeResourceAuthorizationResponseParams `json:"Response"` }
func NewRevokeResourceAuthorizationResponse ¶
func NewRevokeResourceAuthorizationResponse() (response *RevokeResourceAuthorizationResponse)
func (*RevokeResourceAuthorizationResponse) FromJsonString ¶
func (r *RevokeResourceAuthorizationResponse) 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 (*RevokeResourceAuthorizationResponse) ToJsonString ¶
func (r *RevokeResourceAuthorizationResponse) ToJsonString() string
type RevokeResourceAuthorizationResponseParams ¶ added in v1.0.426
type RevokeResourceAuthorizationResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RtmpPushInputInfo ¶
type SearchMaterialRequest ¶
type SearchMaterialRequest struct { *tchttp.BaseRequest // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 指定搜索空间,数组长度不得超过5。 SearchScopes []*SearchScope `json:"SearchScopes,omitnil,omitempty" name:"SearchScopes"` // 媒体类型,可取值有: // <li>AUDIO:音频;</li> // <li>VIDEO:视频 ;</li> // <li>IMAGE:图片;</li> // <li>VIDEO_EDIT_TEMPLATE:剪辑模板。</li> MaterialTypes []*string `json:"MaterialTypes,omitnil,omitempty" name:"MaterialTypes"` // 搜索文本,模糊匹配媒体名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:15个字符。 Text *string `json:"Text,omitnil,omitempty" name:"Text"` // 按画质检索,取值为:LD/SD/HD/FHD/2K/4K。 Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"` // 按媒体时长检索,单位s。 DurationRange *IntegerRange `json:"DurationRange,omitnil,omitempty" name:"DurationRange"` // 按照媒体创建时间检索。 CreateTimeRange *TimeRange `json:"CreateTimeRange,omitnil,omitempty" name:"CreateTimeRange"` // 按标签检索,填入检索的标签名。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // 排序方式。Sort.Field 可选值:CreateTime。指定 Text 搜索时,将根据匹配度排序,该字段无效。 Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以搜索任意媒体的信息。如果指定操作者,则操作者必须对媒体有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
func NewSearchMaterialRequest ¶
func NewSearchMaterialRequest() (request *SearchMaterialRequest)
func (*SearchMaterialRequest) FromJsonString ¶
func (r *SearchMaterialRequest) 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 (*SearchMaterialRequest) ToJsonString ¶
func (r *SearchMaterialRequest) ToJsonString() string
type SearchMaterialRequestParams ¶ added in v1.0.426
type SearchMaterialRequestParams struct { // 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 指定搜索空间,数组长度不得超过5。 SearchScopes []*SearchScope `json:"SearchScopes,omitnil,omitempty" name:"SearchScopes"` // 媒体类型,可取值有: // <li>AUDIO:音频;</li> // <li>VIDEO:视频 ;</li> // <li>IMAGE:图片;</li> // <li>VIDEO_EDIT_TEMPLATE:剪辑模板。</li> MaterialTypes []*string `json:"MaterialTypes,omitnil,omitempty" name:"MaterialTypes"` // 搜索文本,模糊匹配媒体名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:15个字符。 Text *string `json:"Text,omitnil,omitempty" name:"Text"` // 按画质检索,取值为:LD/SD/HD/FHD/2K/4K。 Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"` // 按媒体时长检索,单位s。 DurationRange *IntegerRange `json:"DurationRange,omitnil,omitempty" name:"DurationRange"` // 按照媒体创建时间检索。 CreateTimeRange *TimeRange `json:"CreateTimeRange,omitnil,omitempty" name:"CreateTimeRange"` // 按标签检索,填入检索的标签名。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` // 排序方式。Sort.Field 可选值:CreateTime。指定 Text 搜索时,将根据匹配度排序,该字段无效。 Sort *SortBy `json:"Sort,omitnil,omitempty" name:"Sort"` // 偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回记录条数,默认值:50。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以搜索任意媒体的信息。如果指定操作者,则操作者必须对媒体有读权限。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` }
Predefined struct for user
type SearchMaterialResponse ¶
type SearchMaterialResponse struct { *tchttp.BaseResponse Response *SearchMaterialResponseParams `json:"Response"` }
func NewSearchMaterialResponse ¶
func NewSearchMaterialResponse() (response *SearchMaterialResponse)
func (*SearchMaterialResponse) FromJsonString ¶
func (r *SearchMaterialResponse) 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 (*SearchMaterialResponse) ToJsonString ¶
func (r *SearchMaterialResponse) ToJsonString() string
type SearchMaterialResponseParams ¶ added in v1.0.426
type SearchMaterialResponseParams struct { // 符合记录总条数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 媒体信息,仅返回基础信息。 MaterialInfoSet []*MaterialInfo `json:"MaterialInfoSet,omitnil,omitempty" name:"MaterialInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchScope ¶
type SlotInfo ¶
type SlotInfo struct { // 卡槽 Id。 Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 卡槽类型,可取值有: // <li> AUDIO:音频卡槽,可替换素材类型为 AUDIO 的音频素材;</li> // <li> VIDEO:视频卡槽,可替换素材类型为 VIDEO 的视频素材;</li> // <li> IMAGE:图片卡槽,可替换素材类型为 IMAGE 的图片素材;</li> // <li> TEXT:文本卡槽,可替换文本内容。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 默认素材ID。当卡槽类型为 AUDIO,VIDEO,或 IMAGE 中的一种时有效。 DefaultMaterialId *string `json:"DefaultMaterialId,omitnil,omitempty" name:"DefaultMaterialId"` // 默认文本卡槽信息。当卡槽类型为 TEXT 时有效。 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultTextSlotInfo *TextSlotInfo `json:"DefaultTextSlotInfo,omitnil,omitempty" name:"DefaultTextSlotInfo"` // 素材时长,单位秒。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` }
type SlotReplacementInfo ¶
type SlotReplacementInfo struct { // 卡槽 Id。 Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 替换类型,可取值有: // <li> AUDIO :音频;</li> // <li> VIDEO :视频;</li> // <li> IMAGE :图片;</li> // <li> TEXT :文本。</li> // 注意:这里必须保证替换的素材类型与模板轨道数据的素材类型一致。如果替换的类型为Text,,则必须保证模板轨道数据中相应卡槽的位置标记的是文本。 ReplacementType *string `json:"ReplacementType,omitnil,omitempty" name:"ReplacementType"` // 媒体替换信息,仅当要替换的媒体类型为音频、视频、图片时有效。 MediaReplacementInfo *MediaReplacementInfo `json:"MediaReplacementInfo,omitnil,omitempty" name:"MediaReplacementInfo"` // 文本替换信息,仅当要替换的卡槽类型为文本时有效。 TextReplacementInfo *TextReplacementInfo `json:"TextReplacementInfo,omitnil,omitempty" name:"TextReplacementInfo"` }
type StorageNewFileCreatedEvent ¶
type StorageNewFileCreatedEvent struct { // 云点播文件 Id。 FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // 媒体 Id。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 操作者 Id。(废弃,请勿使用) Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 操作类型,可取值有: // <li>Upload:本地上传;</li> // <li>PullUpload:拉取上传;</li> // <li>VideoEdit:视频剪辑;</li> // <li>LiveStreamClip:直播流剪辑;</li> // <li>LiveStreamRecord:直播流录制。</li> OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"` // 媒体归属。 Owner *Entity `json:"Owner,omitnil,omitempty" name:"Owner"` // 媒体分类路径。 ClassPath *string `json:"ClassPath,omitnil,omitempty" name:"ClassPath"` // 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 SourceContext *string `json:"SourceContext,omitnil,omitempty" name:"SourceContext"` }
type StreamConnectInputInterruptInfo ¶ added in v1.0.417
type StreamConnectInputInterruptInfo struct { // 云转推输入源标识,取值有: // <li>Main:主源;</li> // <li>Backup:备源。</li> EndPoint *string `json:"EndPoint,omitnil,omitempty" name:"EndPoint"` }
type StreamConnectOutput ¶
type StreamConnectOutput struct { // 云转推输出源标识,转推项目级别唯一。若不填则由后端生成。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 云转推输出源名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 云转推输出源类型,取值: // <li>URL :URL类型</li> // 不填默认为URL类型。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 云转推推流地址。 PushUrl *string `json:"PushUrl,omitnil,omitempty" name:"PushUrl"` }
type StreamConnectOutputInfo ¶
type StreamConnectOutputInfo struct { // 输出源。 // 注意:此字段可能返回 null,表示取不到有效值。 StreamConnectOutput *StreamConnectOutput `json:"StreamConnectOutput,omitnil,omitempty" name:"StreamConnectOutput"` // 输出流状态: // <li>On :开;</li> // <li>Off :关 。</li> PushSwitch *string `json:"PushSwitch,omitnil,omitempty" name:"PushSwitch"` }
type StreamConnectOutputInterruptInfo ¶ added in v1.0.417
type StreamConnectProjectInfo ¶
type StreamConnectProjectInfo struct { // 转推项目状态,取值有: // <li>Working :转推中;</li> // <li>Idle :空闲中。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 当前转推输入源,取值有: // <li>Main :主输入源;</li> // <li>Backup :备输入源。</li> CurrentInputEndpoint *string `json:"CurrentInputEndpoint,omitnil,omitempty" name:"CurrentInputEndpoint"` // 当前转推开始时间, 采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。 CurrentStartTime *string `json:"CurrentStartTime,omitnil,omitempty" name:"CurrentStartTime"` // 当前转推计划结束时间, 采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Working 时有效。 CurrentStopTime *string `json:"CurrentStopTime,omitnil,omitempty" name:"CurrentStopTime"` // 上一次转推结束时间, 采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。仅 Status 取值 Idle 时有效。 LastStopTime *string `json:"LastStopTime,omitnil,omitempty" name:"LastStopTime"` // 云转推主输入源。 // 注意:此字段可能返回 null,表示取不到有效值。 MainInput *StreamInputInfo `json:"MainInput,omitnil,omitempty" name:"MainInput"` // 云转推备输入源。 // 注意:此字段可能返回 null,表示取不到有效值。 BackupInput *StreamInputInfo `json:"BackupInput,omitnil,omitempty" name:"BackupInput"` // 云转推输出源。 OutputSet []*StreamConnectOutputInfo `json:"OutputSet,omitnil,omitempty" name:"OutputSet"` }
type StreamConnectProjectInput ¶
type StreamConnectProjectInput struct { // 云转推主输入源信息。 MainInput *StreamInputInfo `json:"MainInput,omitnil,omitempty" name:"MainInput"` // 云转推备输入源信息。 BackupInput *StreamInputInfo `json:"BackupInput,omitnil,omitempty" name:"BackupInput"` // 云转推输出源信息。 Outputs []*StreamConnectOutput `json:"Outputs,omitnil,omitempty" name:"Outputs"` }
type StreamInputInfo ¶
type StreamInputInfo struct { // 流输入类型,取值: // <li>VodPull : 点播拉流;</li> // <li>LivePull :直播拉流;</li> // <li>RtmpPush : 直播推流。</li> InputType *string `json:"InputType,omitnil,omitempty" name:"InputType"` // 点播拉流信息,当 InputType = VodPull 时必填。 // 注意:此字段可能返回 null,表示取不到有效值。 VodPullInputInfo *VodPullInputInfo `json:"VodPullInputInfo,omitnil,omitempty" name:"VodPullInputInfo"` // 直播拉流信息,当 InputType = LivePull 时必填。 // 注意:此字段可能返回 null,表示取不到有效值。 LivePullInputInfo *LivePullInputInfo `json:"LivePullInputInfo,omitnil,omitempty" name:"LivePullInputInfo"` // 直播推流信息,当 InputType = RtmpPush 时必填。 // 注意:此字段可能返回 null,表示取不到有效值。 RtmpPushInputInfo *RtmpPushInputInfo `json:"RtmpPushInputInfo,omitnil,omitempty" name:"RtmpPushInputInfo"` }
type SwitcherPgmOutputConfig ¶
type SwitcherPgmOutputConfig struct { // 导播台输出模板 ID,可取值: // <li>10001:分辨率为1080 P;</li> // <li>10002:分辨率为720 P;</li> // <li>10003:分辨率为480 P。</li> TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 导播台输出宽,单位:像素。 Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // 导播台输出高,单位:像素。 Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"` // 导播台输出帧率,单位:帧/秒 Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"` // 导播台输出码率, 单位:bit/s。 BitRate *uint64 `json:"BitRate,omitnil,omitempty" name:"BitRate"` }
type SwitcherProjectInput ¶
type SwitcherProjectInput struct { // 导播台停止时间,格式按照 ISO 8601 标准表示。若不填,该值默认为当前时间加七天。 StopTime *string `json:"StopTime,omitnil,omitempty" name:"StopTime"` // 导播台主监输出配置信息。若不填,默认输出 720P。 PgmOutputConfig *SwitcherPgmOutputConfig `json:"PgmOutputConfig,omitnil,omitempty" name:"PgmOutputConfig"` }
type TaskBaseInfo ¶
type TaskBaseInfo struct { // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 任务类型,取值有: // <li>VIDEO_EDIT_PROJECT_EXPORT:项目导出。</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 任务状态,取值有: // <li>PROCESSING:处理中:</li> // <li>SUCCESS:成功;</li> // <li>FAIL:失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 任务进度,取值为:0~100。 Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // 错误码。 // <li>0:成功;</li> // <li>其他值:失败。</li> ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 错误信息。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` // 创建时间,格式按照 ISO 8601 标准表示。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type TeamInfo ¶
type TeamInfo struct { // 团队 ID。 TeamId *string `json:"TeamId,omitnil,omitempty" name:"TeamId"` // 团队名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 团队成员个数 MemberCount *uint64 `json:"MemberCount,omitnil,omitempty" name:"MemberCount"` // 团队创建时间,格式按照 ISO 8601 标准表示。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 团队最后更新时间,格式按照 ISO 8601 标准表示。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type TeamMemberInfo ¶
type TeamMemberInfo struct { // 团队成员 ID。 MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // 团队成员备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 团队成员角色,取值: // <li>Owner:团队所有者,添加团队成员及修改团队成员解决时不能填此角色;</li> // <li>Admin:团队管理员;</li> // <li>Member:普通成员。</li> Role *string `json:"Role,omitnil,omitempty" name:"Role"` }
type TextReplacementInfo ¶
type TextReplacementInfo struct { // 替换的文本信息。 Text *string `json:"Text,omitnil,omitempty" name:"Text"` }
type TextSlotInfo ¶ added in v1.0.319
type TextSlotInfo struct { // 文本内容。 Text *string `json:"Text,omitnil,omitempty" name:"Text"` }
type ThirdPartyPublishInfo ¶
type ThirdPartyPublishInfo struct { // 发布通道 ID。 ChannelMaterialId *string `json:"ChannelMaterialId,omitnil,omitempty" name:"ChannelMaterialId"` // 企鹅号发布信息,如果使用的发布通道为企鹅号时必填。 PenguinMediaPlatformPublishInfo *PenguinMediaPlatformPublishInfo `json:"PenguinMediaPlatformPublishInfo,omitnil,omitempty" name:"PenguinMediaPlatformPublishInfo"` // 新浪微博发布信息,如果使用的发布通道为新浪微博时必填。 WeiboPublishInfo *WeiboPublishInfo `json:"WeiboPublishInfo,omitnil,omitempty" name:"WeiboPublishInfo"` // 快手发布信息,如果使用的发布通道为快手时必填。 KuaishouPublishInfo *KuaishouPublishInfo `json:"KuaishouPublishInfo,omitnil,omitempty" name:"KuaishouPublishInfo"` // 腾讯云对象存储发布信息, 如果使用的发布通道为腾讯云对象存储时必填。 CosPublishInfo *CosPublishInputInfo `json:"CosPublishInfo,omitnil,omitempty" name:"CosPublishInfo"` }
type TimeRange ¶
type TimeRange struct { // 开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type VODExportInfo ¶
type VODExportInfo struct { // 导出的媒资名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导出的媒资分类 Id。 ClassId *uint64 `json:"ClassId,omitnil,omitempty" name:"ClassId"` // 第三方平台发布信息列表。暂未正式对外,请勿使用。 ThirdPartyPublishInfos []*ThirdPartyPublishInfo `json:"ThirdPartyPublishInfos,omitnil,omitempty" name:"ThirdPartyPublishInfos"` }
type VideoEditProjectInput ¶
type VideoEditProjectInput struct { // 画布宽高比,取值有: // <li>16:9;</li> // <li>9:16;</li> // <li>2:1。</li> // 默认值 16:9 。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 视频编辑模板媒体 ID ,通过模板媒体导入项目轨道数据时填写。 VideoEditTemplateId *string `json:"VideoEditTemplateId,omitnil,omitempty" name:"VideoEditTemplateId"` // 输入的媒体轨道列表,包括视频、音频,等媒体组成的多个轨道信息。其中:<li>输入的多个轨道在时间轴上和输出媒体文件的时间轴对齐;</li><li>时间轴上相同时间点的各个轨道的素材进行重叠,视频或者图片按轨道顺序进行图像的叠加,轨道顺序高的素材叠加在上面,音频素材进行混音;</li><li>视频、音频,每一种类型的轨道最多支持10个。</li> // 注:当从模板导入项目时(即 VideoEditTemplateId 不为空时),该参数无效。 InitTracks []*MediaTrack `json:"InitTracks,omitnil,omitempty" name:"InitTracks"` }
type VideoEditProjectOutput ¶
type VideoEditProjectOutput struct { // 导出的多媒体创作引擎媒体 Id,仅当导出目标为多媒体创作引擎媒体时有效。 MaterialId *string `json:"MaterialId,omitnil,omitempty" name:"MaterialId"` // 云点播媒资 FileId。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` // 导出的媒资 URL。 URL *string `json:"URL,omitnil,omitempty" name:"URL"` // 元信息。 // 注意:此字段可能返回 null,表示取不到有效值。 MetaData *MediaMetaData `json:"MetaData,omitnil,omitempty" name:"MetaData"` // 导出视频的封面图片 URL。 CoverURL *string `json:"CoverURL,omitnil,omitempty" name:"CoverURL"` }
type VideoEditTemplateMaterial ¶
type VideoEditTemplateMaterial struct { // 视频编辑模板宽高比。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 卡槽信息。 SlotSet []*SlotInfo `json:"SlotSet,omitnil,omitempty" name:"SlotSet"` // 模板预览视频 URL 地址 。 PreviewVideoUrl *string `json:"PreviewVideoUrl,omitnil,omitempty" name:"PreviewVideoUrl"` }
type VideoEncodingPreset ¶ added in v1.0.293
type VideoEncodingPreset struct { // 配置 ID。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 配置名。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 封装格式,可选值: // <li>mp4 ;</li> // <li>mov 。</li> Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 默认值:0。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 视频编码配置中的视频设置。 VideoSetting *VideoEncodingPresetVideoSetting `json:"VideoSetting,omitnil,omitempty" name:"VideoSetting"` // 视频编码配置中的音频设置。 AudioSetting *VideoEncodingPresetAudioSetting `json:"AudioSetting,omitnil,omitempty" name:"AudioSetting"` }
type VideoEncodingPresetAudioSetting ¶ added in v1.0.293
type VideoEncodingPresetAudioSetting struct { // 音频流的编码格式,可选值: // AAC:AAC 编码。 // // 默认值:AAC。 Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // 音频码率,单位:bps。 // 默认值:64K。 Bitrate *uint64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 音频声道数,可选值: // <li>1:单声道;</li> // <li>2:双声道。</li> // 默认值:2。 Channels *uint64 `json:"Channels,omitnil,omitempty" name:"Channels"` // 音频流的采样率,仅支持 16000; 32000; 44100; 48000。单位:Hz。 // 默认值:16000。 SampleRate *uint64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` }
type VideoEncodingPresetAudioSettingForUpdate ¶ added in v1.0.293
type VideoEncodingPresetAudioSettingForUpdate struct { // 音频码率,单位:bps。 // 不填则不修改。 Bitrate *string `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 音频声道数,可选值: // <li>1:单声道;</li> // <li>2:双声道。</li> // 不填则不修改。 Channels *uint64 `json:"Channels,omitnil,omitempty" name:"Channels"` // 音频流的采样率,目前仅支持: 16000; 32000; 44100; 48000。单位:Hz。 // 不填则不修改。 SampleRate *uint64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` }
type VideoEncodingPresetVideoSetting ¶ added in v1.0.293
type VideoEncodingPresetVideoSetting struct { // 视频流的编码格式,可选值: // <li>H264:H.264 编码。</li> Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // 视频短边尺寸,取值范围: [128, 4096],单位:px。 // 视频最后的分辨率,根据短边尺寸和宽高比进行计算。 // 例:如果项目的宽高比是 16:9 : // <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li> // <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720。</li> // 如果项目的宽高比是 9:16 : // <li>短边尺寸为 1080,则导出视频的分辨率为 1080 * 1920。</li> // <li>短边尺寸为 720,则导出视频的分辨率为 720 * 1280。</li> // 默认值:1080。 ShortEdge *uint64 `json:"ShortEdge,omitnil,omitempty" name:"ShortEdge"` // 指定码率,单位 bps。当该参数为'0'时则不强制限定码率。 // 默认值:0。 Bitrate *uint64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` }
type VideoEncodingPresetVideoSettingForUpdate ¶ added in v1.0.293
type VideoEncodingPresetVideoSettingForUpdate struct { // 视频短边尺寸,取值范围: [128, 4096],单位:px。 // 视频最后的分辨率,根据短边尺寸和宽高比进行计算。 // 例:如果项目的宽高比是 16:9 : // <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li> // <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720。</li> // 如果项目的宽高比是 9:16 : // <li>短边尺寸为 1080,则导出视频的分辨率为 1080 * 1920。</li> // <li>短边尺寸为 720,则导出视频的分辨率为 720 * 1280。</li> // 不填则不修改。 ShortEdge *uint64 `json:"ShortEdge,omitnil,omitempty" name:"ShortEdge"` // 指定码率,单位 bps。当该参数为'0' 时则不强制限定码率。 // 不填则不修改。 Bitrate *uint64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 指定帧率。单位 Hz。 // 不填则不修改。 FrameRate *float64 `json:"FrameRate,omitnil,omitempty" name:"FrameRate"` }
type VideoExportCompletedEvent ¶ added in v1.0.390
type VideoExportCompletedEvent struct { // 任务 Id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 任务状态,取值有: // <li>SUCCESS:成功;</li> // <li>FAIL:失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 错误码,取值有: // <li>0:成功;</li> // <li>其他值:失败。</li> ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 错误信息。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` // 任务输出。 // 注意:此字段可能返回 null,表示取不到有效值。 Output *VideoEditProjectOutput `json:"Output,omitnil,omitempty" name:"Output"` }
type VideoExportExtensionArgs ¶ added in v1.0.293
type VideoExportExtensionArgs struct { // 封装格式,可选值: // <li>mp4 </li> // <li>mov </li> // 不填则使用视频导出编码配置。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 视频短边尺寸,取值范围: [128, 4096],单位:px。 // 视频最后的分辨率,根据短边尺寸和宽高比进行计算。 // 例如:项目的宽高比是 16:9 : // <li>短边尺寸为 1080,则导出视频的分辨率为 1920 * 1080。</li> // <li>短边尺寸为 720,则导出视频的分辨率为 1280 * 720</li> // 不填则使用视频导出编码配置。 ShortEdge *uint64 `json:"ShortEdge,omitnil,omitempty" name:"ShortEdge"` // 指定码率,单位 bps。当该参数为 0 时则不强制限定码率。 // 不填则使用视频导出编码配置。 VideoBitrate *uint64 `json:"VideoBitrate,omitnil,omitempty" name:"VideoBitrate"` // 帧率。取值范围:[15, 60],不填默认值为 25。 FrameRate *float64 `json:"FrameRate,omitnil,omitempty" name:"FrameRate"` // 是否去除视频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 不填则使用视频导出编码配置。 RemoveVideo *int64 `json:"RemoveVideo,omitnil,omitempty" name:"RemoveVideo"` // 是否去除音频数据,可选值: // <li>0:保留;</li> // <li>1:去除。</li> // 不填则使用视频导出编码配置。 RemoveAudio *int64 `json:"RemoveAudio,omitnil,omitempty" name:"RemoveAudio"` // 片段起始时间,单位:毫秒。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 片段结束时间,单位:毫秒。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type VideoMaterial ¶
type VideoMaterial struct { // 素材元信息。 MetaData *MediaMetaData `json:"MetaData,omitnil,omitempty" name:"MetaData"` // 雪碧图信息。 ImageSpriteInfo *MediaImageSpriteInfo `json:"ImageSpriteInfo,omitnil,omitempty" name:"ImageSpriteInfo"` // 素材媒体文件的播放 URL 地址。 MaterialUrl *string `json:"MaterialUrl,omitnil,omitempty" name:"MaterialUrl"` // 素材媒体文件的封面图片地址。 CoverUrl *string `json:"CoverUrl,omitnil,omitempty" name:"CoverUrl"` // 媒体文件分辨率。取值为:LD/SD/HD/FHD/2K/4K。 Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"` // 素材状态。 // 注意:此字段可能返回 null,表示取不到有效值。 MaterialStatus *MaterialStatus `json:"MaterialStatus,omitnil,omitempty" name:"MaterialStatus"` // 素材媒体文件的原始 URL 地址。 OriginalUrl *string `json:"OriginalUrl,omitnil,omitempty" name:"OriginalUrl"` // 云点播媒资 FileId。 VodFileId *string `json:"VodFileId,omitnil,omitempty" name:"VodFileId"` }
type VideoSegmentationProjectInput ¶
type VideoSegmentationProjectInput struct { // 画布宽高比,取值有: // <li>16:9;</li> // <li>9:16;</li> // <li>2:1。</li> // 默认值 16:9 。 AspectRatio *string `json:"AspectRatio,omitnil,omitempty" name:"AspectRatio"` // 视频拆条处理模型,不填则默认为手工分割视频。取值 : // <li>AI.GameHighlights.PUBG:和平精英集锦 ;</li> // <li>AI.GameHighlights.Honor OfKings:王者荣耀集锦 ;</li> // <li>AI.SportHighlights.Football:足球集锦 </li> // <li>AI.SportHighlights.Basketball:篮球集锦 ;</li> // <li>AI.PersonSegmentation:人物集锦 ;</li> // <li>AI.NewsSegmentation:新闻拆条。</li> ProcessModel *string `json:"ProcessModel,omitnil,omitempty" name:"ProcessModel"` }
type VideoStreamInfo ¶
type VideoStreamInfo struct { // 码率,单位:bps。 Bitrate *uint64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"` // 高度,单位:px。 Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"` // 宽度,单位:px。 Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` // 编码格式。 Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` // 帧率,单位:hz。 Fps *uint64 `json:"Fps,omitnil,omitempty" name:"Fps"` }
type VideoTrackItem ¶
type VideoTrackItem struct { // 视频媒体来源类型,取值有: // <ul> // <li>VOD :媒体来源于云点播文件 。</li> // <li>CME :视频来源制作云媒体文件。</li> // <li>EXTERNAL :视频来源于媒资绑定,如果媒体不是存储在腾讯云点播中或者云创中,都需要使用媒资绑定。</li> // </ul> SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // 视频媒体,可取值为: // <ul> // <li>当 SourceType 为 VOD 时,参数填云点播 FileId ;</li> // <li>当 SourceType 为 CME 时,参数填多媒体创作引擎媒体 Id;</li> // <li>当 SourceType 为 EXTERNAL 时,目前仅支持外部媒体 URL(如`https://www.example.com/a.mp4`),参数填写规则请参见注意事项。</li> // </ul> // // 注意: // <li>当 SourceType 为 EXTERNAL 并且媒体 URL Scheme 为 `https` 时(如:`https://www.example.com/a.mp4`),参数为:`1000000:www.example.com/a.mp4`。</li> // <li>当 SourceType 为 EXTERNAL 并且媒体 URL Scheme 为 `http` 时(如:`http://www.example.com/b.mp4`),参数为:`1000001:www.example.com/b.mp4`。</li> SourceMedia *string `json:"SourceMedia,omitnil,omitempty" name:"SourceMedia"` // 视频片段取自媒体文件的起始时间,单位为秒。默认为0。 SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitnil,omitempty" name:"SourceMediaStartTime"` // 视频片段时长,单位为秒。默认取视频媒体文件本身长度,表示截取全部媒体文件。如果源文件是图片,Duration需要大于0。 Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 视频片段原点距离画布原点的水平位置。支持 %、px 两种格式: // <li>当字符串以 % 结尾,表示视频片段 XPos 为画布宽度指定百分比的位置,如 10% 表示 XPos 为画布口宽度的 10%。</li> // <li>当字符串以 px 结尾,表示视频片段 XPos 单位为像素,如 100px 表示 XPos 为100像素。</li> // 默认值:0px。 XPos *string `json:"XPos,omitnil,omitempty" name:"XPos"` // 视频片段原点距离画布原点的垂直位置。支持 %、px 两种格式: // <li>当字符串以 % 结尾,表示视频片段 YPos 为画布高度指定百分比的位置,如 10% 表示 YPos 为画布高度的 10%。</li> // <li>当字符串以 px 结尾,表示视频片段 YPos 单位为像素,如 100px 表示 YPos 为100像素。</li> // 默认值:0px。 YPos *string `json:"YPos,omitnil,omitempty" name:"YPos"` // 视频原点位置,取值有: // <li>Center:坐标原点为中心位置,如画布中心。</li> // 默认值 :Center。 CoordinateOrigin *string `json:"CoordinateOrigin,omitnil,omitempty" name:"CoordinateOrigin"` // 视频片段的高度。支持 %、px 两种格式: // <li>当字符串以 % 结尾,表示视频片段 Height 为画布高度的百分比大小,如 10% 表示 Height 为画布高度的 10%;</li> // <li>当字符串以 px 结尾,表示视频片段 Height 单位为像素,如 100px 表示 Height 为100像素;</li> // <li>当 Width、Height 均为空,则 Width 和 Height 取视频媒体文件本身的 Width、Height;</li> // <li>当 Width 为空,Height 非空,则 Width 按比例缩放;</li> // <li>当 Width 非空,Height 为空,则 Height 按比例缩放。</li> Height *string `json:"Height,omitnil,omitempty" name:"Height"` // 视频片段的宽度。支持 %、px 两种格式: // <li>当字符串以 % 结尾,表示视频片段 Width 为画布宽度的百分比大小,如 10% 表示 Width 为画布宽度的 10%;</li> // <li>当字符串以 px 结尾,表示视频片段 Width 单位为像素,如 100px 表示 Width 为100像素;</li> // <li>当 Width、Height 均为空,则 Width 和 Height 取视频媒体文件本身的 Width、Height;</li> // <li>当 Width 为空,Height 非空,则 Width 按比例缩放;</li> // <li>当 Width 非空,Height 为空,则 Height 按比例缩放。</li> Width *string `json:"Width,omitnil,omitempty" name:"Width"` }
type VodPullInputInfo ¶
type VodPullInputInfo struct { // 点播输入拉流 URL 。 InputUrls []*string `json:"InputUrls,omitnil,omitempty" name:"InputUrls"` // 播放次数,取值有: // <li>-1 : 循环播放,直到转推结束;</li> // <li>0 : 不循环;</li> // <li>大于0 : 具体循环次数,次数和时间以先结束的为准。</li> // 默认不循环。 LoopTimes *int64 `json:"LoopTimes,omitnil,omitempty" name:"LoopTimes"` }
type VodPullInputPlayInfo ¶ added in v1.0.428
type WeiboPublishInfo ¶
type WeiboPublishInfo struct { // 视频发布标题。 Title *string `json:"Title,omitnil,omitempty" name:"Title"` // 视频发布描述信息。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 微博可见性,可取值为: // <li>Public:公开,所有人可见;</li> // <li>Private:私有,仅自己可见。</li> // // 默认为 Public,所有人可见。 Visible *string `json:"Visible,omitnil,omitempty" name:"Visible"` }