Camera Streaming¶
Monitor your prints visually with live camera streaming directly from your Bambu Lab printer.
Live Streaming¶
Bambuddy provides MJPEG video streaming from your printer's built-in camera.
Opening the Camera¶
- Click the camera icon on any printer card
- A new window opens with the live feed
- The stream starts automatically
Stream Controls¶
| Button | Action |
|---|---|
| Live | Real-time MJPEG video stream |
| Snapshot | Single still image (lower bandwidth) |
| Restart the stream | |
| Enter fullscreen mode |
Snapshot Mode¶
For lower bandwidth usage, use snapshot mode:
- Captures a single frame on demand
- Click refresh to get a new snapshot
- Ideal for cellular connections or slow networks
Technical Details¶
How Streaming Works¶
graph LR
A[Printer Camera] -->|RTSP| B[ffmpeg]
B -->|MJPEG| C[Bambuddy API]
C -->|HTTP Stream| D[Browser] - Printer exposes camera via RTSP (Real Time Streaming Protocol)
- ffmpeg converts RTSP to MJPEG (Motion JPEG)
- Bambuddy serves the MJPEG stream to your browser
- Browser displays frames in an
<img>tag
Requirements¶
| Requirement | Details |
|---|---|
| ffmpeg | Must be installed on Bambuddy server |
| Camera enabled | Must be enabled in printer settings |
| LAN Mode | Camera access requires LAN Mode |
| Network access | Server must be able to reach printer IP |
Docker Users
Camera streaming works with Docker's default bridge networking in most setups (NAT handles routing automatically).
If you have issues, try network_mode: host - see Docker Installation.
Installing ffmpeg¶
Download from ffmpeg.org and add to PATH.
ffmpeg is included in the Docker image.
Camera Snapshots on Print Complete¶
Bambuddy can automatically capture a camera snapshot when prints complete:
- Go to Settings > General
- Enable Capture snapshot on print complete
- Snapshots are saved to the archive
This creates a visual record of your completed prints!
Stream Settings¶
Frame Rate¶
The default frame rate is 10 FPS. You can adjust this in the URL:
| FPS | Use Case |
|---|---|
| 5 | Low bandwidth |
| 10 | Default, balanced |
| 15 | Smoother video |
| 30 | Maximum quality |
Higher FPS = More Bandwidth
Higher frame rates consume more network bandwidth and server resources.
Stream Cleanup¶
Bambuddy properly cleans up camera streams:
- Window close - Stream stops automatically
- Tab hidden - Stream pauses to save resources
- Page unload - ffmpeg process terminated
- Refresh - Old stream stopped, new one started
This prevents orphaned ffmpeg processes from consuming resources.
Troubleshooting¶
Stream Won't Start¶
- Is the printer on? Camera requires power
- Is camera enabled? Check printer settings
- Is ffmpeg installed? Required for streaming
- Is LAN Mode enabled? Required for camera access
- Running in Docker? Try
network_mode: hostif having issues
Docker: Camera Not Working¶
If camera streaming doesn't work in Docker, try host network mode:
# docker-compose.yml
services:
bambuddy:
build: .
network_mode: host
# Remove the ports: section when using host mode
Note: Docker's default bridge networking with NAT works in most setups. Host mode is only needed if your network configuration prevents NAT'd traffic from reaching the printer.
Stream Freezes¶
- Network congestion or WiFi issues
- Try lowering the FPS
- Check printer WiFi signal strength
- Try snapshot mode instead
High Latency¶
MJPEG streaming typically has 1-3 seconds of latency. This is normal and due to:
- RTSP buffering
- ffmpeg processing
- HTTP streaming
Camera Shows Black¶
- Camera may be initializing
- Try refreshing the stream
- Check if camera works in Bambu Studio
API Endpoints¶
For developers and integrations:
| Endpoint | Method | Description |
|---|---|---|
/api/v1/printers/{id}/camera/stream | GET | MJPEG stream |
/api/v1/printers/{id}/camera/snapshot | GET | Single JPEG frame |
/api/v1/printers/{id}/camera/stop | POST | Stop active streams |
/api/v1/printers/{id}/camera/test | GET | Test camera connection |
Example: Embed in OBS¶
Use the stream URL directly:
Add as a Browser Source or Media Source in OBS.
Tips¶
Timelapse Alternative
While Bambuddy shows live video, the printer itself creates actual timelapses. Access timelapse videos through the archive after print completion.
Multiple Cameras
Open multiple camera windows for different printers to monitor your entire print farm.
Mobile Viewing
Camera streaming works on mobile devices too. Access from the printer card camera icon.
Bandwidth Conservation
Close camera windows when not actively watching to save server resources and bandwidth.