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
88c0950b
Commit
88c0950b
authored
Sep 01, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
8a67cac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/stream_out/rtsp.c
modules/stream_out/rtsp.c
+8
-4
No files found.
modules/stream_out/rtsp.c
View file @
88c0950b
...
...
@@ -544,7 +544,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
if
(
strncmp
(
opt
,
"unicast"
,
7
)
==
0
)
b_multicast
=
VLC_FALSE
;
else
if
(
sscanf
(
opt
,
"client_port=%u-%u"
,
&
loport
,
&
hiport
)
==
2
)
if
(
sscanf
(
opt
,
"client_port=%u-%u"
,
&
loport
,
&
hiport
)
==
2
)
;
else
if
(
strncmp
(
opt
,
"mode="
,
5
)
==
0
)
...
...
@@ -614,7 +615,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
}
snprintf
(
url
,
sizeof
(
url
),
(
strchr
(
ip
,
':'
)
!=
NULL
)
?
"[%s]:%d"
:
"%s:%d"
,
(
strchr
(
ip
,
':'
)
!=
NULL
)
?
"[%s]:%d"
:
"%s:%d"
,
ip
,
loport
);
track
.
access
=
sout_AccessOutNew
(
p_stream
->
p_sout
,
...
...
@@ -628,7 +630,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
continue
;
}
char
*
src
=
var_GetNonEmptyString
(
track
.
access
,
"src-addr"
);
char
*
src
=
var_GetNonEmptyString
(
track
.
access
,
"src-addr"
);
int
sport
=
var_GetInteger
(
track
.
access
,
"src-port"
);
vlc_mutex_lock
(
&
rtsp
->
lock
);
...
...
@@ -668,7 +671,8 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
"RTP/AVP/UDP;unicast;source=%s;"
"client_port=%u-%u;server_port=%u-%u;"
"mode=play"
,
src
,
loport
,
loport
+
1
,
sport
,
sport
+
1
);
src
,
loport
,
loport
+
1
,
sport
,
sport
+
1
);
}
else
{
...
...
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