添加jar包
This commit is contained in:
parent
bfc6a73c2f
commit
a8bdc809d8
@ -1,7 +1,5 @@
|
||||
package com.platform.plugs.live.handlers;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
import com.aliyun.vod.upload.impl.VoDProgressListener;
|
||||
import com.aliyun.vod.upload.resp.UploadImageResponse;
|
||||
import com.aliyun.vod.upload.resp.UploadStreamResponse;
|
||||
@ -12,11 +10,13 @@ import com.aliyuncs.vod.model.v20170321.*;
|
||||
import com.platform.plugs.live.config.LiveUploadToVoDConfig;
|
||||
import com.platform.plugs.live.rpcEntity.LiveUploadVideo;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public interface ILiveUploadToVoDHandler {
|
||||
|
||||
|
||||
void configLiveUploadToVoD(LiveUploadToVoDConfig liveUploadToVoDConfig);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 流式上传接口
|
||||
*
|
||||
@ -58,7 +58,7 @@ public interface ILiveUploadToVoDHandler {
|
||||
*/
|
||||
UploadImageResponse uploadImageStream(String title,String fileName,InputStream inputStream,String imageType,String imageExt,String tags,
|
||||
boolean printProgress,VoDProgressListener voDProgressListener);
|
||||
|
||||
|
||||
/**
|
||||
* 修改视频信息
|
||||
* @param videoId 视频ID
|
||||
@ -68,7 +68,7 @@ public interface ILiveUploadToVoDHandler {
|
||||
* @param tags 视频标签
|
||||
*/
|
||||
UpdateVideoInfoResponse updateVideoInfo(String videoId,String title,String description,Long cateId,String tags) throws ServerException, ClientException;
|
||||
|
||||
|
||||
/**
|
||||
* 批量更新图片信息
|
||||
* @param imageId 图片ID
|
||||
@ -81,14 +81,14 @@ public interface ILiveUploadToVoDHandler {
|
||||
* @return
|
||||
*/
|
||||
UpdateImageInfosResponse updateContent(String imageId,String title,String description,Long cateId,String tags) throws ServerException, ClientException;
|
||||
|
||||
|
||||
/**
|
||||
* 获取音视频信息
|
||||
*
|
||||
* @param videoId 音视频ID
|
||||
*/
|
||||
GetMezzanineInfoResponse getMezzanineInfo(String videoId) throws Exception;
|
||||
|
||||
|
||||
/**
|
||||
* 获取音视频信息
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user