<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="122272" data-post-id="122272">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="idi527" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  idi527
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<blockquote>
<p>The purpose of the server is to provide full WebRTC capabilities as simply as possible.</p>
</blockquote>
<blockquote>
<p>The server supports full DTLS and we’ve experienced no issues with it.</p>
</blockquote>
<p>But that’s just for signalling and turn, right? Or do you plan to implement all webrtc protocols required for a webrtc client/server?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="122272" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-122272" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="122272"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="122273" data-post-id="122273">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LSylvester" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LSylvester/120/2425_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LSylvester
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>It’s just for TURN.  The server is STUN / TURN only, but will have RTP / RTCP and various audio / video decoding / encoding capabilities.</p>
<p>We find signalling tends to be a very personal matter.  We have our own signalling services, but more people roll their own than opt for something pre-existing.  Since signalling is typically just WebSockets, it’s not something that needs to be explained overly much.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="122273" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-122273" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="122273"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="134545" data-post-id="134545">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lud" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lud/120/14382_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lud
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hello, sorry for bouncing this old topic.</p>
<p>I would like to build a simple web page where two users could see and talk to each other through WebRTC. I’m a bit confused by what I read so far and I cannot figure out what I need.</p>
<p>I believe that if the web server (the app serving the web page where the WebRTC javascript) is on a public domain (say <a href="http://mydomain.com" rel="noopener nofollow ugc">mydomain.com</a>), I just need a public STUN server (say <a href="http://turn.mydomain.com" rel="noopener nofollow ugc">turn.mydomain.com</a>) right ?</p>
<p>I was looking to MongooseICE (I like ESL products) but they say that their application is not enough to have video chat, because of signaling. But If I understood correctly <a href="https://github.com/chadbrading/phoenix-webrtc" rel="noopener nofollow ugc">this page</a> the javascript on it describes how to do signaling with phoenix channels. The code is old, I did not have time to make it work yet. But that would be enought ?</p>
<p>Or do I need TURN, janus-gateway, SNAP-thing, DTLS-stuff … ? (I try to read as much as I can but it feels like if someday you discovered that “HTTP” thing and suddenly you stumble upon Javascript, CSS, TLS, FTP, browsers, servers and al.)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134545" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-134545" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134545"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="134548" data-post-id="134548">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LSylvester" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LSylvester/120/2425_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LSylvester
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi <a class="mention" href="/u/lud" rel="nofollow">@lud</a>,</p>
<p>You need a TURN server (like <a href="https://xirsys.github.io/xturn" rel="noopener nofollow ugc">https://xirsys.github.io/xturn</a>) and a socket (signalling) server.  Both apps could be completely unrelated.  For instance, you could use PubNub for signalling.  It is needed only to get the session running.  After that, the TURN server takes over.  TURN is only needed for about 20% of connections, with the rest being peer-to-peer.</p>
<p>Incidentally, my company Xirsys provides both geolocated TURN servers and signalling.  The TURN server listed above is an Elixir TURN server that I wrote and will be discussing at CommCon next week.</p>
<p>Regards,<br>
Jahred</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134548" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-134548" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134548"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="134551" data-post-id="134551">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lud" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lud/120/14382_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lud
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey, Thanks !</p>
<p>So TURN is needed for 20% of the connections, because people can be behind a VPN or a NAT, that is the reason if I got things well.<br>
But a TURN server relays the data (in my case the Audio/Video streams) so I must be a good machine, whereas a STUN server and the Phoenix app will run on a cheap server, right ?</p>
<p>My knowledge level on all of this is like ZERO. I do this to learn new stuff (bored with CRUD apps), so I would like to implement a simple scenario. Do you have examples or docs to work with Xturn from JS ?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134551" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-134551" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134551"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="134557" data-post-id="134557">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LSylvester" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LSylvester/120/2425_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LSylvester
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>So, a TURN server is also a STUN server.  TURN extends the STUN specification by adding throughput capabilities.  Any TURN server will also perform STUN bindings (but not the reverse).</p>
<p>TURN is used for situations where one peer can’t see the other clearly.  All peers will be behind a NAT (the router that sits between your machine and the public internet) and some will be behind several NATs.  Some NATs are more complicated than others, which is why TURN is required.  Some NATs are too complicated even for TURN, but those are rare.</p>
<p>The TURN server should ideally sit on a sufficient machine.  I ran that XTurn server (written in Elixir) on a cheap $5 VM and got better, faster throughput than Google’s own TURN servers.  However, that was a handful of connections.  If you plan on supporting thousands of simultaneous TURN connections, you’ll want a nice big VM with a chunky bandwidth.</p>
<p>For demos, I would strongly urge you to take a look at Muaz Khan’s experiments, <a href="https://www.webrtc-experiment.com/" rel="noopener nofollow ugc">here</a>.  There are loads available and they’re all bare-bones, so it’s a good resource to learn from.</p>
<p>Regards,<br>
Jahred</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134557" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-134557" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134557"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="134558" data-post-id="134558">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lud" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lud/120/14382_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lud
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Unfortunately this website seems to be down. I’ll watch if it comes back.</p>
<blockquote>
<p>cheap $5 VM … However, that was a handful of connections. If you plan on supporting thousands of simultaneous TURN connections, you’ll want a nice big VM with a chunky bandwidth.</p>
</blockquote>
<p>Not at all.</p>
<p>To me this is a toy project. It could become a production app, but only for 60 people with maximum maybe 3 concurrent video-calls <img src="https://forum.elixirforum.com/images/emoji/apple/sweat_smile.png?v=15" title=":sweat_smile:" class="emoji" alt=":sweat_smile:" loading="lazy" width="20" height="20"> (we will help therapists to help those people with some problems and most of them are not tech-savvy so we want all in the same website).</p>
<p>So I guess any machine would work then. I’ll start to experiment with Xturn.</p>
<p>Thank you !</p>
<p>(Edit: The website was not down and accessible through a VPN, but not directly with my ISP <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"> )</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134558" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-134558" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134558"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="134561" data-post-id="134561">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LSylvester" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LSylvester/120/2425_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LSylvester
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Okay, great.  If you like, you could always sign up for a FREE account with my company, <a href="https://www.xirsys.com" rel="noopener nofollow ugc">Xirsys</a>.  We’re always happy to help anyone get up and running with WebRTC and that would cover your signalling and TURN requirements, while you develop.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134561" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-134561" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134561"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="134565" data-post-id="134565">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="lud" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lud/120/14382_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  lud
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Nice <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> Thanks !</p>
<p>Edit: the docs are great.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="134565" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-134565" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="134565"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="188041" data-post-id="188041">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="onkara" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  onkara
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/lsylvester" rel="nofollow">@LSylvester</a> is there a sample app(s) written in Elixir using XTurn ?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="188041" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/does-anyone-have-any-experience-with-webrtc-stun-turn-server-called-xturn/21240/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-188041" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="188041"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/21240/load_more?page=3">Load more posts (3 remaining)</a>
</div></template></turbo-stream>