Use high resolution local video but limit video size in WebRTC connection
问题 I'm developing a website for a one on one webrtc video call on mobile browsers. I also support the capturing of photos on the local stream. For the photo capture I use ImageCapture api where available, and drawing to canvas elsewhere. The problem is that I want the video to be HD resolution 1280x720 (to reduce the bandwith needed for the call) while I need to capture the photos at 1920x1080. What I do now is that before I capture the photo I apply constraints and set the resolution to Full HD