Documentation ¶
Overview ¶
Package file 本地推素材管理相关
Index ¶
- func UploadTaskCreate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func VideoAwemeGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*file.VideoAwemeGetResult, error)
- func VideoGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*file.VideoGetResult, error)
- func VideoUpload(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*file.Video, error)
- func VideoUploadTaskList(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]file.UploadTask, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadTaskCreate ¶
func UploadTaskCreate(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.UploadTaskCreateRequest) (uint64, error)
UploadTaskCreate 异步上传本地推视频 将视频文件通过连山云素材服务上传后获取到视频文件链接,再将获取到的连山云视频文件url作为入参的video_url通过素材库提供的视频上传接口进行文件上传 仅支持开发者购置连山云素材服务上传生成的tos链接上传,不支持其他三方链接地址
func VideoAwemeGet ¶
func VideoAwemeGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoAwemeGetRequest) (*file.VideoAwemeGetResult, error)
VideoAwemeGet 获取素材库视频
func VideoGet ¶
func VideoGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoGetRequest) (*file.VideoGetResult, error)
VideoGet 获取素材库视频
func VideoUpload ¶
func VideoUpload(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoUploadRequest) (*file.Video, error)
VideoUpload 上传视频
func VideoUploadTaskList ¶
func VideoUploadTaskList(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoUploadTaskListRequest) ([]file.UploadTask, error)
VideoUploadTaskList 查询异步上传本地推视频结果
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.