geniiii / ripcord-audio-hook

Fixes Ripcord's voice chat functionality
MIT License
72 stars 4 forks source link

Fix RTP header handling on Linux #5

Closed geniiii closed 1 year ago

geniiii commented 1 year ago

The compiler's aggressive inlining has made this a massive pain, but it's still doable.

geniiii commented 1 year ago

(hopefully) Fixed in 102297e7fa08b502f0afa8aeafa8b0729bcbde00 This might still let some non-stripped packets through, I'm not sure. In some cases the audio packet processed in readVoiceDataPacket gets added to a std::vector<DisVoiceDatagram>, but I didn't look into what Ripcord does with said std::vector.