Post

Replies

Boosts

Views

Activity

Reply to Issue with Audio Queue Implementation
void inputBufferHandler(void *inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer, const AudioTimeStamp *inStartTime,UInt32 inNumPackets, const AudioStreamPacketDescription *inPacketDesc) {   @try{     if (isRecording) {       if (inNumPackets > 0) {         CaptureG711 recorder = (__bridge CaptureG711)inUserData; // crash at this line         [recorder processAudioBuffer:inBuffer withQueue:inAQ];       }             AudioQueueEnqueueBuffer(inAQ, inBuffer, 0, NULL);     }   }@catch(NSException *err){     NSLog(@"inputBufferHandler err is %@", err);   } }
Feb ’23
Reply to Crash on launch when adding a Swift package with a binary target
Version 13.4 (13F17a) [libprotobuf FATAL google/protobuf/stubs/common.cc:67] This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/Users/ci/civil/workspace/m_streamclient/label/mobile_ios/libstreamclient/src/ys_streamprotocol.pb.cc".) libc++abi: terminating with uncaught exception of type google::protobuf::FatalException: This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/Users/ci/civil/workspace/m_streamclient/label/mobile_ios/libstreamclient/src/ys_streamprotocol.pb.cc".) dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/usr/lib/libMTLCapture.dylib terminating with uncaught exception of type google::protobuf::FatalException: This program requires version 3.2.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/Users/ci/civil/workspace/m_streamclient/label/mobile_ios/libstreamclient/src/ys_streamprotocol.pb.cc".)
Aug ’22