diff --git a/src/gst_signalling/utils.py b/src/gst_signalling/utils.py index 4b52a2a..e4c2fe1 100644 --- a/src/gst_signalling/utils.py +++ b/src/gst_signalling/utils.py @@ -59,7 +59,7 @@ def find_producer_peer_id_by_name(host: str, port: int, name: str) -> str: def add_signaling_arguments(parser: argparse.ArgumentParser) -> None: - """Adds command line arguments for GstSignalingForAiortc. + """Adds command line arguments for GstSignaling. * signaling-host: Hostname of the signalling server. * signaling-port: Port of the signalling server. @@ -70,7 +70,7 @@ def add_signaling_arguments(parser: argparse.ArgumentParser) -> None: parser.add_argument("--signaling-host", default="127.0.0.1", help="Gstreamer signaling host") parser.add_argument("--signaling-port", default=8443, help="Gstreamer signaling port") parser.add_argument("role", choices=["consumer", "producer"], help="Signaling role") - parser.add_argument("--name", default="aiortc-peer", help="peer name") + parser.add_argument("--name", default="my-name", help="peer name") parser.add_argument( "--remote-producer-peer-id", type=str, @@ -79,6 +79,6 @@ def add_signaling_arguments(parser: argparse.ArgumentParser) -> None: parser.add_argument( "--remote-producer-peer-name", type=str, - default="aiortc-peer", + default="remote-producer-peer-name", help="producer peer_name (in consumer role, either set this or remote-producer-peer-id!)", )