<div dir="ltr"><div dir="ltr">On Fri, Jun 23, 2023 at 11:38 PM TTT <<a href="mailto:lists@telium.io">lists@telium.io</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg8089793556380072859"><div lang="EN-US"><div class="m_8089793556380072859WordSection1"><p class="MsoNormal">I’m learning about WebRTC clients, and am wondering why Asterisk treats them differently from any other SIP client.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The media (RTP) should be no different, so the only difference should be on the signaling side.  I noticed that the Asterisk wiki mentions the need for <span style="font-size:10pt;font-family:"Courier New";color:rgb(51,51,51)">res_pjsip_transport_websocket, so does that mean Asterisk requires the signaling to occur over a websocket?  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:rgb(51,51,51)">If I used a SIPJS fork which places the signaling over UDP (eg <a href="https://github.com/cwysong85/sipjs-udp" target="_blank">https://github.com/cwysong85/sipjs-udp</a>) will it just be a regular SIP client and I shouldn’t have to configure anything special in Asterisk, just regular PJSIP.<br></span></p></div></div></div></blockquote><div><br></div><div>The signaling can go over whatever transport (UDP, Websocket, TCP, TLS). Websockets are commonly used because as I stated in my other response it is what the browser provides. From a media level WebRTC itself is different because it uses additional standards than a regular SIP client. It does ICE, STUN, TURN, DTLS-SRTP (which makes the SDP incompatible with non DTLS-SRTP SDP), and others for media streams, packet loss, and more. Could a normal SIP client use those? Yes. Do they? Usually no.</div><div><br></div><div>All of this isn't driven by Asterisk, but WebRTC.</div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>