Class Reader

java.lang.Object
fr.xxathyx.mediaplayer.stream.m3u8.Reader

public class Reader extends Object
The Reader class is used in
invalid @link
Video
in order to read and get video sequences from online-stream, this method is only used one, then Ffmpeg take over the situtation, its only compatible with Twitch livestreams currently. This class only has one constructor.
Since:
2022-07-16
Version:
1.0.0
Author:
Xxathyx
  • Constructor Summary

    Constructors
    Constructor
    Description
    Reader(File file)
    Constructor for Reader class, creates an Reader variable according to a m3u8 livestream File.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the video sequences links to file.
    void
    Reads the m3u8 livestream file in order to get links to the video sequences.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Reader

      public Reader(File file)
      Constructor for Reader class, creates an Reader variable according to a m3u8 livestream File.
      Parameters:
      file - The stream m3u8 file to be read.
  • Method Details

    • read

      public void read()
      Reads the m3u8 livestream file in order to get links to the video sequences.
    • getSequences

      public ArrayList<URL> getSequences()
      Gets the video sequences links to file.