Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d02fbdb8
Commit
d02fbdb8
authored
Feb 11, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle TTL in SDP properly (IPv4 at least) for raw UDP (closes #404)
parent
cae770e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/stream_out/standard.c
modules/stream_out/standard.c
+1
-2
src/stream_output/sap.c
src/stream_output/sap.c
+3
-1
No files found.
modules/stream_out/standard.c
View file @
d02fbdb8
...
...
@@ -353,8 +353,7 @@ static int Open( vlc_object_t *p_this )
p_session
->
psz_sdp
=
NULL
;
var_Get
(
p_access
,
"sout-udp-ttl"
,
&
val
);
p_session
->
i_ttl
=
val
.
i_int
?
val
.
i_int
:
config_GetInt
(
p_sout
,
"ttl"
);
p_session
->
i_ttl
=
val
.
i_int
;
p_session
->
i_payload
=
33
;
p_session
->
b_rtp
=
strstr
(
psz_access
,
"rtp"
)
?
1
:
0
;
...
...
src/stream_output/sap.c
View file @
d02fbdb8
...
...
@@ -616,7 +616,9 @@ static char *SDPGenerate( sap_handler_t *p_sap,
"%s%s%s"
,
i_sdp_id
,
i_sdp_version
,
ipv
,
p_addr
->
psz_machine
,
psz_name
,
ipv
,
psz_uri
,
p_session
->
i_ttl
,
psz_name
,
ipv
,
psz_uri
,
/* FIXME: 1 is IPv4 default TTL, not that of IPv6 */
p_session
->
i_ttl
?:
(
config_GetInt
(
p_sap
,
"ttl"
)
?:
1
),
p_session
->
i_port
,
p_session
->
b_rtp
?
"RTP/AVP"
:
"udp"
,
p_session
->
i_payload
,
...
...
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