This pull request changes the behaviour of WebRTC initialization when using OpenGL on macOS or Windows.
After the change, WebRTC.Initialize method doesn't throw NotSupportedException even if you use OpenGL on all platforms. Alternatively, the constructor of VideoStreamTrack throws exception when using OpenGL graphics type on macOS and Windows.
It will makes availale to use the package for audio or data streaming with no supported graphics device.
This pull request changes the behaviour of WebRTC initialization when using OpenGL on macOS or Windows.
After the change,
WebRTC.Initialize
method doesn't throwNotSupportedException
even if you use OpenGL on all platforms. Alternatively, the constructor ofVideoStreamTrack
throws exception when using OpenGL graphics type on macOS and Windows.It will makes availale to use the package for audio or data streaming with no supported graphics device.