Fix garbled audio data and UDP ping in VNext
Created by: WamWooWam
Summary
Fixes an issue where received audio data would be garbled either when a user started or stopped speaking, or just all the time as of late.
This PR also fixes an issue in emzi's copy paste job of implementing UdpPing, it should report properly now.
Details
It seems there's a header prepended to audio data, as far as I can tell it is not a standard RTP header or anything related to one, as any magic bits/bytes appear to be missing.
Changes proposed
- Skip the first two bytes of any payload that begins with
0x90
, it's messy but until we can crack what this is, it works.
Notes
The fact alt-enter creates pull requests on GitHub is baffling to me.