com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory Java Examples
The following examples show how to use
com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HlsMediaSource.java From MediaSDK with Apache License 2.0 | 6 votes |
/** * Returns a new {@link HlsMediaSource} using the current parameters. * * @return The new {@link HlsMediaSource}. */ @Override public HlsMediaSource createMediaSource(Uri playlistUri) { isCreateCalled = true; if (streamKeys != null) { playlistParserFactory = new FilteringHlsPlaylistParserFactory(playlistParserFactory, streamKeys); } return new HlsMediaSource( playlistUri, hlsDataSourceFactory, extractorFactory, compositeSequenceableLoaderFactory, drmSessionManager, loadErrorHandlingPolicy, playlistTrackerFactory.createTracker( hlsDataSourceFactory, loadErrorHandlingPolicy, playlistParserFactory), allowChunklessPreparation, metadataType, useSessionKeys, tag); }
Example #2
Source File: HlsMediaSource.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
/** * Returns a new {@link HlsMediaSource} using the current parameters. * * @return The new {@link HlsMediaSource}. */ @Override public HlsMediaSource createMediaSource(Uri playlistUri) { isCreateCalled = true; if (streamKeys != null) { playlistParserFactory = new FilteringHlsPlaylistParserFactory(playlistParserFactory, streamKeys); } return new HlsMediaSource( playlistUri, hlsDataSourceFactory, extractorFactory, compositeSequenceableLoaderFactory, loadErrorHandlingPolicy, playlistTrackerFactory.createTracker( hlsDataSourceFactory, loadErrorHandlingPolicy, playlistParserFactory), allowChunklessPreparation, metadataType, useSessionKeys, tag); }
Example #3
Source File: HlsMediaSource.java From Telegram with GNU General Public License v2.0 | 6 votes |
/** * Returns a new {@link HlsMediaSource} using the current parameters. * * @return The new {@link HlsMediaSource}. */ @Override public HlsMediaSource createMediaSource(Uri playlistUri) { isCreateCalled = true; if (streamKeys != null) { playlistParserFactory = new FilteringHlsPlaylistParserFactory(playlistParserFactory, streamKeys); } return new HlsMediaSource( playlistUri, hlsDataSourceFactory, extractorFactory, compositeSequenceableLoaderFactory, loadErrorHandlingPolicy, playlistTrackerFactory.createTracker( hlsDataSourceFactory, loadErrorHandlingPolicy, playlistParserFactory), allowChunklessPreparation, metadataType, useSessionKeys, tag); }