diff --git a/src/main/java/io/antmedia/streamsource/StreamFetcher.java b/src/main/java/io/antmedia/streamsource/StreamFetcher.java index ad30dd67c..bb4d7cbff 100644 --- a/src/main/java/io/antmedia/streamsource/StreamFetcher.java +++ b/src/main/java/io/antmedia/streamsource/StreamFetcher.java @@ -279,7 +279,8 @@ else if(AntMediaApplicationAdapter.VOD.equals(streamType) && readResult != AVERR * don't break the loop immediately. Instead jump to next frame. * Otherwise same VOD will be streamed from the beginning of the file again. */ - logger.warn("Frame can't be read for VOD {}", streamUrl); + String errorDefinition = Muxer.getErrorDefinition(readResult); + logger.warn("Frame can't be read for VOD {} error is {}", streamUrl, errorDefinition); unReferencePacket(pkt); } else {