Thanks for the response. the Frame width and height start at 640x360; it then increases to 960x540, then 1280x720, and finally 1920x1080. the outgoing bitrate is 300000.
I have noticed when the video stream includes low information content (a white screen with some black text in it), the resolution increases at a much higher pace; for streams with higher information content (a YouTube video), it's painfully slow.
It's worth mentioning that in Firefox, for example, the resolution starts at 1486 x 836 and increases to 1920x1080 in less than 20 secs most of the time.