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
fd658c7d
Commit
fd658c7d
authored
May 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP sout: --sout-rtp-sap, works like --sout-standard-sap
In addition to #rtp{sdp=sap}, we can now use #rtp{sap}
parent
06ea7e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+8
-1
No files found.
modules/stream_out/rtp.c
View file @
fd658c7d
...
...
@@ -73,6 +73,8 @@
"session will be made available. You must use an url: http://location to " \
"access the SDP via HTTP, rtsp://location for RTSP access, and sap:// " \
"for the SDP to be announced via SAP." )
#define SAP_TEXT N_("SAP announcing")
#define SAP_LONGTEXT N_("Announce this session with SAP.")
#define MUX_TEXT N_("Muxer")
#define MUX_LONGTEXT N_( \
"This allows you to specify the muxer used for the streaming output. " \
...
...
@@ -158,6 +160,8 @@ vlc_module_begin();
SDP_LONGTEXT
,
true
);
add_string
(
SOUT_CFG_PREFIX
"mux"
,
""
,
NULL
,
MUX_TEXT
,
MUX_LONGTEXT
,
true
);
add_bool
(
SOUT_CFG_PREFIX
"sap"
,
false
,
NULL
,
SAP_TEXT
,
SAP_LONGTEXT
,
true
);
add_string
(
SOUT_CFG_PREFIX
"name"
,
""
,
NULL
,
NAME_TEXT
,
NAME_LONGTEXT
,
true
);
...
...
@@ -196,7 +200,7 @@ vlc_module_end();
*****************************************************************************/
static
const
char
*
ppsz_sout_options
[]
=
{
"dst"
,
"name"
,
"port"
,
"port-audio"
,
"port-video"
,
"*sdp"
,
"ttl"
,
"mux"
,
"description"
,
"url"
,
"email"
,
"phone"
,
"
sap"
,
"
description"
,
"url"
,
"email"
,
"phone"
,
"proto"
,
"rtcp-mux"
,
"mp4a-latm"
,
NULL
};
...
...
@@ -496,6 +500,9 @@ static int Open( vlc_object_t *p_this )
p_stream
->
pf_send
=
Send
;
}
if
(
var_GetBool
(
p_stream
,
SOUT_CFG_PREFIX
"sap"
)
)
SDPHandleUrl
(
p_stream
,
"sap"
);
psz
=
var_GetNonEmptyString
(
p_stream
,
SOUT_CFG_PREFIX
"sdp"
);
if
(
psz
!=
NULL
)
{
...
...
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