Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
97595a15
Commit
97595a15
authored
Jul 06, 2015
by
David R Robison
Committed by
Jean-Baptiste Kempf
Jul 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only use --rtsp-client-port when sending RTSP SETUP request
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
e710a62c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/access/live555.cpp
modules/access/live555.cpp
+7
-6
No files found.
modules/access/live555.cpp
View file @
97595a15
...
@@ -746,12 +746,6 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -746,12 +746,6 @@ static int SessionsSetup( demux_t *p_demux )
;
;
else
continue
;
else
continue
;
if
(
i_client_port
!=
-
1
)
{
sub
->
setClientPortNum
(
i_client_port
);
i_client_port
+=
2
;
}
if
(
strcasestr
(
sub
->
codecName
(),
"REAL"
)
)
if
(
strcasestr
(
sub
->
codecName
(),
"REAL"
)
)
{
{
msg_Info
(
p_demux
,
"real codec detected, using real-RTSP instead"
);
msg_Info
(
p_demux
,
"real codec detected, using real-RTSP instead"
);
...
@@ -789,6 +783,13 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -789,6 +783,13 @@ static int SessionsSetup( demux_t *p_demux )
/* Issue the SETUP */
/* Issue the SETUP */
if
(
p_sys
->
rtsp
)
if
(
p_sys
->
rtsp
)
{
{
if
(
i_client_port
!=
-
1
)
{
sub
->
setClientPortNum
(
i_client_port
);
i_client_port
+=
2
;
}
p_sys
->
rtsp
->
sendSetupCommand
(
*
sub
,
default_live555_callback
,
False
,
p_sys
->
rtsp
->
sendSetupCommand
(
*
sub
,
default_live555_callback
,
False
,
toBool
(
b_rtsp_tcp
),
toBool
(
b_rtsp_tcp
),
toBool
(
p_sys
->
b_force_mcast
&&
!
b_rtsp_tcp
)
);
toBool
(
p_sys
->
b_force_mcast
&&
!
b_rtsp_tcp
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment