Skip to content

Refine sender threading and FEC tuning#18

Open
abkarada wants to merge 1 commit intomainfrom
codex/optimize-cpu-usage-for-encoder-and-fec-i56dd4
Open

Refine sender threading and FEC tuning#18
abkarada wants to merge 1 commit intomainfrom
codex/optimize-cpu-usage-for-encoder-and-fec-i56dd4

Conversation

@abkarada
Copy link
Owner

Summary

  • Limit x264 encoder to two threads and enable appsink signal mode with a new-sample callback for paced packet handling
  • Simplify sender main loop to focus on adaptation and stats
  • Cap adaptive controller block size at k=16
  • Replace lambda-based new-sample handler with a static callback to satisfy GCallback requirements

Testing

  • apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
  • cmake -S . -B build (fails: Cannot find source file /workspace/Full_CPU_Version/third_party/CauchyCaterpillar/CCatCodec.cpp)

https://chatgpt.com/codex/tasks/task_e_68a873d62690832cab9598a18afb7bf3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant