Also fixing an issue with the Java PeerConnection unit test. It wasn't correctly waiting for 10 video frames to be received. And fixed an issue with the video engine, where generated black frames don't get any rotation. BUG=webrtc:5128 Review URL: https://codereview.webrtc.org/1639583003 Cr-Commit-Position: refs/heads/master@{#11583}