Skip to content

Commit 2dcc723

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent b4cd375 commit 2dcc723

131 files changed

Lines changed: 3477 additions & 36 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Change log
22

3+
2026-04-16 Bumped to version v1.0.267
4+
- Updated apis for live/livesaas
5+
36
2026-04-09 Bumped to version v1.0.266
47
- Updated apis for sdk
58

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class CreateSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
CreateSpeechTaskBody body = new CreateSpeechTaskBody();
14+
15+
try {
16+
CreateSpeechTaskRes resp = service.createSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class DeleteSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
DeleteSpeechTaskBody body = new DeleteSpeechTaskBody();
14+
15+
try {
16+
DeleteSpeechTaskRes resp = service.deleteSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class DescribeForbiddenStreamGroupByPageExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
DescribeForbiddenStreamGroupByPageBody body = new DescribeForbiddenStreamGroupByPageBody();
14+
15+
try {
16+
DescribeForbiddenStreamGroupByPageRes resp = service.describeForbiddenStreamGroupByPage(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class DescribeLiveStreamGroupByPageExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
DescribeLiveStreamGroupByPageBody body = new DescribeLiveStreamGroupByPageBody();
14+
15+
try {
16+
DescribeLiveStreamGroupByPageRes resp = service.describeLiveStreamGroupByPage(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class GetSpeechConfigExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
try {
14+
GetSpeechConfigRes resp = service.getSpeechConfig();
15+
System.out.println(resp);
16+
} catch (Exception e) {
17+
e.printStackTrace();
18+
}
19+
}
20+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class GetSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
GetSpeechTaskBody body = new GetSpeechTaskBody();
14+
15+
try {
16+
GetSpeechTaskRes resp = service.getSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class RestartSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
RestartSpeechTaskBody body = new RestartSpeechTaskBody();
14+
15+
try {
16+
RestartSpeechTaskRes resp = service.restartSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class SearchSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
SearchSpeechTaskBody body = new SearchSpeechTaskBody();
14+
15+
try {
16+
SearchSpeechTaskRes resp = service.searchSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class UpdateSpeechTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
UpdateSpeechTaskBody body = new UpdateSpeechTaskBody();
14+
15+
try {
16+
UpdateSpeechTaskRes resp = service.updateSpeechTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)