Motion - Feature Request 2005x 05x 12x 041648

Feature Request: make http servers into one http server

Description

we could put webcam server and http control server running on the same port?

if client connect to example:

http://myhost:myport/webcam/0/

webcam server start sending MJPEG stream or something like it

with this we can run motion using only one TCP port on links that ISP just give one port this could make different

maybe a http dump server parse GET and POST http protocol and set if we will use webcam or http control....

that's the idea smile

-- RobertoSpadim - 12 May 2005

Follow up

Comments

No. I don't want to do that.

  1. It is complicated to do. It will add complexity and dependency to Motion. Motion runs each camera as a seperate thread and only the control thread is common and does nothing else than reading and writing to the global context structure.
  2. In a normal setup you do not want the control port to be public. If you get access to this you have access to running any command with the same user as Motion. It is very dangerous. I am not sure the current Motion authentication on the control port is strong enough to be exposed to the Internet.
  3. We do not want to build in a full web browser in Motion. It is complex enough already for the control interface. We want to keep a low footprint of Motion.

If you HAVE to serve everything to the public and only through port 80 serve the stream and control through Apache. It has been made strong over the past 20 years.

Use the MjpegProxyGrab C program that I made for this very purpose.

I believe I recommended the same solution to you for a similar problem.

Did you try it yet? It is easy to install and use.

-- KennethLavrsen - 24 May 2005
Topic revision: r2 - 24 May 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.