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
7ee198c4
Commit
7ee198c4
authored
Feb 10, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partial support for COMEDIA in SAP announcer
parent
7da44adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/stream_output/sap.c
src/stream_output/sap.c
+8
-1
No files found.
src/stream_output/sap.c
View file @
7ee198c4
...
...
@@ -624,11 +624,18 @@ static char *SDPGenerate( sap_handler_t *p_sap,
#endif
sfilter
=
NULL
;
int
res
=
asprintf
(
&
psz_sdp
,
"%s"
"%s"
"%s"
const
char
*
comedia
=
NULL
;
if
(
!
strncasecmp
(
p_session
->
sdpformat
,
"DCCP"
,
4
)
||
!
strncasecmp
(
p_session
->
sdpformat
,
"TCP"
,
3
))
comedia
=
"a=setup:passive
\r\n
"
"a=connection:new
\r\n
"
;
int
res
=
asprintf
(
&
psz_sdp
,
"%s"
"%s"
"%s"
"%s"
"m=video %d %s
\r\n
"
,
head
,
plgroup
?:
""
,
sfilter
?:
""
,
comedia
?:
""
,
net_GetPort
((
const
struct
sockaddr
*
)
&
p_session
->
addr
),
p_session
->
sdpformat
);
free
(
plgroup
);
...
...
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