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
b78ed59b
Commit
b78ed59b
authored
Nov 19, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trigger intf_UserLoginPassword() when authorization of rtsp link failed while using --rtsp-http.
parent
7dbead87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/demux/live555.cpp
modules/demux/live555.cpp
+4
-2
No files found.
modules/demux/live555.cpp
View file @
b78ed59b
...
...
@@ -478,6 +478,7 @@ createnew:
psz_pwd
=
var_CreateGetString
(
p_demux
,
"rtsp-pwd"
);
}
describe:
authenticator
.
setUsernameAndPassword
(
(
const
char
*
)
psz_user
,
(
const
char
*
)
psz_pwd
);
...
...
@@ -485,7 +486,6 @@ createnew:
&
authenticator
);
if
(
psz_options
)
delete
[]
psz_options
;
describe:
p_sdp
=
p_sys
->
rtsp
->
describeURL
(
psz_url
,
&
authenticator
,
var_CreateGetBool
(
p_demux
,
"rtsp-kasenna"
)
);
...
...
@@ -499,7 +499,9 @@ describe:
const
char
*
psz_error
=
p_sys
->
env
->
getResultMsg
();
msg_Dbg
(
p_demux
,
"DESCRIBE failed with %d: %s"
,
i_code
,
psz_error
);
sscanf
(
psz_error
,
"%*sRTSP/%*s%3u"
,
&
i_code
);
if
(
var_CreateGetBool
(
p_demux
,
"rtsp-http"
)
)
sscanf
(
psz_error
,
"%*s %*s HTTP GET %*s HTTP/%*u.%*u %3u %*s"
,
&
i_code
);
else
sscanf
(
psz_error
,
"%*sRTSP/%*s%3u"
,
&
i_code
);
if
(
i_code
==
401
)
{
...
...
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