src/sig-server/routes-ws/index.js
function forward (offer) {
  if (offer.answer) {
    peerTable[offer.srcId].socket
      .emit('we-handshake', offer)
    return
  }
  peerTable[offer.dstId].socket
    .emit('we-handshake', offer)
}
function forward (offer) {
  if (offer.answer) {
    peerTable[offer.srcId].socket
      .emit('we-handshake', offer)
    return
  }
  peerTable[offer.dstId].socket
    .emit('we-handshake', offer)
}
function forward ( offer ) { if ( offer . answer ) { peerTable [ offer . srcId ] . socket . emit ( 'we-handshake' , offer ) return } peerTable [ offer . dstId ] . socket . emit ( 'we-handshake' , offer ) }
forward an WebRTC offer to another peer
forward an WebRTC offer to another peer