Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review #103

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Review #103

wants to merge 11 commits into from

Conversation

KristjanESPERANTO
Copy link

I know you don't use the module anymore, but I still find it useful 馃檪 I took a look at the code and have some suggestions for changes.

There are no functional changes, just optimizations like formatting, typos and dependency updates.

Notes:

  1. I would like to remove omxplayer since it is deprecated, but that would be too much for this PR. Maybe I'll do that with a later PR.
  2. By the way, the configuration helper is great. It is very nicely implemented. Although I would also like to get rid of the jquery dependency.

@shbatm
Copy link
Owner

shbatm commented Nov 22, 2023

Thanks, I'll try to take a look over the holidays.

@KristjanESPERANTO
Copy link
Author

@shbatm: About which holidays are you talking about? 馃槄

Copy link
Owner

@shbatm shbatm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting updates all look good. Sorry it's taken me so long to getting around to review this, life got in the way.

I fully agree with removing OMXPlayer. The config helper was nice to have to simplify the number of questions I was having to answer just for setup--it was written as quick and easy as I could, so jquery was the shortcut, but if you want to take the time or find a better framework go for it.

If you're going to try to keep maintaining, you can update the README to reflect that--it still shows it not being maintained.

I do think long term the WebRTC support is going to be the best option for most people. For my current set-up I'm using an embedded Home Assistant dashboard for most of my Mirror, and really only using a couple simple modules; mostly using the MM backend and frontend combo for automating the mirror as a browser--that being said, I don't have much capacity for testing this anymore--I can review the code, but function tests aren't possible.

> - I am no longer using this module on my own mirror. After several years, I found that I use the snapshots much more frequently than I streamed the actual cameras, which can be performed by much simpler modules and methods. To enable streaming, WebRTC (like [MMM-HomeAssistant-WebRTC](https://github.com/Anonym-tsk/MMM-HomeAssistant-WebRTC)) is a newer and better standard with much lower server overhead and latency for delivering RTSP Streams to the frontend than any of the options used here, in the future, this will be the method I focus on and I will not try to shoehorn another technology into this module.
> - Update 5-Oct-2022: See alternative module [MMM-RTSPtoWeb](https://github.com/shbatm/MMM-RTSPtoWeb) for a drastically simplified module relying on WebRTC and a backend server.
>
> - I am no longer using this module on my own mirror. After several years, I found that I use the snapshots much more frequently than I streamed the actual cameras, which can be performed by much simpler modules and methods. To enable streaming, WebRTC (like [MMM-HomeAssistant-WebRTC](https://github.com/Anonym-tsk/MMM-HomeAssistant-WebRTC)) is a newer and better standard with much lower server overhead and latency for delivering RTSP Streams to the frontend than any of the options used here, in the future, this will be the method I focus on and I will not try to shoehorn another technology into this module.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to update this if you're going to be maintaining further. Also, you can remove the next line about RTSPtoWeb, I'm not going to maintain that repo further.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to update this if you're going to be maintaining further.

I'm still experimenting with RTSP streams, so the module is still relevant for me. I wouldn't want to take over the module, but I can try to keep it compatible with new versions of MM. If it's okay with you that I might create a PR from time to time? I would therefore leave your comment as it is for now.

Also, you can remove the next line about RTSPtoWeb, I'm not going to maintain that repo further.

Okay, I just removed the reference to MMM-RTSPtoWeb. Would you also like to write a note in the repository that you are no longer maintaining it?

@KristjanESPERANTO
Copy link
Author

Thank you for the detailed answer 馃檪

I fully agree with removing OMXPlayer.

I'll put that and jquery on my long to-do list 馃檪

If you're going to try to keep maintaining, you can update the README to reflect that--it still shows it not being maintained.

At the moment I would not want to change the status as it is in the README ("I will accept PRs and leave the repo active"). I might check the issues from time to time and make a few small changes, but I don't want to make any promises 馃檪

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.

None yet

2 participants