YouTube Stream Class for playing audio from normal videos.
YouTube Stream Class constructor
Audio Endpoint url.
Type of Stream
Duration of audio playback [ in seconds ]
Total length of Audio file in bytes.
YouTube video url.
Options provided to stream function.
Readable 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.
Resumes timer. Starts running of loop.
YouTube Stream Class for playing audio from normal videos.