Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e78762a8
Commit
e78762a8
authored
Sep 08, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
5dfdcf24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+8
-5
No files found.
modules/stream_out/rtp.c
View file @
e78762a8
...
...
@@ -604,7 +604,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, char *psz_url )
goto
out
;
}
/* FIXME test if destination is multicast or no destination at all
FIXME
*/
/* FIXME test if destination is multicast or no destination at all */
p_sys
->
rtsp
=
RtspSetup
(
p_stream
,
&
url
);
if
(
p_sys
->
rtsp
==
NULL
)
{
...
...
@@ -699,7 +699,7 @@ char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url )
sizeof
(
"i=*
\r\n
"
)
+
strlen
(
p_sys
->
psz_session_description
)
+
sizeof
(
"u=*
\r\n
"
)
+
strlen
(
p_sys
->
psz_session_url
)
+
sizeof
(
"e=*
\r\n
"
)
+
strlen
(
p_sys
->
psz_session_email
)
+
sizeof
(
"t=0 0
\r\n
"
)
+
/* permanent stream */
/* when scheduled from vlm, we should set this info correctly */
sizeof
(
"t=0 0
\r\n
"
)
+
sizeof
(
"b=RR:0
\r\n
"
)
+
sizeof
(
"a=tool:"
PACKAGE_STRING
"
\r\n
"
)
+
sizeof
(
"a=recvonly
\r\n
"
)
+
...
...
@@ -745,7 +745,8 @@ char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url )
if
(
*
p_sys
->
psz_session_email
)
p
+=
sprintf
(
p
,
"e=%s
\r\n
"
,
p_sys
->
psz_session_email
);
p
+=
sprintf
(
p
,
"t=0 0
\r\n
"
);
/* permanent stream */
/* when scheduled from vlm, we should set this info correctly */
p
+=
sprintf
(
p
,
"t=0 0
\r\n
"
);
/* permanent stream */
/* when scheduled from vlm, we should set this info correctly */
p
+=
sprintf
(
p
,
"a=tool:"
PACKAGE_STRING
"
\r\n
"
);
p
+=
sprintf
(
p
,
"a=recvonly
\r\n
"
);
p
+=
sprintf
(
p
,
"a=type:broadcast
\r\n
"
);
...
...
@@ -853,7 +854,8 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
}
while
(
i_port
==
0
)
{
if
(
p_sys
->
i_port
!=
p_sys
->
i_port_audio
&&
p_sys
->
i_port
!=
p_sys
->
i_port_video
)
if
(
p_sys
->
i_port
!=
p_sys
->
i_port_audio
&&
p_sys
->
i_port
!=
p_sys
->
i_port_video
)
{
i_port
=
p_sys
->
i_port
;
p_sys
->
i_port
+=
2
;
...
...
@@ -1256,7 +1258,8 @@ static int HttpSetup( sout_stream_t *p_stream, vlc_url_t *url)
{
sout_stream_sys_t
*
p_sys
=
p_stream
->
p_sys
;
p_sys
->
p_httpd_host
=
httpd_HostNew
(
VLC_OBJECT
(
p_stream
),
url
->
psz_host
,
url
->
i_port
>
0
?
url
->
i_port
:
80
);
p_sys
->
p_httpd_host
=
httpd_HostNew
(
VLC_OBJECT
(
p_stream
),
url
->
psz_host
,
url
->
i_port
>
0
?
url
->
i_port
:
80
);
if
(
p_sys
->
p_httpd_host
)
{
p_sys
->
p_httpd_file
=
httpd_FileNew
(
p_sys
->
p_httpd_host
,
...
...
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