Skip to content

Add mjpeg support and fix#2

Open
guanana wants to merge 2 commits intocodeperfectplus:mainfrom
guanana:add-mjpeg-support-and-fix
Open

Add mjpeg support and fix#2
guanana wants to merge 2 commits intocodeperfectplus:mainfrom
guanana:add-mjpeg-support-and-fix

Conversation

@guanana
Copy link

@guanana guanana commented Jan 30, 2026

Hi 👋
Your work looks cool. I'm a dad-to-be so I started looking into projects like yours.

I started trying to broadcast video from an old smartphone (and it wasn't using RTSP) so I was looking into putting something like mediamtx + ffmpeg but it was "messy" and laggy. I decided to implement support for MJPEG directly on the app.

PR changes:

  • Add MJPEG support (HTTP and HTTPS service with self-signed cert)
  • Improve performance when no tapo camera is connected (when no tapo was connected the connection hanged trying to lock controls, presets, etc)
  • Fix no stream in dashboard when no Tapo connected
  • Overall performance issues improvement (run with less resources)

I may have broken something related specifically with Tapo (since I don't have a camera to test) but I was able to test successfully stream connection with HTTP/HTTPS/HTTPS-SelfSigned/HTTPS+Password/RTSP

I'm planning on trying to adapt a bit more the project to my specific needs but I don't know if it's the same direction you want to take (or if you want to continue supporting the project). Feel free to suggest changes or reject PR if not what you expect 👋

guanana added 2 commits January 30, 2026 00:17
… replacing `RTSPReader` with a new `VideoReader`.
… add streaming API, and introduce WebSocket client tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant