title: How to deal with PeerConnection in Single Page App?
body: <p>I have a browser Single Page App that opens a PeerConnection to a video server and receives the media stream successfully. When the SPA leaves the page that is rendering the media, and then returns back to the render page, I do not want to have to re-establish the PeerConnection, but instead continue to render the media from the existing PeerConnection.</p>
  
  <p>Question: what is the proper way to keep the PeerConnection rendering in the HTML5 video tag across different SPA pages?</p>
  
  <p>I can see in the webrtc-internals page that the PeerConnection is not dropped after leaving the render page. But when I return back to the render page the video is black so the HTML5 video tag has obviously changed state. </p>
  
  <p>Thanks,</p>
  
  <p>-Andres </p>