title: WebRTC HowTo PeerConnection via LAN with 2 Browsers
body: <p>since few days I'm trying to build a basic webRTC Videochat. I've got some Demos running localy, even via LAN. But now I want to build one by my one at the really basics without so much overload some Demos come with.</p>
  
  <p>But I still don't get a complete peer connection.</p>
  
  <p>Eg. this example seems to be broken, because I can't "createSignalingChannel();" w3.org/TR/webrtc/#simple-example</p>
  
  <p>Some other examples (<a href="https://webrtc-experiment.appspot.com/" rel="nofollow">https://webrtc-experiment.appspot.com/</a>) want me to link their scripts, but I wont do this, because I want to understand the magic of the peer connection and how to get a handshake between 2 browsers.</p>
  
  <p>I also explored examples with the Google App Engine but thats not what I want.</p>
  
  <p>I want to run it in really easy JS and HTML just on the minimum of what is neccessary.</p>
  
  <p>Here is my code:
  <a href="https://github.com/mexx91/basicVideoRTC" rel="nofollow">https://github.com/mexx91/basicVideoRTC</a>  EDIT: Should work now</p>
  
  <p>So what will I have to add to get an handshake and peer connection, so that I can send eg. the mediaStream to eachother.</p>
  
  <p>Thanks a lot!</p>