Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c1e371c8
Commit
c1e371c8
authored
Oct 04, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtp out: add glue code to set httpd configuration
parent
08bf5877
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+12
-4
No files found.
modules/stream_out/rtp.c
View file @
c1e371c8
...
...
@@ -719,16 +719,24 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url )
if
(
url
.
psz_host
!=
NULL
&&
*
url
.
psz_host
)
{
msg_Err
(
p_stream
,
"
\"
%s
\"
RTSP host ignored"
,
url
.
psz_host
);
/*
msg_Err( p_stream, "\"%s\" RTSP host ignored", url.psz_host );
msg_Info( p_stream, "Pass --rtsp-host=%s on the command line "
"instead."
,
url
.
psz_host
);
"instead.", url.psz_host ); */
var_Create
(
p_stream
,
"rtsp-host"
,
VLC_VAR_STRING
);
var_SetString
(
p_stream
,
"rtsp-host"
,
url
.
psz_host
);
}
if
(
url
.
i_port
!=
0
)
/*
if( url.i_port != 0 )
{
msg_Err( p_stream, "\"%u\" RTSP port ignored", url.i_port );
msg_Info( p_stream, "Pass --rtsp-port=%u on the command line "
"instead.", url.i_port );
}
} */
if
(
url
.
i_port
<=
0
)
url
.
i_port
=
554
;
var_Create
(
p_stream
,
"rtsp-port"
,
VLC_VAR_INTEGER
);
var_SetInteger
(
p_stream
,
"rtsp-port"
,
url
.
i_port
);
p_sys
->
rtsp
=
RtspSetup
(
VLC_OBJECT
(
p_stream
),
NULL
,
url
.
psz_path
);
if
(
p_sys
->
rtsp
==
NULL
)
msg_Err
(
p_stream
,
"cannot export SDP as RTSP"
);
...
...
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