@@ -723,7 +723,7 @@ uint8_t vc_iterate(VCSession *vc, Tox *tox, uint8_t skip_video_flag, uint64_t *a
723723
724724 if ((int32_t )header_v3_0 -> sequnum < (int32_t )vc -> last_seen_fragment_seqnum ) {
725725 // drop frame with too old sequence number
726- LOGGER_API_ERROR (tox , "skipping incoming video frame (0) with sn=%d lastseen=%d old_frames_count=%d" ,
726+ LOGGER_API_DEBUG (tox , "skipping incoming video frame (0) with sn=%d lastseen=%d old_frames_count=%d" ,
727727 (int )header_v3_0 -> sequnum ,
728728 (int )vc -> last_seen_fragment_seqnum ,
729729 (int )vc -> count_old_video_frames_seen );
@@ -732,15 +732,15 @@ uint8_t vc_iterate(VCSession *vc, Tox *tox, uint8_t skip_video_flag, uint64_t *a
732732
733733 if ((int32_t )(header_v3_0 -> sequnum + 1 ) != (int32_t )vc -> last_seen_fragment_seqnum ) {
734734 // TODO: check why we often get exactly the previous video frame here?!?!
735- LOGGER_API_ERROR (tox , "got previous seq number" );
735+ LOGGER_API_DEBUG (tox , "got previous seq number" );
736736 }
737737
738738 if (vc -> count_old_video_frames_seen > 6 ) {
739739 // if we see more than 6 old video frames in a row, then either there was
740740 // a seqnum rollover or something else. just play those frames then
741741 vc -> last_seen_fragment_seqnum = (int32_t )header_v3_0 -> sequnum ;
742742 vc -> count_old_video_frames_seen = 0 ;
743- LOGGER_API_ERROR (tox , "count_old_video_frames_seen > 6" );
743+ LOGGER_API_DEBUG (tox , "count_old_video_frames_seen > 6" );
744744 }
745745
746746 free (p );
@@ -753,7 +753,7 @@ uint8_t vc_iterate(VCSession *vc, Tox *tox, uint8_t skip_video_flag, uint64_t *a
753753 int32_t missing_frames_count = (int32_t )header_v3_0 -> sequnum -
754754 (int32_t )(vc -> last_seen_fragment_seqnum + 1 );
755755
756- LOGGER_API_ERROR (tox , "missing some video frames: missing count=%d" , (int )missing_frames_count );
756+ LOGGER_API_DEBUG (tox , "missing some video frames: missing count=%d" , (int )missing_frames_count );
757757
758758#define NORMAL_MISSING_FRAME_COUNT_TOLERANCE 0
759759#define WHEN_SKIPPING_MISSING_FRAME_COUNT_TOLERANCE 2
0 commit comments