File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/com/qcloud/cos/demo/ci Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ public static void generatePlayList(COSClient client) {
4646 video .setWidth ("1280" );
4747 video .setHeight ("960" );
4848
49-
5049 request .getOperation ().getOutput ().setBucket ("demo-1234567890" );
5150 request .getOperation ().getOutput ().setRegion ("ap-beijing" );
5251 request .getOperation ().getOutput ().setObject ("output/media/test.m3u8" );
@@ -57,7 +56,6 @@ public static void generatePlayList(COSClient client) {
5756
5857 /**
5958 * describeMediaJob 根据jobId查询任务信息
60- * @param client
6159 */
6260 public static void describeMediaJob (COSClient client ) {
6361 //1.创建任务请求对象
@@ -78,8 +76,8 @@ public static void getPlayList(COSClient client) {
7876 request .setBucketName ("demo-1234567890" );
7977 request .setObject ("output/media/test.m3u8" );
8078 request .setExpires ("3600" );
81- InputStream response = client .getPlayList (request );
8279 try {
80+ InputStream response = client .getPlayList (request );
8381 System .out .println (inputStreamToString (response ));
8482 } catch (IOException e ) {
8583 e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments