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
7295811a
Commit
7295811a
authored
Jun 22, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning.
parent
194c86f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
modules/demux/live555.cpp
modules/demux/live555.cpp
+4
-8
No files found.
modules/demux/live555.cpp
View file @
7295811a
...
...
@@ -243,7 +243,7 @@ static int Open ( vlc_object_t *p_this )
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
NULL
;
int
i
,
i
_return
;
int
i_return
;
int
i_error
=
VLC_EGENERIC
;
if
(
p_demux
->
s
)
...
...
@@ -518,13 +518,11 @@ createnew:
}
describe:
authenticator
.
setUsernameAndPassword
(
(
const
char
*
)
psz_user
,
(
const
char
*
)
psz_pwd
);
authenticator
.
setUsernameAndPassword
(
psz_user
,
psz_pwd
);
/* */
const
int
i_timeout
=
var_CreateGetInteger
(
p_demux
,
"ipv4-timeout"
)
/
1000
;
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1223337600
const
int
i_timeout
=
var_CreateGetInteger
(
p_demux
,
"ipv4-timeout"
)
/
1000
;
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
,
psz_user
,
psz_pwd
,
&
authenticator
,
i_timeout
);
#else
...
...
@@ -599,10 +597,8 @@ describe:
else
if
(
(
i_code
!=
0
)
&&
!
var_GetBool
(
p_demux
,
"rtsp-http"
)
)
{
/* Perhaps a firewall is being annoying. Try HTTP tunneling mode */
vlc_value_t
val
;
val
.
b_bool
=
true
;
msg_Dbg
(
p_demux
,
"we will now try HTTP tunneling mode"
);
var_Set
(
p_demux
,
"rtsp-http"
,
val
);
var_Set
Bool
(
p_demux
,
"rtsp-http"
,
true
);
if
(
p_sys
->
rtsp
)
RTSPClient
::
close
(
p_sys
->
rtsp
);
p_sys
->
rtsp
=
NULL
;
goto
createnew
;
...
...
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