Skip to content

Commit 6f28f7a

Browse files
authored
Update default camera settings for minimal video example (#55)
* default to logs over UART * update default resolution/fps
1 parent bb7cec3 commit 6f28f7a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/livekit/examples/minimal_video/main/example.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ void join_room()
3737
},
3838
.video_encode = {
3939
.codec = LIVEKIT_VIDEO_CODEC_H264,
40-
.width = 1920,
41-
.height = 1080,
42-
.fps = 25
40+
.width = 1280,
41+
.height = 720,
42+
.fps = 30
4343
},
4444
.capturer = media_get_capturer()
4545
},

components/livekit/examples/minimal_video/sdkconfig.defaults

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CONFIG_CACHE_L2_CACHE_256KB=y
99
CONFIG_CACHE_L2_CACHE_LINE_128B=y
1010
CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n
1111
CONFIG_COMPILER_OPTIMIZATION_PERF=y
12-
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
12+
CONFIG_ESP_CONSOLE_UART_DEFAULT=y
1313
CONFIG_ESP_VIDEO_ENABLE_ISP_PIPELINE_CONTROLLER=y
1414
CONFIG_ESP_WS_CLIENT_ENABLE_DYNAMIC_BUFFER=y
1515
CONFIG_ESP_WS_CLIENT_SEPARATE_TX_LOCK=y
@@ -36,4 +36,4 @@ CONFIG_SPIRAM=y
3636

3737
# For the camera included with the Espressif ESP32-P4-Function-EV-Board.
3838
CONFIG_CAMERA_SC2336=y
39-
CONFIG_CAMERA_SC2336_MIPI_RAW8_1024x600_30FPS=y
39+
CONFIG_CAMERA_SC2336_MIPI_RAW8_1280X720_30FPS=y

0 commit comments

Comments
 (0)