soundcloud/cocoa-api-wrapper — Issue #16: Stream length in milliseconds
Author: MattMur
Created: 2012-01-17 15:34:08+00:00
State: open

Using the method - (void)seekToMillisecond:(NSUInteger)milli startPlaying:(BOOL)play; on the SCAudioStream class seems simple enough, but where can I find the the streams max milliseconds? Basically how to you determine a streams total length in milliseconds?

I didn't see any property in the API that contained this information. Would I have to deep dive into the API and do my own algorithm to figure this out? What is the best way to get this information about the stream?