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
93020752
Commit
93020752
authored
Sep 08, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SDP line ordering (closes #716)
parent
68b76a9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
modules/misc/rtsp.c
modules/misc/rtsp.c
+2
-2
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+4
-6
No files found.
modules/misc/rtsp.c
View file @
93020752
...
@@ -1283,10 +1283,10 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
...
@@ -1283,10 +1283,10 @@ static char *SDPGenerate( const vod_media_t *p_media, httpd_client_t *cl )
if
(
*
p_media
->
psz_session_email
)
if
(
*
p_media
->
psz_session_email
)
p
+=
sprintf
(
p
,
"e=%s
\r\n
"
,
p_media
->
psz_session_email
);
p
+=
sprintf
(
p
,
"e=%s
\r\n
"
,
p_media
->
psz_session_email
);
p
+=
sprintf
(
p
,
"
t=0 0
\r\n
"
);
/* FIXME */
p
+=
sprintf
(
p
,
"
c=IN IP%c %s
\r\n
"
,
ipv
,
ipv
==
'6'
?
"::"
:
"0.0.0.0"
);
p
+=
sprintf
(
p
,
"a=tool:"
PACKAGE_STRING
"
\r\n
"
);
p
+=
sprintf
(
p
,
"a=tool:"
PACKAGE_STRING
"
\r\n
"
);
p
+=
sprintf
(
p
,
"t=0 0
\r\n
"
);
/* FIXME */
p
+=
sprintf
(
p
,
"c=IN IP%c %s
\r\n
"
,
ipv
,
ipv
==
'6'
?
"::"
:
"0.0.0.0"
);
if
(
p_media
->
i_length
>
0
)
if
(
p_media
->
i_length
>
0
)
{
{
...
...
modules/stream_out/rtp.c
View file @
93020752
...
@@ -524,14 +524,12 @@ static int Open( vlc_object_t *p_this )
...
@@ -524,14 +524,12 @@ static int Open( vlc_object_t *p_this )
}
}
/* create the SDP for a muxed stream (only once) */
/* create the SDP for a muxed stream (only once) */
/* FIXME http://www.faqs.org/rfcs/rfc
2327
.html
/* FIXME http://www.faqs.org/rfcs/rfc
4566
.html
All text fields should be UTF-8 encoded. Use global a:charset to announce this.
All text fields should be UTF-8 encoded. Use global a:charset to announce this.
o= - should be local username (no spaces allowed)
o= - should be local username (no spaces allowed)
o= time should be hashed with some other value to garantue uniqueness
o= time should be hashed with some other value to garantee uniqueness
o= we need IP6 support?
o= don't use the localhost address. use fully qualified domain name or IP4 address
o= don't use the localhost address. use fully qualified domain name or IP4 address
p= international phone number (pass via vars?)
p= international phone number (pass via vars?)
c= IP6 support
a= recvonly (missing)
a= recvonly (missing)
a= type:broadcast (missing)
a= type:broadcast (missing)
a= charset: (normally charset should be UTF-8, this can be used to override s= and i=)
a= charset: (normally charset should be UTF-8, this can be used to override s= and i=)
...
@@ -555,9 +553,9 @@ static int Open( vlc_object_t *p_this )
...
@@ -555,9 +553,9 @@ static int Open( vlc_object_t *p_this )
"i=%s
\r\n
"
"i=%s
\r\n
"
"u=%s
\r\n
"
"u=%s
\r\n
"
"e=%s
\r\n
"
"e=%s
\r\n
"
"t=0 0
\r\n
"
/* permanent stream */
/* when scheduled from vlm, we should set this info correctly */
"a=tool:"
PACKAGE_STRING
"
\r\n
"
"c=IN IP%c %s%s
\r\n
"
"c=IN IP%c %s%s
\r\n
"
"a=tool:"
PACKAGE_STRING
"
\r\n
"
"t=0 0
\r\n
"
/* permanent stream */
/* when scheduled from vlm, we should set this info correctly */
"m=video %d RTP/AVP %d
\r\n
"
"m=video %d RTP/AVP %d
\r\n
"
"a=rtpmap:%d %s
\r\n
"
,
"a=rtpmap:%d %s
\r\n
"
,
p_sys
->
i_sdp_id
,
p_sys
->
i_sdp_version
,
p_sys
->
i_sdp_id
,
p_sys
->
i_sdp_version
,
...
...
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