Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: The logger drops frame with the "Success" status. #2765

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

nickolay168
Copy link

@nickolay168 nickolay168 commented Sep 3, 2024

Issue: When the frame is dropped during the video call non informative message is logged:
[04:15:03.304 UTC] rtp.c:842 : Warning: RTP send failed (len: 1373)! net error: Success

Solution: In this PR I have added logging of custom toxcore error in addition to network error, which is not necessary contains the error code.

Please see corresponding issue for more info.


This change is Reviewable

@nickolay168 nickolay168 changed the title The logger drops frame with the "Success" status. fix: The logger drops frame with the "Success" status. Sep 3, 2024
@nickolay168 nickolay168 force-pushed the nick168/add_more_logging branch from 5c24d14 to 9dbb6c4 Compare September 3, 2024 01:38
@iphydf iphydf added this to the v0.2.21 milestone Nov 9, 2024
@iphydf iphydf force-pushed the nick168/add_more_logging branch from 7081992 to c15eb78 Compare January 14, 2025 10:55
@github-actions github-actions bot added the bug Bug fix for the user, not a fix to a build script label Jan 14, 2025
@iphydf iphydf force-pushed the nick168/add_more_logging branch from c15eb78 to e32ac00 Compare January 14, 2025 10:56
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 44.44444% with 5 lines in your changes missing coverage. Please review.

Project coverage is 72.55%. Comparing base (958d91e) to head (e32ac00).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
toxav/rtp.c 44.44% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2765      +/-   ##
==========================================
- Coverage   72.63%   72.55%   -0.08%     
==========================================
  Files         150      150              
  Lines       30757    30779      +22     
==========================================
- Hits        22339    22333       -6     
- Misses       8418     8446      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iphydf iphydf merged commit e32ac00 into TokTok:master Jan 14, 2025
65 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fix for the user, not a fix to a build script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants