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
9cb9c6c4
Commit
9cb9c6c4
authored
Feb 14, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlsproto: Encourage users to try the hls demuxer instead of the proto
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
3975ca89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
protocols.texi
doc/protocols.texi
+5
-0
hlsproto.c
libavformat/hlsproto.c
+6
-0
No files found.
doc/protocols.texi
View file @
9cb9c6c4
...
...
@@ -80,6 +80,11 @@ hls+http://host/path/to/remote/resource.m3u8
hls+file://path/to/local/resource.m3u8
@end example
Using this protocol is discouraged - the hls demuxer should work
just as well (if not, please report the issues) and is more complete.
To use the hls demuxer instead, simply use the direct URLs to the
m3u8 files.
@section http
HTTP (Hyper Text Transfer Protocol).
...
...
libavformat/hlsproto.c
View file @
9cb9c6c4
...
...
@@ -222,6 +222,12 @@ static int applehttp_open(URLContext *h, const char *uri, int flags)
ret
=
AVERROR
(
EINVAL
);
goto
fail
;
}
av_log
(
h
,
AV_LOG_WARNING
,
"Using the hls protocol is discouraged, please try using the "
"hls demuxer instead. The hls demuxer should be more complete "
"and work as well as the protocol implementation. (If not, "
"please report it.) To use the demuxer, simply use %s as url.
\n
"
,
s
->
playlisturl
);
if
((
ret
=
parse_playlist
(
h
,
s
->
playlisturl
))
<
0
)
goto
fail
;
...
...
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