Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
738 stars 186 forks source link

[BUG]: Freezing when RTCPeerConnection is closing #1022

Open SetoKaiba opened 3 months ago

SetoKaiba commented 3 months ago

Package version

3.0.0-pre.7

Environment

* OS:Windows 10
* Unity version: Unity 2022.3

Steps To Reproduce

  1. Clone https://github.com/SetoKaiba/BugWebRTC
  2. Run the VideoReceiveWhipWhep scene
  3. Click call
  4. Click hangup after about 1 min

Current Behavior

The app is freezing caused by the RTCPeerConnection closing

Expected Behavior

The RTCPeerConnection should be able to be closed

Anything else?

No response

karasusan commented 3 months ago

Hi, thank you for sharing the issue. I was able to reproduce this problem in my environment.

SetoKaiba commented 3 months ago

Hi. Do I have to keep the stream publishing for you coordinate the bug?