We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe91b9 commit 14ef9c0Copy full SHA for 14ef9c0
video/src/main/java/beta/video/StreamingShotChangeDetection.java
@@ -84,7 +84,11 @@ static void streamingShotChangeDetection(String filePath)
84
85
for (StreamingAnnotateVideoResponse response : call) {
86
StreamingVideoAnnotationResults annotationResults = response.getAnnotationResults();
87
-
+ if (response.hasError()) {
88
+ System.out.println(response.getError().getMessage());
89
+ System.out.format("Error was occured with the following status: %s\n",
90
+ response.getError());
91
+ }
92
for (VideoSegment segment : annotationResults.getShotAnnotationsList()) {
93
double startTimeOffset =
94
segment.getStartTimeOffset().getSeconds()
0 commit comments