Skip to content

Commit

Permalink
Use default rstp port
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Nov 14, 2022
1 parent 66c86f2 commit 314aa5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion res/gstplayer
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion res/test-viewer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ctl/sinkctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 314aa5a

Please sign in to comment.