com.unity.webrtc 2.4.0-exp.5
Notes: processedReleased February 3, 2022
Unity Compatibility
Minimum Unity: 2019.4
Package Dependencies
- com.unity.editorcoroutines (1.0.0)
- com.unity.modules.jsonserialize (1.0.0)
✨ Features
- Added the ability to execute pending native tasks manually from the main thread.
- Added support for sending basic native collections (`NativeArray`, `NativeSlice` and `NativeArray.ReadOnly`) to `RTCDataChannel`.
- Added a property `RTCRtpTransceiver.Mid`.
- Added an argument `enableNativeLog` for `WebRTC.Initialize` method.
- Added "E2ELatency" scene in the sample.
- Added a constuctor without arguments in `AudioStreamTrack` class.
📈 Improvements
- Upgraded libwebrtc m92.
- Changed compiler for native plugin on Windows (MSVC to Clang).
- Changed to use `OnAudioFilterRead` method in `MonoBehaviour` for audio rendering.
- Changed resizing texture dynamically on receiver side when using a property `scaleResolutionDownBy` in `RTCRtpEncodingParameters` class.
- Changed the exception type `ObjectDisposedException` when accessing instance after call Dispose method.
🔧 Bug Fixes
- Fixed a crash bug where initializing video streaming on Unity Editor on Apple Silicon.
- Fixed a crash bug where configuring OpenGL Core as a graphics API on Unity Editor on windows.
- Fixed a bug that sending stereo audio produces mono clip on some peers.
- Fixed a crach bug where using Full HD resolution with HWA enabled on macOS(Intel).
- Fixed a crash bug where using Full HD resolution with HWA enabled on Windows.
⚡ API Changes
- Removed iOS Simulator (x86\_64) support for make simple building process for iOS.
