sipsorcery-org / sipsorcery

A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.
https://sipsorcery-org.github.io/sipsorcery
Other
1.39k stars 424 forks source link

Windows, .NET Framework4.8 console app #1123

Open Hanning-Liu opened 2 months ago

Hanning-Liu commented 2 months ago

Following this tutorial : https://github.com/sipsorcery-org/sipsorcery?tab=readme-ov-file#getting-started-webrtc Using .NET 6 follow this tutorial is fine. I can see the final test image. But Visual Studio threw an exception when I use .NET Framework4.8 console app to test it.

image

Code File: https://drive.google.com/drive/folders/1BYC3VyXbUfzXBMsleo4p06E-0XN89aH7?usp=drive_link

Terricide commented 3 weeks ago

You probably need to uncheck 32-bit in your project and make sure it is running as 64-bit