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

Commit f7df3f9

Browse files
authored
v1.0.0: Rename input argument (#13)
1 parent f8a5291 commit f7df3f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ docker run \
2929
[-e RTSP_LISTEN_ADDRESS=your_listen_address] \
3030
[-e RTSP_PORT=your_port] -p your_port:your_port \
3131
[-e RTSP_PATH=your_path] \
32-
[-e RTSP_INPUT_STREAM=your_input_stream] \
32+
[-e RTSP_INPUT_FILE=your_input_file] \
3333
[-e RTSP_USERNAME=your_username] \
3434
[-e RTSP_PASSWORD=your_password] \
3535
[-e RTSP_RESOLUTION='your_width'x'your_height'] \
@@ -44,7 +44,7 @@ All of these options override the default parameters for CES
4444
* `your_listen_address`: The address you want your server to listen on [default: `0.0.0.0`]
4545
* `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_
4646
* `your_path`: The rtsp path at which you want your stream to be served [default: `/live.sdp`]
47-
* `your_input_stream`: The stream you want to broadcast using CES [default: none]
47+
* `your_input_file`: The video file you want to broadcast using CES [default: none]
4848
* `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]
4949
* `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]
5050
* `'your_width'x'your_height'`: The resolution at which you want to stream [default: `352x288`]

Diff for: src/server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void init(t_server *serv) {
5959
else
6060
serv->config->password = strdup("");
6161

62-
if (const char *input = std::getenv("RTSP_INPUT_STREAM"))
62+
if (const char *input = std::getenv("RTSP_INPUT_FILE"))
6363
serv->config->input = strdup(input);
6464
else
6565
serv->config->input = strdup("");

0 commit comments

Comments
 (0)