Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1752e105
Commit
1752e105
authored
Dec 29, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/livedotcom.cpp: New --rtp-client-port option to help
users of firewalls.
parent
d87bb094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+10
-2
No files found.
modules/demux/livedotcom.cpp
View file @
1752e105
/*****************************************************************************
* live.cpp : live.com support.
* live
dotcom
.cpp : live.com support.
*****************************************************************************
* Copyright (C) 2003-200
4
the VideoLAN team
* Copyright (C) 2003-200
5
the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -86,6 +86,9 @@ vlc_module_begin();
add_bool
(
"rtsp-tcp"
,
0
,
NULL
,
N_
(
"Use RTP over RTSP (TCP)"
),
N_
(
"Use RTP over RTSP (TCP)"
),
VLC_TRUE
);
add_integer
(
"rtp-client-port"
,
-
1
,
NULL
,
N_
(
"Client port"
),
N_
(
"Port to use for the RTP source of the session"
),
VLC_TRUE
);
#if LIVEMEDIA_LIBRARY_VERSION_INT > 1130457500
add_bool
(
"rtsp-http"
,
0
,
NULL
,
N_
(
"Tunnel RTSP and RTP over HTTP"
),
...
...
@@ -361,6 +364,11 @@ static int Open ( vlc_object_t *p_this )
{
unsigned
int
i_buffer
=
0
;
Boolean
bInit
;
int
i_client_port
;
i_client_port
=
var_CreateGetInteger
(
p_demux
,
"rtp-client-port"
);
if
(
i_client_port
!=
-
1
)
sub
->
setClientPortNum
(
i_client_port
);
/* Value taken from mplayer */
if
(
!
strcmp
(
sub
->
mediumName
(),
"audio"
)
)
...
...
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