Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö authored on 2012/02/14 19:09:09... | ... |
@@ -80,6 +80,11 @@ hls+http://host/path/to/remote/resource.m3u8 |
80 | 80 |
hls+file://path/to/local/resource.m3u8 |
81 | 81 |
@end example |
82 | 82 |
|
83 |
+Using this protocol is discouraged - the hls demuxer should work |
|
84 |
+just as well (if not, please report the issues) and is more complete. |
|
85 |
+To use the hls demuxer instead, simply use the direct URLs to the |
|
86 |
+m3u8 files. |
|
87 |
+ |
|
83 | 88 |
@section http |
84 | 89 |
|
85 | 90 |
HTTP (Hyper Text Transfer Protocol). |
... | ... |
@@ -222,6 +222,12 @@ static int applehttp_open(URLContext *h, const char *uri, int flags) |
222 | 222 |
ret = AVERROR(EINVAL); |
223 | 223 |
goto fail; |
224 | 224 |
} |
225 |
+ av_log(h, AV_LOG_WARNING, |
|
226 |
+ "Using the hls protocol is discouraged, please try using the " |
|
227 |
+ "hls demuxer instead. The hls demuxer should be more complete " |
|
228 |
+ "and work as well as the protocol implementation. (If not, " |
|
229 |
+ "please report it.) To use the demuxer, simply use %s as url.\n", |
|
230 |
+ s->playlisturl); |
|
225 | 231 |
|
226 | 232 |
if ((ret = parse_playlist(h, s->playlisturl)) < 0) |
227 | 233 |
goto fail; |