Skip to content

Commit 026be65

Browse files
committed
fix: add missing model BCM2711 in jpeg signature
1 parent 043b3cb commit 026be65

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/lib/still-camera.ts

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default class StillCamera {
3737
static async getJpegSignature() {
3838
const systemInfo = await si.system();
3939
switch (systemInfo.model) {
40+
case 'BCM2711':
4041
case 'BCM2835 - Pi 3 Model B':
4142
case 'BCM2835 - Pi 3 Model B+':
4243
case 'BCM2835 - Pi 4 Model B':

src/lib/stream-camera.ts

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class StreamCamera extends EventEmitter {
7070
static async getJpegSignature() {
7171
const systemInfo = await si.system();
7272
switch (systemInfo.model) {
73+
case 'BCM2711':
7374
case 'BCM2835 - Pi 3 Model B':
7475
case 'BCM2835 - Pi 3 Model B+':
7576
case 'BCM2835 - Pi 4 Model B':

0 commit comments

Comments
 (0)