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.42k stars 431 forks source link

TLS client side #1076

Closed ElDuderinoBerlin closed 6 months ago

ElDuderinoBerlin commented 6 months ago

Hi,

is there any setting (code) i must use to enable/support TLS? I didn't found an example how to use TLS on client side! Is TLS handled internally by SIPSorcery?

Thx in advance

DavidMartynWood commented 6 months ago

If you add SIPTLSChannel (instead of SIPUDPChannel or SIPTCPChannel) to your SIPTransport it should work fine.