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
11f1a3ea
Commit
11f1a3ea
authored
Mar 14, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP: add an option to control the category
Reported-by:
Vincent Vinel
<
v.vinel@gmail.com
>
parent
6b5b319c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+7
-2
No files found.
modules/stream_out/rtp.c
View file @
11f1a3ea
...
...
@@ -93,6 +93,10 @@
#define NAME_LONGTEXT N_( \
"This is the name of the session that will be announced in the SDP " \
"(Session Descriptor)." )
#define CAT_TEXT N_("Session category")
#define CAT_LONGTEXT N_( \
"This allows you to specify a category for the session, " \
"that will be announced if you choose to use SAP." )
#define DESC_TEXT N_("Session description")
#define DESC_LONGTEXT N_( \
"This allows you to give a short description with details about the stream, " \
...
...
@@ -202,6 +206,7 @@ vlc_module_begin ()
add_string
(
SOUT_CFG_PREFIX
"name"
,
""
,
NAME_TEXT
,
NAME_LONGTEXT
,
true
)
add_string
(
SOUT_CFG_PREFIX
"cat"
,
""
,
CAT_TEXT
,
CAT_LONGTEXT
,
true
)
add_string
(
SOUT_CFG_PREFIX
"description"
,
""
,
DESC_TEXT
,
DESC_LONGTEXT
,
true
)
add_string
(
SOUT_CFG_PREFIX
"url"
,
""
,
URL_TEXT
,
...
...
@@ -261,8 +266,8 @@ vlc_module_end ()
* Exported prototypes
*****************************************************************************/
static
const
char
*
const
ppsz_sout_options
[]
=
{
"dst"
,
"name"
,
"
port"
,
"port-audio"
,
"port-video"
,
"*sdp"
,
"ttl"
,
"mux
"
,
"sap"
,
"description"
,
"url"
,
"email"
,
"phone"
,
"dst"
,
"name"
,
"
cat"
,
"port"
,
"port-audio"
,
"port-video"
,
"*sdp"
,
"ttl
"
,
"
mux"
,
"
sap"
,
"description"
,
"url"
,
"email"
,
"phone"
,
"proto"
,
"rtcp-mux"
,
"caching"
,
#ifdef HAVE_SRTP
"key"
,
"salt"
,
...
...
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