title: Peer-to-Peer 1080p live streaming using WebRTC/Alternative?
body: <p>I've been experimenting with WebRTC and its ability to stream video/audio using p2p, however I've found that it's not able to stream any resolutions > 720p. Using <code>getUserMedia()</code> I'm able to capture the local webcam in 1080p, but it seems to fail at encoding/decoding in 1080p (I'm not sure which it is) and the client-side displays the video in 1280x720.  </p>
  
  <p>There are a few bug reports regarding this issue: <a href="https://code.google.com/p/chromium/issues/detail?id=259440" rel="noreferrer">Here</a> and <a href="https://code.google.com/p/webrtc/issues/detail?id=1750&amp;q=1080p&amp;colspec=ID%20Pri%20Mstone%20ReleaseBlock%20Area%20Status%20Owner%20Summary" rel="noreferrer">here</a>.</p>
  
  <p>Is there a way I can capture the webcam using <code>getUserMedia()</code>, encode the video myself in 1080p and still use WebRTC for its peer-to-peer capabilities?</p>
  
  <p>Basically I'm trying to achieve the same sort of thing shown in <a href="https://www.youtube.com/watch?v=zInFAJ-xCWM" rel="noreferrer">this video</a>. That is, live streaming a video and sharing it with other viewers so there's significantly less server/broadcaster bandwidth used. WebRTC seemed the obvious choice for this.</p>
  
  <p>Are there any alternative solutions, besides waiting for the WebRTC bug to be fixed? Thanks.</p>