Skip to content

Fixes Exceptions Received in VoiceNext Voice Receive

Mateusz Brawański requested to merge patch/493 into master

Created by: Neuheit

Summary

Fixes #493 (closed).

Details

The exception was thrown due to a race condition between the UDP client and Voice WS, in that the UDP was trying to access the SSRC cache before it had the correct SSRC, which is only added by the WS. This PR fixes that by creating a new audio sender with a null user, as there cannot be anything blocking to request the user or wait for the correct SSRC.

Changes proposed

  • Fix key not found exception by creating a new AudioSender with a null user.

Notes

I don't believe this fixed the user cache exception as well, as that is a much larger issue out of the scope of this PR.

Merge request reports

Loading