flutter-webrtc / dart-sip-ua

A dart-lang version of the SIP UA stack.
MIT License
338 stars 262 forks source link

Transport type UDP #482

Open sicunets opened 2 weeks ago

sicunets commented 2 weeks ago

Can you add a new feature for TransportType? I need Transport type UDP.

Tin-Primas commented 2 weeks ago

By default WebRTC use UDP wdym

sicunets commented 2 weeks ago

Here i am getting transport type ws & tcp. So how can i manage it to use udp?

mikaelwills commented 2 weeks ago

We use a WS or TCP connection for the signalling processs to initiate or terminate a session (sip messages). Once the session is connected WebRTC transmits the actual media (audio/video) over UDP.

Why would you want to use UDP for the signalling step? (Genuine question) Also do you realise what UDP is and how much is needed to set it up, packet ordering, error checking, reliability timeouts, flow control, security etc etc