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
9e406ba7
Commit
9e406ba7
authored
Sep 19, 2008
by
Sebastien Escudier
Committed by
Rémi Denis-Courmont
Sep 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rtp default ttl value
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
c46a622a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+4
-4
No files found.
modules/stream_out/rtp.c
View file @
9e406ba7
...
...
@@ -118,7 +118,7 @@
#define TTL_TEXT N_("Hop limit (TTL)")
#define TTL_LONGTEXT N_( \
"This is the hop limit (also known as \"Time-To-Live\" or TTL) of " \
"the multicast packets sent by the stream output (
0
= use operating " \
"the multicast packets sent by the stream output (
-1
= use operating " \
"system built-in default).")
#define RTCP_MUX_TEXT N_("RTP/RTCP multiplexing")
...
...
@@ -196,7 +196,7 @@ vlc_module_begin();
add_integer
(
SOUT_CFG_PREFIX
"port-video"
,
50002
,
NULL
,
PORT_VIDEO_TEXT
,
PORT_VIDEO_LONGTEXT
,
true
);
add_integer
(
SOUT_CFG_PREFIX
"ttl"
,
0
,
NULL
,
TTL_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"ttl"
,
-
1
,
NULL
,
TTL_TEXT
,
TTL_LONGTEXT
,
true
);
add_bool
(
SOUT_CFG_PREFIX
"rtcp-mux"
,
false
,
NULL
,
RTCP_MUX_TEXT
,
RTCP_MUX_LONGTEXT
,
false
);
...
...
@@ -429,7 +429,7 @@ static int Open( vlc_object_t *p_this )
}
p_sys
->
i_ttl
=
var_GetInteger
(
p_stream
,
SOUT_CFG_PREFIX
"ttl"
);
if
(
p_sys
->
i_ttl
==
0
)
if
(
p_sys
->
i_ttl
==
-
1
)
{
/* Normally, we should let the default hop limit up to the core,
* but we have to know it to build our SDP properly, which is why
...
...
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