| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | |
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private HLSConnectionHolder. | |
| private ReadableByteChannel | |
| private URLConnection | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private boolean | |
| private boolean | |
| private Semaphore | |
| private int | |
| private HLSConnectionHolder. | |
| private CountDownLatch | |
| private boolean | |
| private long | |
| private URLConnection | |
| private HLSConnectionHolder. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | closeConnection()
Overrides com. Closes connection when done. |
| private void | |
| pack-priv boolean | isRandomAccess()
Implements abstract com. Detects whether the source is a random access source. |
| pack-priv boolean | isSeekable()
Implements abstract com. Detects whether the source is seekable. |
| private int | |
| pack-priv boolean | needBuffer()
Implements abstract com. Detects whether this source needs buffering at the pipeline level. |
| private ReadableByteChannel | |
| private ReadableByteChannel | |
| pack-priv int | property(int
- Property ID. prop, int - Depends on property ID. value)Overrides com. Get or set properties. |
| pack-priv int | readBlock(long position, int size)
Implements abstract com. Reads a block of data from the arbitrary position of the opened stream. |
| public int | readNextBlock()
Overrides com. Reads a block of data from the current position of the opened stream. |
| private void | |
| private void | |
| public long | seek(long position)
Implements abstract com. Performs a seek request to the desired position. |
| private static String |
| CHARSET_US_ASCII | back to summary |
|---|---|
| private static final String CHARSET_US_ASCII | |
| CHARSET_UTF_8 | back to summary |
|---|---|
| private static final String CHARSET_UTF_8 | |
| currentPlaylist | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| headerChannel | back to summary |
|---|---|
| private ReadableByteChannel headerChannel | |
| headerConnection | back to summary |
|---|---|
| private URLConnection headerConnection | |
| HLS_PROP_GET_DURATION | back to summary |
|---|---|
| private static final int HLS_PROP_GET_DURATION | |
| HLS_PROP_GET_HLS_MODE | back to summary |
|---|---|
| private static final int HLS_PROP_GET_HLS_MODE | |
| HLS_PROP_GET_MIMETYPE | back to summary |
|---|---|
| private static final int HLS_PROP_GET_MIMETYPE | |
| HLS_PROP_LOAD_SEGMENT | back to summary |
|---|---|
| private static final int HLS_PROP_LOAD_SEGMENT | |
| HLS_PROP_SEGMENT_START_TIME | back to summary |
|---|---|
| private static final int HLS_PROP_SEGMENT_START_TIME | |
| HLS_VALUE_FLOAT_MULTIPLIER | back to summary |
|---|---|
| private static final long HLS_VALUE_FLOAT_MULTIPLIER | |
| HLS_VALUE_MIMETYPE_AAC | back to summary |
|---|---|
| private static final int HLS_VALUE_MIMETYPE_AAC | |
| HLS_VALUE_MIMETYPE_FMP4 | back to summary |
|---|---|
| private static final int HLS_VALUE_MIMETYPE_FMP4 | |
| HLS_VALUE_MIMETYPE_MP2T | back to summary |
|---|---|
| private static final int HLS_VALUE_MIMETYPE_MP2T | |
| HLS_VALUE_MIMETYPE_MP3 | back to summary |
|---|---|
| private static final int HLS_VALUE_MIMETYPE_MP3 | |
| HLS_VALUE_MIMETYPE_UNKNOWN | back to summary |
|---|---|
| private static final int HLS_VALUE_MIMETYPE_UNKNOWN | |
| isBitrateAdjustable | back to summary |
|---|---|
| private boolean isBitrateAdjustable | |
| isPlaylistClosed | back to summary |
|---|---|
| private boolean isPlaylistClosed | |
| liveSemaphore | back to summary |
|---|---|
| private Semaphore liveSemaphore | |
| mediaFileIndex | back to summary |
|---|---|
| private int mediaFileIndex | |
| playlistThread | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| readySignal | back to summary |
|---|---|
| private CountDownLatch readySignal | |
| sendHeader | back to summary |
|---|---|
| private boolean sendHeader | |
| startTime | back to summary |
|---|---|
| private long startTime | |
| urlConnection | back to summary |
|---|---|
| private URLConnection urlConnection | |
| variantPlaylist | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| HLSConnectionHolder | back to summary |
|---|---|
| pack-priv HLSConnectionHolder(URI uri) | |
| adjustBitrate | back to summary |
|---|---|
| private void adjustBitrate(long readTime) | |
| closeConnection | back to summary |
|---|---|
| public void closeConnection() Overrides com. Doc from com. Closes connection when done. Overriding methods should call this method in the beginning of their implementation.
| |
| init | back to summary |
|---|---|
| private void init() | |
| isRandomAccess | back to summary |
|---|---|
| pack-priv boolean isRandomAccess() Implements abstract com. Doc from com. Detects whether the source is a random access source. If the method returns true then the source is capable of working in pull mode. To be able to work in pull mode holder must provide implementation.
| |
| isSeekable | back to summary |
|---|---|
| pack-priv boolean isSeekable() Implements abstract com. Doc from com. Detects whether the source is seekable.
| |
| loadNextSegment | back to summary |
|---|---|
| private int loadNextSegment() | |
| needBuffer | back to summary |
|---|---|
| pack-priv boolean needBuffer() Implements abstract com. Doc from com. Detects whether this source needs buffering at the pipeline level. When true the pipeline contains progressbuffer after the source.
| |
| openChannel | back to summary |
|---|---|
| private ReadableByteChannel openChannel() throws IOException | |
| openHeaderChannel | back to summary |
|---|---|
| private ReadableByteChannel openHeaderChannel() throws IOException | |
| property | back to summary |
|---|---|
| pack-priv int property(int prop, int value) Overrides com. Doc from com. Get or set properties.
| |
| readBlock | back to summary |
|---|---|
| pack-priv int readBlock(long position, int size) throws IOException Implements abstract com. Doc from com. Reads a block of data from the arbitrary position of the opened stream.
| |
| readNextBlock | back to summary |
|---|---|
| public int readNextBlock() throws IOException Overrides com. Doc from com. Reads a block of data from the current position of the opened stream.
| |
| resetConnection | back to summary |
|---|---|
| private void resetConnection() | |
| resetHeaderConnection | back to summary |
|---|---|
| private void resetHeaderConnection() | |
| seek | back to summary |
|---|---|
| public long seek(long position) Implements abstract com. Doc from com. Performs a seek request to the desired position.
| |
| stripParameters | back to summary |
|---|---|
| private static String stripParameters(String mediaFile) | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private double | |
| private boolean | |
| private boolean | |
| private volatile boolean | |
| private volatile boolean | |
| private final Object | |
| private final List | |
| private final List | |
| private final List | |
| private int | |
| private boolean | |
| private URI | |
| private int | |
| private int | |
| private boolean | |
| private double | |
| private long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private double | |
| private String | |
| private String | |
| private double | |
| private int | |
| private String | |
| private long | |
| private boolean | |
| private boolean | |
| private boolean | |
| private double | |
| private void | |
| private void | |
| private void | |
| private boolean | |
| private void |
| baseURI | back to summary |
|---|---|
| private String baseURI | |
| duration | back to summary |
|---|---|
| private double duration | |
| forceDiscontinuity | back to summary |
|---|---|
| private boolean forceDiscontinuity | |
| isLive | back to summary |
|---|---|
| private boolean isLive | |
| isLiveStop | back to summary |
|---|---|
| private volatile boolean isLiveStop | |
| isLiveWaiting | back to summary |
|---|---|
| private volatile boolean isLiveWaiting | |
| lock | back to summary |
|---|---|
| private final Object lock | |
| mediaFiles | back to summary |
|---|---|
| private final List<String> mediaFiles | |
| mediaFilesDiscontinuities | back to summary |
|---|---|
| private final List<Boolean> mediaFilesDiscontinuities | |
| mediaFilesStartTimes | back to summary |
|---|---|
| private final List<Double> mediaFilesStartTimes | |
| mimeType | back to summary |
|---|---|
| private int mimeType | |
| needBaseURI | back to summary |
|---|---|
| private boolean needBaseURI | |
| playlistURI | back to summary |
|---|---|
| private URI playlistURI | |
| sequenceNumber | back to summary |
|---|---|
| private int sequenceNumber | |
| sequenceNumberStart | back to summary |
|---|---|
| private int sequenceNumberStart | |
| sequenceNumberUpdated | back to summary |
|---|---|
| private boolean sequenceNumberUpdated | |
| startTime | back to summary |
|---|---|
| private double startTime | |
| targetDuration | back to summary |
|---|---|
| private long targetDuration | |
| Playlist | back to summary |
|---|---|
| private Playlist(boolean isLive, int targetDuration) | |
| Playlist | back to summary |
|---|---|
| private Playlist(URI uri) | |
| addMediaFile | back to summary |
|---|---|
| private void addMediaFile(String URI, double duration, boolean isDiscontinuity) | |
| close | back to summary |
|---|---|
| private void close() | |
| getDuration | back to summary |
|---|---|
| private double getDuration() | |
| getHeaderFile | back to summary |
|---|---|
| private String getHeaderFile() | |
| getMediaFileExtension | back to summary |
|---|---|
| private String getMediaFileExtension() | |
| getMediaFileStartTime | back to summary |
|---|---|
| private double getMediaFileStartTime() | |
| getMimeType | back to summary |
|---|---|
| private int getMimeType() | |
| getNextMediaFile | back to summary |
|---|---|
| private String getNextMediaFile() | |
| getTargetDuration | back to summary |
|---|---|
| private long getTargetDuration() | |
| isCurrentMediaFileDiscontinuity | back to summary |
|---|---|
| private boolean isCurrentMediaFileDiscontinuity() | |
| isFragmentedMP4 | back to summary |
|---|---|
| private boolean isFragmentedMP4() | |
| isLive | back to summary |
|---|---|
| private boolean isLive() | |
| seek | back to summary |
|---|---|
| private double seek(long time) | |
| setBaseURI | back to summary |
|---|---|
| private void setBaseURI(String playlistURI, String URI) | |
| setForceDiscontinuity | back to summary |
|---|---|
| private void setForceDiscontinuity(boolean value) | |
| setPlaylistURI | back to summary |
|---|---|
| private void setPlaylistURI(URI uri) | |
| setSequenceNumber | back to summary |
|---|---|
| private boolean setSequenceNumber(int value) | |
| update | back to summary |
|---|---|
| private void update(String nextMediaFile) | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private int | |
| private List | |
| private List | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private Boolean | |
| private Charset | |
| private Double | |
| private Integer | |
| private int | |
| private String | |
| private int | |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | |
| private boolean |
| dataListBoolean | back to summary |
|---|---|
| private List<Boolean> dataListBoolean | |
| dataListDouble | back to summary |
|---|---|
| private List<Double> dataListDouble | |
| dataListIndex | back to summary |
|---|---|
| private int dataListIndex | |
| dataListInteger | back to summary |
|---|---|
| private List<Integer> dataListInteger | |
| dataListString | back to summary |
|---|---|
| private List<String> dataListString | |
| isDiscontinuity | back to summary |
|---|---|
| private boolean isDiscontinuity | |
| isEndList | back to summary |
|---|---|
| private boolean isEndList | |
| isFirstLine | back to summary |
|---|---|
| private boolean isFirstLine | |
| isLineMediaFileURI | back to summary |
|---|---|
| private boolean isLineMediaFileURI | |
| isLinePlaylistURI | back to summary |
|---|---|
| private boolean isLinePlaylistURI | |
| isVariantPlaylist | back to summary |
|---|---|
| private boolean isVariantPlaylist | |
| sequenceNumber | back to summary |
|---|---|
| private int sequenceNumber | |
| targetDuration | back to summary |
|---|---|
| private int targetDuration | |
| PlaylistParser | back to summary |
|---|---|
| private PlaylistParser() | |
| getBoolean | back to summary |
|---|---|
| private Boolean getBoolean() | |
| getCharset | back to summary |
|---|---|
| private Charset getCharset(String url, String mimeType) | |
| getDouble | back to summary |
|---|---|
| private Double getDouble() | |
| getInteger | back to summary |
|---|---|
| private Integer getInteger() | |
| getSequenceNumber | back to summary |
|---|---|
| private int getSequenceNumber() | |
| getString | back to summary |
|---|---|
| private String getString() | |
| getTargetDuration | back to summary |
|---|---|
| private int getTargetDuration() | |
| hasNext | back to summary |
|---|---|
| private boolean hasNext() | |
| isLivePlaylist | back to summary |
|---|---|
| private boolean isLivePlaylist() | |
| isVariantPlaylist | back to summary |
|---|---|
| private boolean isVariantPlaylist() | |
| load | back to summary |
|---|---|
| private void load(URI uri) | |
| parseLine | back to summary |
|---|---|
| private boolean parseLine(String line) | |
| Modifier and Type | Field and Description |
|---|---|
| private URI | |
| private final Object | |
| private HLSConnectionHolder. | |
| public static final int | |
| public static final int | |
| public static final int | |
| private final BlockingQueue | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| private void | |
| private void | |
| private void | |
| private void |
| playlistURI | back to summary |
|---|---|
| private URI playlistURI | |
| reloadLock | back to summary |
|---|---|
| private final Object reloadLock | |
| reloadPlaylist | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| STATE_EXIT | back to summary |
|---|---|
| public static final int STATE_EXIT | |
| STATE_INIT | back to summary |
|---|---|
| public static final int STATE_INIT | |
| STATE_RELOAD_PLAYLIST | back to summary |
|---|---|
| public static final int STATE_RELOAD_PLAYLIST | |
| stateQueue | back to summary |
|---|---|
| private final BlockingQueue<Integer> stateQueue | |
| stopped | back to summary |
|---|---|
| private volatile boolean stopped | |
| PlaylistThread | back to summary |
|---|---|
| private PlaylistThread() | |
| putState | back to summary |
|---|---|
| private void putState(int state) | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| setPlaylistURI | back to summary |
|---|---|
| private void setPlaylistURI(URI playlistURI) | |
| setReloadPlaylist | back to summary |
|---|---|
| private void setReloadPlaylist(HLSConnectionHolder. | |
| stateInit | back to summary |
|---|---|
| private void stateInit() | |
| stateReloadPlaylist | back to summary |
|---|---|
| private void stateReloadPlaylist() | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String | |
| private List | |
| private List | |
| private List | |
| private URI |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private HLSConnectionHolder. | |
| private HLSConnectionHolder. | |
| private URI | |
| private boolean |
| infoIndex | back to summary |
|---|---|
| private int infoIndex | |
| mediaFileExtension | back to summary |
|---|---|
| private String mediaFileExtension | |
| playlists | back to summary |
|---|---|
| private List<HLSConnectionHolder. | |
| playlistsBitrates | back to summary |
|---|---|
| private List<Integer> playlistsBitrates | |
| playlistsLocations | back to summary |
|---|---|
| private List<String> playlistsLocations | |
| playlistURI | back to summary |
|---|---|
| private URI playlistURI | |
| VariantPlaylist | back to summary |
|---|---|
| private VariantPlaylist(URI uri) | |
| addPlaylist | back to summary |
|---|---|
| private void addPlaylist(HLSConnectionHolder. | |
| addPlaylistInfo | back to summary |
|---|---|
| private void addPlaylistInfo(String location, int bitrate) | |
| getPlaylist | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| getPlaylistBasedOnBitrate | back to summary |
|---|---|
| private HLSConnectionHolder. | |
| getPlaylistURI | back to summary |
|---|---|
| private URI getPlaylistURI() throws URISyntaxException, MalformedURLException | |
| hasNext | back to summary |
|---|---|
| private boolean hasNext() | |