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
dfa82876
Commit
dfa82876
authored
Feb 27, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add missing Carriage Return
- Do not send TTL with IN IP6
parent
7371b5b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/stream_output/sap.c
src/stream_output/sap.c
+3
-4
No files found.
src/stream_output/sap.c
View file @
dfa82876
...
@@ -637,19 +637,18 @@ static char *SDPGenerate( sap_handler_t *p_sap,
...
@@ -637,19 +637,18 @@ static char *SDPGenerate( sap_handler_t *p_sap,
"v=0
\r\n
"
"v=0
\r\n
"
"o=- "
I64Fd
" %d IN IP%c %s
\r\n
"
"o=- "
I64Fd
" %d IN IP%c %s
\r\n
"
"s=%s
\r\n
"
"s=%s
\r\n
"
"c=IN IP%c %s
/%d
\r\n
"
"c=IN IP%c %s
%s
\r\n
"
"t=0 0
\r\n
"
"t=0 0
\r\n
"
"a=tool:"
PACKAGE_STRING
"
\r\n
"
"a=tool:"
PACKAGE_STRING
"
\r\n
"
"a=recvonly
\r\n
"
"a=recvonly
\r\n
"
"a=type:broadcast
\n
"
"a=type:broadcast
\
r\
n
"
"%s"
"%s"
"%s%s%s"
"%s%s%s"
"m=video %d %s %d
\r\n
"
,
"m=video %d %s %d
\r\n
"
,
i_sdp_id
,
i_sdp_version
,
i_sdp_id
,
i_sdp_version
,
ipv
,
p_addr
->
psz_machine
,
ipv
,
p_addr
->
psz_machine
,
psz_name
,
ipv
,
psz_uri
,
psz_name
,
ipv
,
psz_uri
,
/* FIXME: 1 is IPv4 default TTL, not that of IPv6 */
(
ipv
==
4
)
?
"/255"
:
""
,
p_session
->
i_ttl
?:
(
config_GetInt
(
p_sap
,
"ttl"
)
?:
1
),
(
sfilter
!=
NULL
)
?
sfilter
:
""
,
(
sfilter
!=
NULL
)
?
sfilter
:
""
,
psz_group
?
"a=x-plgroup:"
:
""
,
psz_group
?
"a=x-plgroup:"
:
""
,
psz_group
?
psz_group
:
""
,
psz_group
?
"
\r\n
"
:
""
,
psz_group
?
psz_group
:
""
,
psz_group
?
"
\r\n
"
:
""
,
...
...
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