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
435e0f3e
Commit
435e0f3e
authored
Sep 21, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out the dccp-service-code stuff since we do not implement it
at the moment
parent
dd1dd6a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+5
-8
No files found.
modules/stream_out/rtp.c
View file @
435e0f3e
...
...
@@ -708,26 +708,20 @@ char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url )
sout_stream_id_t
*
id
=
p_sys
->
es
[
i
];
const
char
*
mime_major
;
/* major MIME type */
const
char
*
proto
=
"RTP/AVP"
;
/* protocol */
const
char
*
scode
;
/* DCCP service code */
switch
(
id
->
i_cat
)
{
case
VIDEO_ES
:
mime_major
=
"video"
;
scode
=
"SC:RTPV"
;
break
;
case
AUDIO_ES
:
mime_major
=
"audio"
;
scode
=
"SC:RTPA"
;
break
;
case
SPU_ES
:
mime_major
=
"text"
;
scode
=
"SC:RTPT"
;
break
;
default:
mime_major
=
"application"
;
scode
=
"SC:RTPO"
;
break
;
continue
;
}
if
(
rtsp_url
==
NULL
)
...
...
@@ -763,8 +757,11 @@ char *SDPGenerate( const sout_stream_t *p_stream, const char *rtsp_url )
{
if
(
id
->
listen_fd
!=
NULL
)
sdp_AddAttribute
(
&
psz_sdp
,
"setup"
,
"passive"
);
#if 0
if( p_sys->proto == IPPROTO_DCCP )
sdp_AddAttribute
(
&
psz_sdp
,
"dccp-service-code"
,
scode
);
sdp_AddAttribute( &psz_sdp, "dccp-service-code",
"SC:RTP%c", toupper( mime_major[0] ) );
#endif
}
}
...
...
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