SeanPesce/Suear-Web-Viewer
Acerca de
Utility to convert Suear device video streams to MJPEG for live viewing in web browsers, VLC, etc.
Diseño y multimediaCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalMJPEG Mirror for Suear "Smart" Ear Cleaners
Author: Sean Pesce
Overview
A utility for converting Suear "smart" earwax cleaner video streams to MJPEG for general-purpose use.
NOTE: This tool has only been tested with the LEIPUT X6, but it should work for any product that uses libWifiCamera.so and/or the Suear mobile app (com.i4season.bkCamera - Google Play/iOS/Direct APK download) for video streaming in its client implementation. Relevant brands likely include:
- AIDELF
- BEBIRD
- Carenart
- COSLUS
- DEETOK
- DJROLL
- Fyobyye
- Girug
- Hasako
- Jaydear
- Kolrry
- LEIPUT
- Loyker
- RILIAM
- ROOZADE
- SKFMA
- WXGTAC
- Xlife
- Yaej
- YEOUEOZ
...and many, many more. Search for "Suear" on Amazon for more examples.
Usage
- Power on the Suear device
- Connect to the Suear WiFi
- Start the stream mirror:
python3 suear_mirror.py --no-ssl
With the stream mirror running, you can view the live video in a number of ways:
- In a web browser; navigate to
http://127.0.0.1:45100 - In VLC (GUI); go to Media→Open Network Stream..., set the URL to
http://127.0.0.1:45100/stream, and then click Play - In VLC (command-line); run
vlc http://127.0.0.1:45100/stream - With ffmpeg; run
ffplay -i http://127.0.0.1:45100/stream
SSL/TLS
The video stream can also be transported over TLS for security. This document won't walk you through setting up your own PKI, but the following command will generate a key pair for encrypting traffic with TLS:
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out cert.crt -keyout private.key
To start the stream mirror over HTTPS, specify the TLS key pair in the shell command:
python3 suear_mirror.py cert.crt private.key
The HTTPS stream will then be accessible at https://127.0.0.1:45100/stream.
Contact
If you find any bugs, please open a new GitHub issue.
Related Projects
- Spade Web Viewer, a similar project for the Axel Glade Spade brand of "smart" earwax cleaners.
Acknowledgements
- Damien Corpataux, whose MJPEG implementation was used as a reference for this project.
License
GNU General Public License v2.0
For unrelated inquiries and/or information about me, visit my personal website.
Explorar proyectos relacionados
Cargando…