Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
v1.0.0: Rename input argument (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ullaakut authored May 11, 2017
1 parent f8a5291 commit f7df3f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ docker run \
[-e RTSP_LISTEN_ADDRESS=your_listen_address] \
[-e RTSP_PORT=your_port] -p your_port:your_port \
[-e RTSP_PATH=your_path] \
[-e RTSP_INPUT_STREAM=your_input_stream] \
[-e RTSP_INPUT_FILE=your_input_file] \
[-e RTSP_USERNAME=your_username] \
[-e RTSP_PASSWORD=your_password] \
[-e RTSP_RESOLUTION='your_width'x'your_height'] \
Expand All @@ -44,7 +44,7 @@ All of these options override the default parameters for CES
* `your_listen_address`: The address you want your server to listen on [default: `0.0.0.0`]
* `your_port`: The port that you want your server to listen on [default: `8554`] _Don't forget to also expose the port in your container with the -p option like in the example above_
* `your_path`: The rtsp path at which you want your stream to be served [default: `/live.sdp`]
* `your_input_stream`: The stream you want to broadcast using CES [default: none]
* `your_input_file`: The video file you want to broadcast using CES [default: none]
* `your_username`: If you want to enable security on your stream, using this option will allow you to specify the username required to access your stream [default: none]
* `your_password`: If you want to enable security on your stream, using this option will allow you to specify the password required to access your stream [default: none]
* `'your_width'x'your_height'`: The resolution at which you want to stream [default: `352x288`]
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void init(t_server *serv) {
else
serv->config->password = strdup("");

if (const char *input = std::getenv("RTSP_INPUT_STREAM"))
if (const char *input = std::getenv("RTSP_INPUT_FILE"))
serv->config->input = strdup(input);
else
serv->config->input = strdup("");
Expand Down

0 comments on commit f7df3f9

Please sign in to comment.