Porting opus to pjsip for use with iOS and CoreAudio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For anyone following along, it was of course a stupid error.

The large and small filters weren't being included due to a header search path problem.

Cheers,
michaelV

On Feb 12, 2013, at 5:41 PM, Michael Van Milligan <gilligan at twilio.com> wrote:

> I was curious if anyone has successfully ported opus and has it running with the pjsip stack on iOS? I've encountered an issue where resampling is causing an ARM exception to be thrown;  EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe).
> 
> #0	0x000e9bfe in res_Resample at sdk/pjproject/build.ios/resample/../../third_party/resample/src/resamplesubs.c:366
> #1	0x00098f30 in pjmedia_resample_run at sdk/pjproject/build.ios/pjmedia/../../pjmedia/src/pjmedia/resample_resample.c:225
> #2	0x000934b0 in read_port [inlined] at sdk/pjproject/build.ios/pjmedia/../../pjmedia/src/pjmedia/conference.c:1512
> #3	0x000932fe in get_frame at sdk/pjproject/build.ios/pjmedia/../../pjmedia/src/pjmedia/conference.c:1866
> #4	0x00098660 in pjmedia_port_get_frame at sdk/pjproject/build.ios/pjmedia/../../pjmedia/src/pjmedia/port.c:98
> #5	0x0009e3ba in play_cb at sdk/pjproject/build.ios/pjmedia/../../pjmedia/src/pjmedia/sound_port.c:83
> #6	0x0008fbbc in output_renderer at sdk/pjproject/build.ios/pjmedia-audiodev/../../pjmedia/src/pjmedia-audiodev/coreaudio_dev.c:1032
> #7	0x30fd56b2 in AUInputElement::PullInput(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) ()
> 
> It appears that opus gets as far as being initialized but then right after apparently recovering a frame this exception occurs. I am no audio or audio codec expert by any stretch of the imagination but I am beginning to worry that the resampling code found in sndlib is insufficient for opus + iOS? Or perhaps my ignorance of the workings of opus has caused me to miss something stupid in regards to compilation or configuration, e.g., thumb, floating point, etc.?
> 
> Any guidance would be greatly appreciated.
> 
> Cheers,
> Michael




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux