-
Notifications
You must be signed in to change notification settings - Fork 2.1k
h264/h265: log packet sizes if they exceed UDPMaxPayloadSize #4668
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
base: main
Are you sure you want to change the base?
Conversation
b869265 to
01cf912
Compare
| p, err := New(1472, forma, false, | ||
| Logger(func(_ logger.Level, s string, i ...interface{}) { | ||
| require.Equal(t, "RTP packets are too big, remuxing them into smaller ones", fmt.Sprintf(s, i...)) | ||
| require.Equal(t, "RTP packets are too big (2012 > 1472), remuxing them into smaller ones", fmt.Sprintf(s, i...)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would've preferred not hardcoding the left-hand size value (2012) but it's not clear to me that the packet is in scope here.
73c03d6 to
ca12710
Compare
ca12710 to
5974195
Compare
5974195 to
8a71612
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4668 +/- ##
==========================================
+ Coverage 55.57% 55.59% +0.01%
==========================================
Files 184 184
Lines 15504 15512 +8
==========================================
+ Hits 8617 8624 +7
- Misses 6157 6158 +1
Partials 730 730 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This would be helpful for debugging scenarios like #5161 |
|
ping @aler9 |
This can be helpful for knowing how to tune upstream sources to avoid the need for remuxing.