Java 类com.google.android.exoplayer.hls.HlsPlaylistParser 实例源码

项目:androidtv-sample    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
        DemoPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url,
            new DefaultUriDataSource(context, userAgent), parser);
}
项目:androidtv-sample    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
        VideoPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url,
            new DefaultUriDataSource(context, userAgent), parser);
}
项目:AndroidTvDemo    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:ShaddockVideoPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:ExVidPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, ExVidPlayerImp player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:ExoPlayerController    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:FriendsCameraSDK-android    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:talk-android    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:OKPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:miku    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
                            AudioCapabilities audioCapabilities, MediaPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.audioCapabilities = audioCapabilities;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:ExoPlayer-Demo    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:Mediathek    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, Player player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:sbs-android-tv    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
                            AudioCapabilities audioCapabilities, VideoPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.audioCapabilities = audioCapabilities;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
            parser);
}
项目:danish-media-license    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, createDataSource(context, userAgent), parser);
}
项目:WliveTV    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:Android-Example-HLS-ExoPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:luxunPro    文件:HlsRenderBuilder.java   
public AsyncRendererBuilder(Context context, OkHttpClient okHttpClient, String userAgent, String url, EMExoPlayer player, int streamType) {
    this.context = context;
    this.userAgent = userAgent;
    this.streamType = streamType;
    this.player = player;
    this.okHttpClient = okHttpClient;

    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url, createManifestDataSource(context, userAgent), parser);
}
项目:AdvancedVideoView    文件:HlsRendererBuilder.java   
@Override
public void buildRenderers(DemoPlayer player, RendererBuilderCallback callback) {
  this.player = player;
  this.callback = callback;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  ManifestFetcher<HlsPlaylist> playlistFetcher = new ManifestFetcher<HlsPlaylist>(url,
      new DefaultUriDataSource(context, userAgent), parser);
  playlistFetcher.singleLoad(player.getMainHandler().getLooper(), this);
}
项目:exoplayer-textureview    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(HlsRendererBuilder rendererBuilder,
        RendererBuilderCallback callback) {
    this.rendererBuilder = rendererBuilder;
    this.callback = callback;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(rendererBuilder.uri.toString(),
            new DefaultUriDataSource(rendererBuilder.context,
                    rendererBuilder.userAgent), parser);
}
项目:ExoPlayerWrapper    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, ExoPlayerWrapper player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
            parser);
}
项目:exoPlayerHLS    文件:HlsRendererBuilder.java   
@Override
public void buildRenderers(DemoPlayer player, DemoPlayer.RendererBuilderCallback callback) {
  this.player = player;
  this.callback = callback;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  ManifestFetcher<HlsPlaylist> playlistFetcher = new ManifestFetcher<>(url,
      new DefaultUriDataSource(context, userAgent), parser);
  playlistFetcher.singleLoad(player.getMainHandler().getLooper(), this);
}
项目:iview-android-tv    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
                            AudioCapabilities audioCapabilities, VideoPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.audioCapabilities = audioCapabilities;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
            parser);
}
项目:Android-Birdcopy-Application    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, FlyingPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:Exoplayer_VLC    文件:HlsRendererBuilder.java   
@Override
public void buildRenderers(DemoPlayer player, RendererBuilderCallback callback) {
  this.player = player;
  this.callback = callback;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  ManifestFetcher<HlsPlaylist> playlistFetcher =
      new ManifestFetcher<HlsPlaylist>(parser, contentId, url, userAgent);
  playlistFetcher.singleLoad(player.getMainHandler().getLooper(), this);
}
项目:OkPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, OkPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
            parser);
}
项目:ExoPlayer    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
    AudioCapabilities audioCapabilities, DemoPlayer player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.audioCapabilities = audioCapabilities;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
      parser);
}
项目:androidtv-sample-inputs    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url,
        DemoPlayer player) {
    this.context = context;
    this.userAgent = userAgent;
    this.url = url;
    this.player = player;
    HlsPlaylistParser parser = new HlsPlaylistParser();
    playlistFetcher = new ManifestFetcher<>(url,
            new DefaultUriDataSource(context, userAgent), parser);
}
项目:google-media-framework-android    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, ExoplayerWrapper player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
          parser);
}
项目:player-sdk-native-android    文件:HlsRendererBuilder.java   
public AsyncRendererBuilder(Context context, String userAgent, String url, ExoplayerWrapper player) {
  this.context = context;
  this.userAgent = userAgent;
  this.url = url;
  this.player = player;
  HlsPlaylistParser parser = new HlsPlaylistParser();
  playlistFetcher = new ManifestFetcher<>(url, new DefaultUriDataSource(context, userAgent),
          parser);
}