Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ef4da627
Commit
ef4da627
authored
Jul 21, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live555: Fix fallback case for unsupported transport.
This was broken by [
175310ff
] which introduced "forced mcast".
parent
e54f5023
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/demux/live555.cpp
modules/demux/live555.cpp
+4
-7
No files found.
modules/demux/live555.cpp
View file @
ef4da627
...
@@ -723,18 +723,15 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -723,18 +723,15 @@ static int SessionsSetup( demux_t *p_demux )
/* Issue the SETUP */
/* Issue the SETUP */
if
(
p_sys
->
rtsp
)
if
(
p_sys
->
rtsp
)
{
{
bool
tcp
=
b_rtsp_tcp
;
bool
mcast
=
p_sys
->
b_force_mcast
;
if
(
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
if
(
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
tcp
?
True
:
False
,
b_rtsp_
tcp
?
True
:
False
,
(
mcast
&&
!
tcp
)
?
True
:
False
)
)
(
p_sys
->
b_force_mcast
&&
!
b_rtsp_
tcp
)
?
True
:
False
)
)
{
{
tcp
=
!
tcp
;
/* if we get an unsupported transport error, toggle TCP use and try again */
/* if we get an unsupported transport error, toggle TCP use and try again */
if
(
!
strstr
(
p_sys
->
env
->
getResultMsg
(),
"461 Unsupported Transport"
)
if
(
!
strstr
(
p_sys
->
env
->
getResultMsg
(),
"461 Unsupported Transport"
)
||
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
||
!
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
tcp
?
False
:
True
,
!
b_rtsp_
tcp
?
False
:
True
,
(
mcast
&&
!
tcp
)
?
True
:
False
)
)
False
)
)
{
{
msg_Err
(
p_demux
,
"SETUP of'%s/%s' failed %s"
,
sub
->
mediumName
(),
msg_Err
(
p_demux
,
"SETUP of'%s/%s' failed %s"
,
sub
->
mediumName
(),
sub
->
codecName
(),
p_sys
->
env
->
getResultMsg
()
);
sub
->
codecName
(),
p_sys
->
env
->
getResultMsg
()
);
...
...
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