I'm using matt gallagaher's AudioStreamer class. I've used it before in a project before ARC came along and it worked fine. When I added the class to a project which uses ARC, I came across lots of errors which I could fix by adding __bridge
references etc...
So the app now runs, but when I start the streamer with [streamer start]
I keep coming across this error which I don't know how to fix. The compiler stops at the function below in Audiostreamer.m
with the error Thread 8: EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
- I don't know what to do from here...please help.
if (CFReadStreamSetProperty(stream, kCFStreamPropertyHTTPShouldAutoredirect, kCFBooleanTrue) == false)
{
[self presentAlertWithTitle:NSLocalizedStringFromTable(@"File Error", @"Errors", nil)
message:NSLocalizedStringFromTable(@"Unable to configure network read stream.", @"Errors", nil)];
return NO;
}