Skip to content

Releases: needle-mirror/com.unity.webrtc

2.4.0-exp.5

04 Feb 00:15
Compare
Choose a tag to compare

[2.4.0-exp.5] - 2022-02-02

Added

  • Added the ability to execute pending native tasks manually from the main thread.
  • Added support for sending basic native collections (NativeArray<T>, NativeSlice<T> and NativeArray<T>.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.

Changed

  • 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.

Fixed

  • 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.

Removed

  • Removed iOS Simulator (x86_64) support for make simple building process for iOS.

2.4.0-exp.4

18 Aug 15:14
Compare
Choose a tag to compare

[2.4.0-exp.4] - 2021-08-19

Added

  • mac M1 architecture native support
  • Audio stream rendering support
  • Add two scenes (Audio and MultiAudioReceive) into the package sample
  • Add RTCAudioSourceStats and VideoSourceStats class

Changed

  • Add the audio waveform graph to MultiplePeerConnections scene in the sample

Fixed

  • Fix the crash on Windows with Vulkan API on VideoReceieSample
  • Fix the crash when calling WebRTC.Initialize twice
  • Fix the error in the build process on Unity2021.2

2.4.0-exp.3

09 Jun 13:12
Compare
Choose a tag to compare

[2.4.0-exp.3] - 2021-06-08

Changed

  • Add options of the incoming video in VideoReceive sample to test video capture modules on the device

Fixed

  • Fix the validation for the color space of the incoming video
  • Fix the crash when accessing the property RTCRtpSender.Track

2.4.0-exp.2

24 May 07:11
Compare
Choose a tag to compare

[2.4.0-exp.2] - 2021-05-21

Fixed

  • Fix the color space of the RenderTexture for streaming when using Vulkan API
  • Fix sample scenes
  • Add a short version string to info.plist of ios framework

Changed

  • Add the validation of the streaming texture size on Android
  • Add the validation of the streaming when using NvCodec
  • Use the software video decoder when disabling hardware acceleration

2.4.0-exp.1

24 Apr 12:10
Compare
Choose a tag to compare

[2.4.0-exp.1] - 2021-04-23

Added

  • Android ARM64 platform support
  • Added a sample scene "Menu" which developers can go back and forth between sample scenes
  • Added a sample scene "PerfectNegotiation"
  • Added the software encoder on Linux support when using OpenGL Core graphics API
  • Added the RestartIce method to the RTCPeerConnection class
  • Added the Streams property to the RTCRtpReceiver class

Changed

  • Unity 2020.3 support
  • Upgrade libwebrtc m89
  • Changed the argument type of the RTCPeerConnection.CreateOffer method and the RTCPeerConnection.CreateAnswer method

Fixed

  • Fixed crash for accessing properties of RTCDataChannel instance
  • Fixed crash when using the invalid graphics format to stream video on macOS

2.3.3-preview

01 Mar 08:13
Compare
Choose a tag to compare
2.3.3-preview Pre-release
Pre-release

[2.3.3] - 2021-02-26

Added

  • Added OnConnectionStateChange event to the RTCPeerConnection class

Fixed

  • Fixed a crash bug that occurs when accessing MediaStreamTrack properties after disposing of RTCPeerConnection

[2.3.2] - 2021-02-12

Changed

  • Changed Audio.CaptureStream method to allow setting of audio track label.

Fixed

  • Fixed memory leaks in native code.
  • Fixed a crash bug when access an instance after disposed of it.
  • Fixed MediaStream.GetVideoStreamTrack method and MediaStream.GetVideoStreamTrack method to return a correct value.
  • Fixed RTCRtpTransceiver.Receiver property and RTCRtpTransceiver.Sender property to return a correct value.

2.3.2-preview

16 Feb 02:14
Compare
Choose a tag to compare
2.3.2-preview Pre-release
Pre-release

[2.3.2] - 2021-02-12

Changed

  • Changed Audio.CaptureStream method to allow setting of audio track label.

Fixed

  • Fixed memory leaks in native code.
  • Fixed a crash bug when access an instance after disposed of it.
  • Fixed MediaStream.GetVideoStreamTrack method and MediaStream.GetVideoStreamTrack method to return a correct value.
  • Fixed RTCRtpTransceiver.Receiver property and RTCRtpTransceiver.Sender property to return a correct value.

[2.3.1] - 2021-01-07

Fixed

  • Fixed RTCIceCandidate.candidate property in order to return a correct SDP formatted string.

2.3.1-preview

08 Jan 15:10
Compare
Choose a tag to compare
2.3.1-preview Pre-release
Pre-release

[2.3.1] - 2021-01-07

Fixed

  • Fixed RTCIceCandidate.candidate property in order to return a correct SDP formatted string

[2.3.0] - 2020-12-28

Added

  • iOS platform support
  • H.264 HW decoder (VideoToolbox) support on macOS
  • Added GetCapabilities method to the RTCRtpSender class and the RTCRtpReceiver class
  • Added SetCodecPreferences method to the RTCRtpTransceiver class.
  • Added two samples (ChangeCodecs, TrickleIce)
  • Added properties to the RTCIceCandidate class
  • Added properties tp the RTCDataChannelInit class

Changed

  • Changed RTCIceCandidate type from struct to class
  • Changed RTCIceCandidateInit type from struct to class
  • Changed RTCDataChannelInit type from struct to class
  • Changed argumments of the RTCPeerConnection.AddIceCandidate method
// old
public void AddIceCandidate(ref RTCIceCandidate candidate);
// new
public bool AddIceCandidate(RTCIceCandidate candidate);
  • Changed arguments of the RTCPeerConnection.CreateDataChannel method
// old
public RTCDataChannel CreateDataChannel(string label, ref RTCDataChannelInit options);
// new
public RTCDataChannel CreateDataChannel(string label RTCDataChannelInit options = null);

2.3.0-preview

25 Dec 07:11
Compare
Choose a tag to compare
2.3.0-preview Pre-release
Pre-release

[2.3.0] - 2020-12-28

Added

  • iOS platform support
  • H.264 HW decoder (VideoToolbox) support on macOS
  • Added GetCapabilities method to the RTCRtpSender class and the RTCRtpReceiver class
  • Added SetCodecPreferences method to the RTCRtpTransceiver class.
  • Added two samples (ChangeCodecs, TrickleIce)
  • Added properties to the RTCIceCandidate class
  • Added properties tp the RTCDataChannelInit class

Changed

  • Changed RTCIceCandidate type from struct to class
  • Changed RTCIceCandidateInit type from struct to class
  • Changed RTCDataChannelInit type from struct to class
  • Changed argumments of the RTCPeerConnection.AddIceCandidate method
// old
public void AddIceCandidate(ref RTCIceCandidate candidate);
// new
public bool AddIceCandidate(RTCIceCandidate candidate);
  • Changed arguments of the RTCPeerConnection.CreateDataChannel method
// old
public RTCDataChannel CreateDataChannel(string label, ref RTCDataChannelInit options);
// new
public RTCDataChannel CreateDataChannel(string label RTCDataChannelInit options = null);

[2.2.1] - 2020-11-13

Added

  • Added a Bandwidth sample

Fixed

  • Fixed the receiver of video streaming with Vulkan API
  • Fixed a crash bug when the application ended using Vulkan API
  • Fixed a crash bug of the standalone build using Vulkan API
  • Fixed bugs that occur on Linux not installed NVIDIA driver
  • Fixed a bug of the VideoReceive sample

2.2.1-preview

19 Nov 01:25
Compare
Choose a tag to compare
2.2.1-preview Pre-release
Pre-release

[2.2.1] - 2020-11-13

Added

  • Added a Bandwidth sample

Fixed

  • Fixed the receiver of video streaming with Vulkan API
  • Fixed a crash bug when the application ended using Vulkan API
  • Fixed a crash bug of the standalone build using Vulkan API
  • Fixed bugs that occur on Linux not installed NVIDIA driver
  • Fixed a bug of the VideoReceive sample

[2.2.0] - 2020-10-26

Added

  • Software decoder support
  • Hardware encoder (VideoToolbox) support on macOS
  • Vulkan API support on Linux and Windows
  • Linux IL2CPP support
  • Add WebRTC samples (MultiplePeerConnections, MultiVideoReceive, MungeSDP, VideoReceive)

Changed

  • Upgrade libwebrtc m85
  • Upgrade NVIDIA Codec SDK 9.1
  • Changed RTCPeerConnection behaviour to throw exceptions when pass invalid arguments to SetLocalDescription, SetRemoteDescription