Closed LonestarX91 closed 3 years ago
Switched from that fork to baresip-ios repo, patched contrib.mk for TLS (https://gist.github.com/LonestarX91/e5aca98ab051999499e7b59ec18892b7) and built for 0.6.0 all (which was HEAD). still getting those pesky errors you see, but I also discovered this which seems to encounter my issue https://github.com/baresip/baresip/issues/784... You said you pushed it to master but I don't understand how it still happens... :/
switched to 0.6.6 baresip, same problem
log: https://gist.github.com/LonestarX91/b2974ae949ebb131964ee8ec651533ba
config: https://gist.github.com/LonestarX91/447b3e9ff0883ab98027ec6e9a68628b
hopes and dreams:
Well, finally ended my story with patching baresip 0.6.1 coreaudio with this https://github.com/ylevytskyy/baresip/commit/66b147373b8deab802e2e76e56309ea849c5c2bc
Now audio works fine and I have TLS. Would've been nice to use audiounit but beggars can't be pickers
hope this thread helps anyone
@LonestarX91
Can you describe better how you solved the audio problem? I have the same problem:
2020-08-20 10: 16: 09.913201-0300 APP [652: 138895] [aid] AudioIssueDetectorNode.cpp: 166: Initialize: Caught analyzer graph exception 1718775073! Mrf slice duration must be set before configure. in /Library/Caches/com.apple.xbs/Sources/AudioDSP/AudioDSP-366.38/CoreAudioUtility/Source/CADSP/DSPGraph/DSPGraph_Graph.cpp:628
2020-08-20 10: 16: 09.934585-0300 APP [652: 138895] [aurioc] AURemoteIO.cpp: 1590: Start: AUIOClient_StartIO failed (-66637)
Got the same error:
AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
with current master version with audiounit
configured, without coreaudio
.
[0:00:16] audio=63467/63467 (bit/s)
2020-11-06 14:47:40.231683+0200 AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
2020-11-06 14:47:40.256133+0200 AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
2020-11-06 14:47:40.279915+0200 AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
2020-11-06 14:47:40.302482+0200 AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
2020-11-06 14:47:40.325733+0200 AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
And probably with open ssl:
AudioIssueDetectorNode.cpp:166:Initialize: Caught analyzer graph exception 1718775073 !mrf slice duration must be set before configure. in /Library/Caches/com.apple.xbs/Sources/AudioDSP/AudioDSP-366.38/CoreAudioUtility/Source/CADSP/DSPGraph/DSPGraph_Graph.cpp:628
Confirm the errors like:
AUBuffer.h:61:GetBufferList: EXCEPTION (-1) [mPtrState == kPtrsInvalid is false]: ""
but can hear the audio on iOS. Stack:
@Koshub did you find any solution? I am using Xcode11 and Xcode10 with ios 13 and ios 14, I am not getting audio...
please create a new ticket for this, use latest versions from git HEAD. please provide exact info about software/hardware etc.
https://github.com/robovm/apple-ios-samples/blob/master/CoreAudioUtilityClasses/CoreAudio/AudioUnits/AUPublic/Utility/AUBuffer.h I tracked down the source which logging it but cant turn it off. For my case, it work normally except annoying message.
Hello,
So i have a big issue. The story starts like this: I need audio only (no video), a few days ago I tried using https://github.com/miche-atucha/taresip which was lovely managed to call, could hear the other client (even tho it had a small issue of unintentional audio passthrough, it was pretty much ok). ALSO, IT USED COREAUDIO surprised pikachu. As far as I looked, that was built with baresip-0.4.20, re-0.4.17 and rem-0.4.7.
Now here comes problem#1: I needed TLS. So i found this https://github.com/rtcexpert/baresip-ios-bitcode (bless his soul), which is also a pending PR here and it connects fine. So i took the mk, i grabbed baresip 0.6.6, re 0.6.1 and rem 0.6.0, openssl&co, built it just fine. problem is if i wanna add coreaudio module in
it will fail with a metric ton of errors like here (https://github.com/baresip/baresip/issues/593). So I did what @eriksundin suggested and patched coreaudio.c with
and then i got some more errors like
So I just gave up...
Now you ask what happens if i just use the default audiounit ? I get the following logs
I tried multiple configs such as: https://gist.github.com/LonestarX91/ff4922fd03b9aa88a1e8dbbb79d78a32 https://gist.github.com/LonestarX91/483bfeb7327af18e5776dcf084d47770 same result And obviously... no audio.
If anyone can please help me get either (coreaudio or audiounit) working, i'll raise them a statue
THANKS