title: Google Meet: WebRTC peer-to-peer and Speech to Text
body: <p>I was in a meeting on Google Meet and saw that you could turn on real time subtitles. They've actually got a demo <a href="https://github.com/googleapis/nodejs-speech/blob/master/samples/infiniteStreaming.js" rel="noreferrer">here</a> on how realtime speech to text can be done, so that bit doesn't confuse me. </p>
  
  <p>I had also been wanting to experiment with WebRTC (which I believe GoogleMeet uses) just to see its capabilities - e.g. the ability to share a screen without any additional screens. </p>
  
  <p>However, I've always been under the impression that a WebRTC video/audio stream is client peer-to-peer. The questions I have therefore are</p>
  
  <ul>
  <li>How then are Google able to send the audio stream off to a server for
  analysis? </li>
  <li>Is it possible to send the audio stream to the client as
  well as to a server?</li>
  <li>Would you have to create two of the same audio
  stream (i don't know if this is even possible), send one over WebRTC
  to the other peer(s) and the other to a server for analysis?</li>
  </ul>
  
  <p>How do they achieve this - and if they don't use WebRTC, is it possible to achieve this with WebRTC?</p>