Even with such low bitrate it can stream in HD which i don't understand how its possible.
It is because you pass frameRate 1.
Full HD with 1 FPS has low bitrate.
Please check this manual related bitrate management
https://docs.flashphoner.com/displa...ement+when+capturing+WebRTC+stream+in+browser
As you can see you can set constant bitrate using SDP hooks only and for Chrome only:
https://docs.flashphoner.com/displa...streaminbrowser-Howtoenforcebitrateincreasing
Is there any reason why it freezes for half a second or so and then skips
Sorry could you provide a link for freezing video. We received two videos but there are no freezes there.
The test i did and sent in the email was myself publishing from UK but a viewing on a separate VM on azure in US.
This is a bad test if you record final video from your local screen because Azure Remote Desktop may add a dozen seconds of latency or lost frames.
Indeed you can't estimate quality of video stream remotely in real time because any RDP-like tool will cause huge latency and frame lost for video. Only way to check video quality is recording screen on the remote Azure Machine.
Recommendations:
1. Try constant bitrates.
Make sure your bitrate is constant in chrome://webrtc-internals charts.
2. Try to test either recording screen on the remote machine or test in the UK region.
3. You can just have a bad internet channel towards N. Virginia US AWS server. That's why you may see packet lost and freezes in your stream.
Try to relocate your instance to Europe London or Frankfurt.