Commit 11549fde authored by yanzg's avatar yanzg

下载视频

parent 07f99ec5
...@@ -39,10 +39,9 @@ public class MediaFirstTest { ...@@ -39,10 +39,9 @@ public class MediaFirstTest {
public void testHlsDown() throws Exception { public void testHlsDown() throws Exception {
HlsDownloader downloader = new HlsDownloader("http://rtmp.tourbida.com/hls/0bfbec86-7a75-4b70-9318-dd32a3d59633.m3u8", HlsDownloader downloader = new HlsDownloader("http://rtmp.tourbida.com/hls/0bfbec86-7a75-4b70-9318-dd32a3d59633.m3u8",
getFile("downHls.mp4"), getFile("downHls.mp4"),
3, 1,
100 1
); );
downloader.download(true, true); downloader.download(true, true);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment