How VideoFrameEncoder.Encode shapes one frame.
Cap on the encoded image's longer side, in pixels. The image is never enlarged.
JPEG quality, 1-100 (clamped).
Clockwise rotation the frame needs for upright display (WebRTC's convention).
How VideoFrameEncoder.Encode shapes one frame.