mirror of https://github.com/OpenVidu/openvidu.git
openvid-test-e2e: print wrong thumbnail base64
parent
47058c6292
commit
22faa51ad7
|
@ -237,6 +237,14 @@ public class RecordingUtils {
|
|||
Map<String, Long> colorMap = this.averageColor(image);
|
||||
log.info("Thumbnail map color: {}", colorMap.toString());
|
||||
isFine = colorCheckFunction.apply(colorMap);
|
||||
if (!isFine) {
|
||||
try {
|
||||
log.error("Thumbnail is not fine. Printed below");
|
||||
System.out.println(bufferedImageToBase64PngString(ImageIO.read(file)));
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return isFine;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue