Skip to content

Commit

Permalink
Merge branch 'master' into fix-log-level
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya authored Nov 22, 2023
2 parents d4aa181 + fdb3b9d commit 7b65295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/antmedia/streamsource/StreamFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7b65295

Please sign in to comment.