Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
fe182634
Commit
fe182634
authored
May 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTSP: output proper Range: header
parent
b16fe48f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
modules/stream_out/rtsp.c
modules/stream_out/rtsp.c
+1
-9
No files found.
modules/stream_out/rtsp.c
View file @
fe182634
...
...
@@ -600,15 +600,6 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
rtsp_session_t
*
ses
;
answer
->
i_status
=
200
;
psz_session
=
httpd_MsgGet
(
query
,
"Session"
);
#if 0
/* FIXME: This breaks totem, mplayer and quicktime at least */
if( httpd_MsgGet( query, "Range" ) != NULL )
{
answer->i_status = 456; /* cannot seek, stream not seekable */
break;
}
#endif
vlc_mutex_lock
(
&
rtsp
->
lock
);
ses
=
RtspClientGet
(
rtsp
,
psz_session
);
if
(
ses
!=
NULL
)
...
...
@@ -642,6 +633,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
}
vlc_mutex_unlock
(
&
rtsp
->
lock
);
httpd_MsgAdd
(
answer
,
"Range"
,
"npt=now-"
);
if
(
httpd_MsgGet
(
query
,
"Scale"
)
!=
NULL
)
httpd_MsgAdd
(
answer
,
"Scale"
,
"1."
);
break
;
...
...
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