Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
739 stars 185 forks source link

[BUG]: Memory leak using video stream on iOS/macOS #868

Closed kannan-xiao4 closed 1 year ago

kannan-xiao4 commented 1 year ago

Package version

3.0.0-pre.2

Environment

* OS: iOS, macOS
* Unity version: Unity 2021.3

Steps To Reproduce

  1. Open E2ELatency sample scene.
  2. Click Start and Call button
  3. Check memory usage (Untracked memory) in Unity Profiler.
  4. Wait about 15 minutes.
  5. Check memory usage (Untracked memory) in Unity Profiler again.

Current Behavior

Memory usage after 15 minutes is higher than at the beginning.

Expected Behavior

Memory usage after 15 minutes is the same as when it started.

Anything else?

On iPhone13 pro, a crash occurs when sending and receiving video with 4k (3840x2160) resolution using VP8 codec.

kannan-xiao4 commented 1 year ago

memo: WRS-449