Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bacde646
Commit
bacde646
authored
Apr 19, 2010
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ffserver support rfc3550
Originally committed as revision 22907 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9094d867
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ffserver.c
ffserver.c
+5
-4
No files found.
ffserver.c
View file @
bacde646
...
...
@@ -3042,7 +3042,7 @@ static void rtsp_cmd_setup(HTTPContext *c, const char *url,
RTSPMessageHeader
*
h
)
{
FFStream
*
stream
;
int
stream_index
,
port
;
int
stream_index
,
rtp_port
,
rtcp_
port
;
char
buf
[
1024
];
char
path1
[
1024
];
const
char
*
path
;
...
...
@@ -3156,11 +3156,12 @@ static void rtsp_cmd_setup(HTTPContext *c, const char *url,
switch
(
rtp_c
->
rtp_protocol
)
{
case
RTSP_LOWER_TRANSPORT_UDP
:
port
=
rtp_get_local_port
(
rtp_c
->
rtp_handles
[
stream_index
]);
rtp_port
=
rtp_get_local_rtp_port
(
rtp_c
->
rtp_handles
[
stream_index
]);
rtcp_port
=
rtp_get_local_rtcp_port
(
rtp_c
->
rtp_handles
[
stream_index
]);
url_fprintf
(
c
->
pb
,
"Transport: RTP/AVP/UDP;unicast;"
"client_port=%d-%d;server_port=%d-%d"
,
th
->
client_port_min
,
th
->
client_port_m
in
+
1
,
port
,
port
+
1
);
th
->
client_port_min
,
th
->
client_port_m
ax
,
rtp_port
,
rtcp_port
);
break
;
case
RTSP_LOWER_TRANSPORT_TCP
:
url_fprintf
(
c
->
pb
,
"Transport: RTP/AVP/TCP;interleaved=%d-%d"
,
...
...
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