Package 

Interface ExoMediaSourceInterceptListener

    • Method Summary

      Modifier and Type Method Description
      abstract MediaSource getMediaSource(String dataSource, boolean preview, boolean cacheEnable, boolean isLooping, File cacheDir)
      abstract DataSource.Factory getHttpDataSourceFactory(String userAgent, @Nullable() TransferListener listener, int connectTimeoutMillis, int readTimeoutMillis, Map<String, String> mapHeadData, boolean allowCrossProtocolRedirects) 一般用户自定义 http 忽略 ssl 证书之类的可用于自定义Demo 有对应例子
      abstract DataSink.Factory cacheWriteDataSinkFactory(String CachePath, String url) 一般情况下返回 null 就可以了如果 getMediaSource 不为 null ,此方法不会被调用用于每次自定义自己的 CacheDataSink
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait