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
6bc91feb
Commit
6bc91feb
authored
Apr 29, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- live555: toggle TCP use when we receive a '461 Unsupported Transport' during SETUP request
parent
ab9ec249
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
modules/demux/live555.cpp
modules/demux/live555.cpp
+9
-3
No files found.
modules/demux/live555.cpp
View file @
6bc91feb
...
@@ -601,12 +601,18 @@ static int SessionsSetup( demux_t *p_demux )
...
@@ -601,12 +601,18 @@ static int SessionsSetup( demux_t *p_demux )
{
{
if
(
!
(
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
if
(
!
(
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
b_rtsp_tcp
?
True
:
False
)
)
)
b_rtsp_tcp
?
True
:
False
)
)
)
{
/* if we get an unsupported transport error, toggle TCP use and try again */
if
(
!
strstr
(
p_sys
->
env
->
getResultMsg
(),
"461 Unsupported Transport"
)
||
!
(
p_sys
->
rtsp
->
setupMediaSubsession
(
*
sub
,
False
,
b_rtsp_tcp
?
False
:
True
)
)
)
{
{
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
()
);
continue
;
continue
;
}
}
}
}
}
/* Check if we will receive data from this subsession for this track */
/* Check if we will receive data from this subsession for this track */
if
(
sub
->
readSource
()
==
NULL
)
continue
;
if
(
sub
->
readSource
()
==
NULL
)
continue
;
...
...
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