@iamtraction/play-dl
    Preparing search index...

    Class SeekStream

    YouTube Stream Class for seeking audio to a timeStamp.

    Index
    • YouTube Stream Class constructor

      Parameters

      • url: string

        Audio Endpoint url.

      • duration: number

        Duration of audio playback [ in seconds ]

      • headerLength: number

        Length of the header in bytes.

      • contentLength: number

        Total length of Audio file in bytes.

      • bitrate: number

        Bitrate provided by YouTube.

      • video_url: string

        YouTube video url.

      • options: StreamOptions

        Options provided to stream function.

      Returns SeekStream

    stream: WebmSeeker

    WebmSeeker Stream through which data passes

    Type of audio data that we recieved from normal youtube url.

    • Pauses timer. Stops running of loop.

      Useful if you don't want to get excess data to be stored in stream.

      Returns void