Skip to content

Commit

Permalink
Update signaling_server.py (#136)
Browse files Browse the repository at this point in the history
* Update signaling_server.py

* Update VERSION

* Fix StreamClientTests
  • Loading branch information
mamaheux authored Jan 8, 2024
1 parent 8b5cefe commit b1d91db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ class StreamClientTests : public ::testing::TestWithParam<StreamClientTestsParam
"signaling-server" / "opentera-signaling-server";

m_signalingServerProcess = make_unique<subprocess::Popen>(
"python3 " + pythonFilePath.string() + " --port 8080 --password abc --socketio_path thepath",
"python3 " + pythonFilePath.string() + " --port 8080 --password abc",
subprocess::input(subprocess::PIPE));

m_signalingServerProcessTLS = make_unique<subprocess::Popen>(
"python3 " + pythonFilePath.string() +
" --port 8081 --password abc --socketio_path thepath"
" --port 8081 --password abc"
" --certificate resources/cert.pem --key resources/key.pem",
subprocess::input(subprocess::PIPE));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ class Args:
password: str
ice_servers: Path
static_folder: Path
socketio_path: str
certificate: Path
key: Path
log_level: int
Expand All @@ -256,7 +255,6 @@ def main():
parser.add_argument('--password', type=str, help='Choose the password', default=None)
parser.add_argument('--ice_servers', type=ExpandUserPath, help='Choose the ice servers json file', default=None)
parser.add_argument('--static_folder', type=ExpandUserPath, help='Choose the static folder', default=None)
parser.add_argument('--socketio_path', type=str, help='Choose the socketio path', default='socket.io')
parser.add_argument('--certificate', type=ExpandUserPath, help='TLS certificate path', default=None)
parser.add_argument('--key', type=ExpandUserPath, help='TLS private key path', default=None)
parser.add_argument('--log_level', type=int, choices=[logging.CRITICAL, logging.ERROR,
Expand Down

0 comments on commit b1d91db

Please sign in to comment.