cn.schoolwow.sdk.video.analyzer.Analyzer Maven / Gradle / Ivy
package cn.schoolwow.sdk.video.analyzer;
import cn.schoolwow.sdk.video.domain.PlayList;
import cn.schoolwow.sdk.video.domain.VideoPart;
import java.io.IOException;
public interface Analyzer {
/**
* 解析地址并返回播单信息
* 若地址为视频地址,则返回null
*
* @param url 播单地址
* @return 播单信息
*/
PlayList getPlaylist(String url) throws IOException;
/**
* 解析并返回视频下载信息
*
* */
VideoPart[] getVideoPartList(String url) throws IOException;
/**
* TV类型
*/
TV tv();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy