1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 13:31:54 +00:00

Use default rstp port

This commit is contained in:
Alberto Fanjul 2022-11-09 00:12:03 +01:00
parent 66c86f2971
commit 314aa5aed5
3 changed files with 3 additions and 3 deletions

View file

@ -204,7 +204,7 @@ if __name__ == '__main__':
parser.add_argument("uri", nargs="?", help="Uri to play")
parser.add_argument("-v", "--version", help="Show package version")
parser.add_argument("--log-level", metavar="lvl", help="Maximum level for log messages")
parser.add_argument("-p", "--port", type=int, default=1991, help="Port for rtsp")
parser.add_argument("-p", "--port", type=int, default=7236, help="Port for rtsp")
parser.add_argument("-a", "--audio", dest="audio", action="store_true", help="Enable audio support")
parser.add_argument("-s", "--scale", metavar="WxH", help="Scale to resolution")
parser.add_argument("-d", "--debug", help="Debug")

View file

@ -35,7 +35,7 @@ Try installing packages "gst-plugins-bad, gst-plugins-base, gst-plugins-base-lib
If that fails too, try:
$ vlc rtp://@:1991
$ vlc rtp://@:7236
EOF
else

View file

@ -69,7 +69,7 @@ void launch_player(struct ctl_sink *s);
char *gst_scale_res;
int gst_audio_en = 1;
static const int DEFAULT_RSTP_PORT = 1991;
static const int DEFAULT_RSTP_PORT = 7236;
bool uibc_option;
bool uibc_enabled;
bool external_player;