Skip to content

Ability to set ustreamer host on config file #34

Description

@leandrotoledo

Is your feature request related to a problem? Please describe

In addition to use the cameras on Mainsail, I also have them set up behind a reverse proxy that is in different server, therefore the ustream instance should accept connections from 0.0.0.0 but currently it's hardcoded to 127.0.0.1 at launch.

It would be convenient if that's an option on crowsnest.conf.

Thoughts?

Describe the solution you'd like

--- a/libs/ustreamer.sh
+++ b/libs/ustreamer.sh
-    start_param=( --host 127.0.0.1 -p "${pt}" )
+    start_param=( --host "${host}" -p "${pt}" )

Describe alternatives you've considered

I have tried to overload custom_flags: --host 0.0.0.0 but it executes with ustream ... --host 127.0.0.1 --host 0.0.0.0, so it's not a very elegant solution.

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions