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
3cee798c
Commit
3cee798c
authored
Sep 11, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generic support for text streams in RTP.
No actually subtype implemented currently though.
parent
871412c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+14
-7
No files found.
modules/stream_out/rtp.c
View file @
3cee798c
...
...
@@ -701,13 +701,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 */
if
(
id
->
i_cat
==
AUDIO_ES
)
mime_major
=
"audio"
;
else
if
(
id
->
i_cat
==
VIDEO_ES
)
mime_major
=
"video"
;
else
continue
;
switch
(
id
->
i_cat
)
{
case
VIDEO_ES
:
mime_major
=
"video"
;
break
;
case
AUDIO_ES
:
mime_major
=
"audio"
;
break
;
case
SPU_ES
:
mime_major
=
"text"
;
break
;
default:
continue
;
}
sdp_AddMedia
(
&
psz_sdp
,
mime_major
,
"RTP/AVP"
,
inclport
*
id
->
i_port
,
id
->
i_payload_type
,
VLC_FALSE
,
id
->
i_bitrate
,
...
...
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