gradio/js/video/shared
郭文涛 e450674ce4
add webcam_height and webcam_width to specify the resolution of the Webcam (#10032)
* add  webcam_height and webcam_width

* update

* A dictionary that allows developers to specify custom media constraints for the webcam stream. This parameter provides flexibility to control the video stream's properties, such as resolution, frame rate, and facing mode (e.g., front or rear camera on mobile devices). Overrides the default height and width settings when provided.

* add changeset

* add code

* Add code

* add changeset

* Fix tests

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-12-03 19:01:47 -05:00
..
index.ts
InteractiveVideo.svelte add webcam_height and webcam_width to specify the resolution of the Webcam (#10032) 2024-12-03 19:01:47 -05:00
Player.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
utils.ts
Video.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
VideoControls.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
VideoPreview.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
VideoTimeline.svelte