Skip to content

Commit

Permalink
Fixing example
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillatrev committed Jan 4, 2024
1 parent 4b98b0a commit 03161c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/AsyncTranslateMediaUrl.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public static void main(String[] args) {
try {
objectTranscript = apiClient.getTranslatedTranscriptObject(jobId, "es");
textTranscript = apiClient.getTranslatedTranscriptText(jobId, "es");
srtCaptions = apiClient.getTranslatedCaptions(jobId, "es", RevAiCaptionType.SRT, null);
vttCaptions = apiClient.getTranslatedCaptions(jobId, "es", RevAiCaptionType.VTT, null);
srtCaptions = apiClient.getTranslatedCaptions(jobId, "es", RevAiCaptionType.SRT);
vttCaptions = apiClient.getTranslatedCaptions(jobId, "es", RevAiCaptionType.VTT);

System.out.println("Translation:" + textTranscript);
} catch (IOException e) {
Expand Down

0 comments on commit 03161c7

Please sign in to comment.