Forking from google, added encode time and minors change on WebRTCDemo
application.