title: Why does my local video stream rotate during calls?
body: <p>We have a native <code>Android</code> <code>webrtc</code>-based voip app. Only in our <code>Android</code> app (as opposed to other platforms), the <code>local camera stream</code> is rotated after being in a call for a while. Usually it takes about 10 seconds. But sometimes more, even as much as a minute.<br>
  The <code>remote</code> will get the <code>stream</code> rotated as well, so it's not a <code>rendering</code> issue.<br>
  The <code>stream</code> is always rotated 90 degrees clockwise in <code>portrait orientation</code>, but is correct in one <code>landscape orientation</code> and upside down in the other <code>landscape orientation</code>.<br>
  After a while, the <code>stream</code> will be rotated back to the correct <code>orientation</code> again (and back to bugged after a while again).<br>
  I've tried several <code>revisions</code> ranging from early 8xxx to the latest (9125), all have the same problem. <code>Apprtc demo</code> has the problem as well. I've tested on several different phones (although only Samsung devices) and the problem exists on all of them.</p>