Skip to content

Commit

Permalink
added int as fps type #2
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwinsemius committed Jan 15, 2025
1 parent d0d9c6f commit 2622181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeorc_api/routers/pivideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def has_picam():

# Start video stream
@router.post("/start")
async def start_camera_stream(width: int = 1920, height: int = 1080, fps=30):
async def start_camera_stream(width: int = 1920, height: int = 1080, fps: int = 30):
global picam, camera_streaming

if camera_streaming:
Expand Down

0 comments on commit 2622181

Please sign in to comment.