Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
739 stars 185 forks source link

refactor: Mark Obsolete WebRTC.Initialize and Dispose methods #844

Closed karasusan closed 1 year ago

karasusan commented 1 year ago

Up until now, we has provided WebRTC.Initialize and WebRTC.Initialize methods for managing allocation of WebRTC resources. However, to use some APIs, initialization process should be finished just after launching Unity Editor.

Therefore, we changed the specification, resource allocation of WebRTC is processed implicitly and developers don't need to invoke them.

In this PR, marked Obsolete two methods to keep compatibility, but we will remove them when releasing official release version.