added code to launch a stream and decode and render the stream

This commit is contained in:
Diego Waxemberg 2014-01-19 20:13:38 -05:00
commit e0cf044d60
16 changed files with 382 additions and 101 deletions

View file

@ -47,7 +47,7 @@ static int BUFFER_LENGTH = 131072;
if (firstStart)
{
// decode the first i-1 bytes and render a frame
[self.decoder decode:self.byteBuffer length:i];
//[self.decoder decode:self.byteBuffer length:i];
[self.target performSelectorOnMainThread:@selector(setNeedsDisplay) withObject:NULL waitUntilDone:FALSE];
// move offset back to beginning of start sequence