- Hookup PS5 Controller on Windows 10
- Make sure Windows 10 detects the controller in Control Panel.
- Build and start project in Visual Studio.
- Notice crash
- Remove PS5 Controller
- Start project
- Notice no crash
Simply initializating WebRTC crashes.
rtc::LogMessage::LogToDebug(rtc::LS_VERBOSE);
#if defined(WIN32)
rtc::EnsureWinsockInit();
#endif
rtc::InitializeSSL();
auto peerFactory = webrtc::CreatePeerConnectionFactory(
nullptr,
nullptr,
nullptr,
nullptr,
webrtc::CreateBuiltinAudioEncoderFactory(),
webrtc::CreateBuiltinAudioDecoderFactory(),
webrtc::CreateBuiltinVideoEncoderFactory(),
webrtc::CreateBuiltinVideoDecoderFactory(),
nullptr,
nullptr);
}