Constructor for SoundCloud Stream
Dash url containing dash file.
Stream Type
Total segments Downloaded so far
Total time of downloaded segments data.
Incoming message that we recieve.
Storing this is essential. This helps to destroy the TCP connection completely if you stopped player in between the stream
Array of segment_urls in dash file.
Readable Stream through which data passes
Array of segment time. Useful for calculating downloaded_time.
Timer for looping code every 5 minutes
Type of audio data that we recieved from normal youtube url.
Dash Url containing segment urls.
This cleans every used variable in class.
This is used to prevent re-use of this class and helping garbage collector to collect it.
Main Loop function for getting all segments urls data
Parses SoundCloud dash file.
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.
Starts looping of code for getting all segments urls data
Generated using TypeDoc
SoundCloud Stream class