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
dffddfae
Commit
dffddfae
authored
Feb 09, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove use SAP/TTL cruft
parent
caf669c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
include/vlc_sout.h
include/vlc_sout.h
+0
-1
modules/stream_out/standard.c
modules/stream_out/standard.c
+0
-1
src/stream_output/sap.c
src/stream_output/sap.c
+1
-3
No files found.
include/vlc_sout.h
View file @
dffddfae
...
...
@@ -216,7 +216,6 @@ struct session_descriptor_t
char
*
psz_name
;
char
*
psz_uri
;
int
i_port
;
int
i_ttl
;
int
i_payload
;
/* SAP Payload type */
char
*
psz_group
;
...
...
modules/stream_out/standard.c
View file @
dffddfae
...
...
@@ -345,7 +345,6 @@ static int Open( vlc_object_t *p_this )
p_session
->
psz_uri
=
strdup
(
url
.
psz_host
);
p_session
->
i_port
=
url
.
i_port
;
p_session
->
psz_sdp
=
NULL
;
p_session
->
i_ttl
=
var_CreateGetInteger
(
p_access
,
"ttl"
);
p_session
->
i_payload
=
33
;
p_session
->
b_rtp
=
strstr
(
psz_access
,
"rtp"
)
?
1
:
0
;
...
...
src/stream_output/sap.c
View file @
dffddfae
...
...
@@ -632,12 +632,11 @@ static char *SDPGenerate( sap_handler_t *p_sap,
return
NULL
;
}
/* see the lists in modules/stream_out/rtp.c for compliance stuff */
int
res
=
asprintf
(
&
psz_sdp
,
"v=0
\r\n
"
"o=- "
I64Fd
" %d IN IP%c %s
\r\n
"
"s=%s
\r\n
"
"c=IN IP%c %s/
%d
\r\n
"
"c=IN IP%c %s/
255
\r\n
"
"t=0 0
\r\n
"
"a=tool:"
PACKAGE_STRING
"
\r\n
"
"a=recvonly
\r\n
"
...
...
@@ -648,7 +647,6 @@ static char *SDPGenerate( sap_handler_t *p_sap,
i_sdp_id
,
i_sdp_version
,
ipv
,
p_addr
->
psz_machine
,
psz_name
,
ipv
,
psz_uri
,
(
p_session
->
i_ttl
!=
-
1
)
?
p_session
->
i_ttl
:
255
,
(
sfilter
!=
NULL
)
?
sfilter
:
""
,
p_session
->
i_port
,
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