Skip to content

Conversation

@tmatth
Copy link
Contributor

@tmatth tmatth commented Jun 25, 2025

This can be helpful for knowing how to tune upstream sources to avoid the need for remuxing.

@tmatth tmatth force-pushed the h2645-log-pkt-sizes branch 2 times, most recently from b869265 to 01cf912 Compare June 26, 2025 00:14
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...))
Copy link
Contributor Author

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.

@tmatth tmatth force-pushed the h2645-log-pkt-sizes branch 2 times, most recently from 73c03d6 to ca12710 Compare June 26, 2025 17:26
@tmatth tmatth force-pushed the h2645-log-pkt-sizes branch from ca12710 to 5974195 Compare July 15, 2025 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant