camera: object
Configuration elements for customizing camera recordings.
clipchamp(element, {
});
Configuration elements for customizing camera recordings.
Limit the camera recording length to a given number of seconds. The maximum length is limited by your plan and technical considerations.
The preferred recording aspect ratio such as 4:3 or 16:9 as a float number, representing the width:height proportions. The default is 4:3 for recordings in 360p and 480p (resulting in a recording resolution of 480:360 and 640:480 pixels, respectively); and 16:9 for recordings in 720p and 1080p (resulting in a recording resolution of 1280:720 and 1920:1080 pixels, respectively). Please note that the given aspect ratio is treated as a hint to the underlying hardware (webcam or mobile camera) only. The camera’s firmware or device driver may choose to deviate from the requested aspect ratio, ie., no specific recording resoluion can be guaranteed.
Show subtitle strings during a webcam recording – available in desktop browsers and Chrome/Android with the mobile-webcam-format-fallback
flag given in the enable
parameter array. The subtitle strings will not become part of the recording and are visible when making the recording.