Skip to content

Commit 8006b7c

Browse files
committed
we can afford slightly bigger buffers now
1 parent 90e3b46 commit 8006b7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/rtpjpeg/Kconfig.projbuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ menu "RTP/JPEG"
33
config RTP_JITBUF_CAP_N_PACKETS
44
prompt "RTP jitterbuffer capacity number of packets"
55
int
6-
default 15
6+
default 16
77

88
config RTP_JITBUF_CAP_PACKET_SIZE_BYTES
99
prompt "RTP jitterbuffer capacity size per RTP packet"
@@ -17,7 +17,7 @@ menu "RTP/JPEG"
1717
config RTP_JPEG_MAX_DATA_SIZE_BYTES
1818
prompt "Max allowed JPEG frame size"
1919
int
20-
default 20480
20+
default 22528
2121

2222
endmenu
2323

components/rtpjpeg/rtp_jpeg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ esp_err_t parse_rtp_jpeg_qt(const uint8_t *buf, ptrdiff_t sz, rtp_jpeg_qt_t *out
7979
void rtp_jpeg_qt_print(const rtp_jpeg_qt_t *p);
8080

8181
#ifndef ESP_PLATFORM
82-
#define CONFIG_RTP_JPEG_MAX_DATA_SIZE_BYTES (20 * 1024)
82+
#define CONFIG_RTP_JPEG_MAX_DATA_SIZE_BYTES (22 * 1024)
8383
#endif
8484

8585
// A fully assembled RTP/JPEG frame.

0 commit comments

Comments
 (0)