openvidu-test-e2e: media file metadata logging improved

pull/203/head
pabloFuente 2019-01-28 17:40:16 +01:00
parent 30ae0282db
commit d6921a963d
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ public class MultimediaFileMetadata {
if (videoInfo != null) {
this.videoSize = videoInfo.getSize();
}
log.info("File {} {} an audio track", f.getName(), this.audioInfo != null ? "has" : "doesn't have");
log.info("File {} {} a video track", f.getName(), this.videoInfo != null ? "has" : "doesn't have");
} catch (EncoderException e) {
log.error("Error getting multimedia information from file {}. Error: {}", f.getAbsolutePath(),
e.getMessage());