Releases: needle-mirror/com.unity.webrtc
Releases · needle-mirror/com.unity.webrtc
2.4.0-exp.5
[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>
andNativeArray<T>.ReadOnly
) toRTCDataChannel
. - Added a property
RTCRtpTransceiver.Mid
. - Added an argument
enableNativeLog
forWebRTC.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 inMonoBehaviour
for audio rendering. - Changed resizing texture dynamically on receiver side when using a property
scaleResolutionDownBy
inRTCRtpEncodingParameters
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
[2.4.0-exp.4] - 2021-08-19
Added
- mac M1 architecture native support
- Audio stream rendering support
- Add two scenes (
Audio
andMultiAudioReceive
) into the package sample - Add
RTCAudioSourceStats
andVideoSourceStats
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
[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
[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
[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 theRTCPeerConnection
class - Added the
Streams
property to theRTCRtpReceiver
class
Changed
- Unity 2020.3 support
- Upgrade libwebrtc m89
- Changed the argument type of the
RTCPeerConnection.CreateOffer
method and theRTCPeerConnection.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
[2.3.3] - 2021-02-26
Added
- Added
OnConnectionStateChange
event to theRTCPeerConnection
class
Fixed
- Fixed a crash bug that occurs when accessing
MediaStreamTrack
properties after disposing ofRTCPeerConnection
[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 andMediaStream.GetVideoStreamTrack
method to return a correct value. - Fixed
RTCRtpTransceiver.Receiver
property andRTCRtpTransceiver.Sender
property to return a correct value.
2.3.2-preview
[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 andMediaStream.GetVideoStreamTrack
method to return a correct value. - Fixed
RTCRtpTransceiver.Receiver
property andRTCRtpTransceiver.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
[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 theRTCRtpSender
class and theRTCRtpReceiver
class - Added
SetCodecPreferences
method to theRTCRtpTransceiver
class. - Added two samples (
ChangeCodecs
,TrickleIce
) - Added properties to the
RTCIceCandidate
class - Added properties tp the
RTCDataChannelInit
class
Changed
- Changed
RTCIceCandidate
type fromstruct
toclass
- Changed
RTCIceCandidateInit
type fromstruct
toclass
- Changed
RTCDataChannelInit
type fromstruct
toclass
- 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
[2.3.0] - 2020-12-28
Added
- iOS platform support
- H.264 HW decoder (VideoToolbox) support on macOS
- Added
GetCapabilities
method to theRTCRtpSender
class and theRTCRtpReceiver
class - Added
SetCodecPreferences
method to theRTCRtpTransceiver
class. - Added two samples (
ChangeCodecs
,TrickleIce
) - Added properties to the
RTCIceCandidate
class - Added properties tp the
RTCDataChannelInit
class
Changed
- Changed
RTCIceCandidate
type fromstruct
toclass
- Changed
RTCIceCandidateInit
type fromstruct
toclass
- Changed
RTCDataChannelInit
type fromstruct
toclass
- 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
[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 toSetLocalDescription
,SetRemoteDescription