Known workaround is to Dispose things:
RTPSession rtpSession = new RTPSession(true, true, true);
to:
using RTPSession rtpSession = new RTPSession(true, true, true);
and:
var rtpIceChannel = new RtpIceChannel(null, RTCIceComponent.rtp, null);
to:
using var rtpIceChannel = new RtpIceChannel(null, RTCIceComponent.rtp, null);
For the second hang, RTCPeerConnectionUnitTest.GenerateLocalOfferUnitTest:
RTCPeerConnection pc = new RTCPeerConnection(null);
changed to:
using RTCPeerConnection pc = new RTCPeerConnection(null);
Known workaround is to
Disposethings:RTPSession rtpSession = new RTPSession(true, true, true);to:
using RTPSession rtpSession = new RTPSession(true, true, true);and:
var rtpIceChannel = new RtpIceChannel(null, RTCIceComponent.rtp, null);to:
using var rtpIceChannel = new RtpIceChannel(null, RTCIceComponent.rtp, null);For the second hang, RTCPeerConnectionUnitTest.GenerateLocalOfferUnitTest:
RTCPeerConnection pc = new RTCPeerConnection(null);changed to:
using RTCPeerConnection pc = new RTCPeerConnection(null);