Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9020d59c
Commit
9020d59c
authored
Nov 09, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix TTL in c= line
parent
267cd7f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
modules/stream_out/standard.c
modules/stream_out/standard.c
+1
-3
src/stream_output/sap.c
src/stream_output/sap.c
+1
-2
No files found.
modules/stream_out/standard.c
View file @
9020d59c
...
@@ -345,9 +345,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -345,9 +345,7 @@ static int Open( vlc_object_t *p_this )
p_session
->
psz_uri
=
strdup
(
url
.
psz_host
);
p_session
->
psz_uri
=
strdup
(
url
.
psz_host
);
p_session
->
i_port
=
url
.
i_port
;
p_session
->
i_port
=
url
.
i_port
;
p_session
->
psz_sdp
=
NULL
;
p_session
->
psz_sdp
=
NULL
;
p_session
->
i_ttl
=
var_CreateGetInteger
(
p_access
,
"ttl"
);
var_Get
(
p_access
,
"sout-udp-ttl"
,
&
val
);
p_session
->
i_ttl
=
val
.
i_int
;
p_session
->
i_payload
=
33
;
p_session
->
i_payload
=
33
;
p_session
->
b_rtp
=
strstr
(
psz_access
,
"rtp"
)
?
1
:
0
;
p_session
->
b_rtp
=
strstr
(
psz_access
,
"rtp"
)
?
1
:
0
;
...
...
src/stream_output/sap.c
View file @
9020d59c
...
@@ -630,8 +630,7 @@ static char *SDPGenerate( sap_handler_t *p_sap,
...
@@ -630,8 +630,7 @@ static char *SDPGenerate( sap_handler_t *p_sap,
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 */
(
p_session
->
i_ttl
!=
-
1
)
?
p_session
->
i_ttl
:
255
,
p_session
->
i_ttl
?:
(
config_GetInt
(
p_sap
,
"ttl"
)
?:
1
),
ipv
,
p_addr
->
psz_machine
,
ipv
,
p_addr
->
psz_machine
,
p_session
->
i_port
,
p_session
->
i_port
,
p_session
->
b_rtp
?
"RTP/AVP"
:
"udp"
,
p_session
->
b_rtp
?
"RTP/AVP"
:
"udp"
,
...
...
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