I have webcam and want to stream, also it would be great to detect motion and send notifications on email. But I found that mjpg-streamer is no longer supported. Besides, it raises an error when I try to edit config - some problem with /www/webserver/ catalog as I remember. And I could not fix it. Briefly it does not work for me. I want to use motion then, but it is also a bit outdated, as I understand. What package I must use? maybe there some modern ones?