App is getting hang after accepting incoming video call with PJSIP.
I have already answered call with 180 (Ringing state) and then accept call with code 200 but at that time my app is getting hang
Getting such logs:
2019-09-05 17:23:24.914108+0530 Codec name is Video Toolbox codec
2019-09-05 17:23:24.914226+0530 MTU VALUE for codec #0 is 1336
2019-09-05 17:23:24.914265+0530 FrameSize for codec #0 is w:1280 h:720
2019-09-05 17:23:24.914297+0530 FPS for codec #0 is 15/1
2019-09-05 17:23:24.914327+0530 BandWidth VALUE for codec #0 is avg:256000 max:256000
video available: 117:23:24.914 pjsua_call.c !Answering call 0: code=200
17:23:24.914 inv0x116850aa8 ..SDP negotiation done: Success
17:23:24.914 pjsua_media.c ...Call 0: updating media..
17:23:24.915 pjsua_media.c .....Media stream call00:0 is destroyed
17:23:24.915 pjsua_aud.c ....Audio channel update..
17:23:24.915 strm0x1169ef828 .....VAD temporarily disabled
17:23:24.917 strm0x1169ef828 .....Encoder stream started
17:23:24.917 strm0x1169ef828 .....Decoder stream started
17:23:24.920 pjsua_media.c ....Audio updated, stream #0: PCMU (sendrecv)
17:23:24.921 pjsua_media.c .....Media stream call00:1 is destroyed
17:23:24.921 pjsua_vid.c ....Video channel update..
17:23:25.011 vstenc0x1169f3428 .....Encoder stream started
17:23:25.011 vstdec0x1169f3428 .....Decoder stream started
17:23:25.011 pjsua_vid.c .....Setting up RX..
17:23:25.011 pjsua_vid.c ......Creating video window: type=stream, cap_id=-1, rend_id=0
17:23:25.011 vid_port.c .......Opening device OpenGL renderer [OpenGL] for render: format=I420, size=1280x720 #22:1 fps
17:23:25.237 ios_opengl_dev.c .......iOS OpenGL ES renderer successfully created
17:23:25.237 vid_port.c .......Device OpenGL renderer [OpenGL] opened: format=BGRA, size=1280x720 #22:1 fps
17:23:25.242 vid_conf.c .......Added port 0 (OpenGL renderer)
17:23:25.242 pjsua_vid.c .......stream window id 0 created for cap_dev=-1 rend_dev=0
17:23:25.242 pjsua_vid.c .......Window 0 created
17:23:25.246 vid_conf.c ......Added port 1 (vstdec0x1169f3428)
17:23:25.246 vid_conf.c ......Port 1 (vstdec0x1169f3428) transmitting to port 0 (OpenGL renderer)
17:23:25.246 ios_opengl_dev.c ......Starting ios opengl stream
17:23:25.249 pjsua_vid.c .....Setting up TX..
17:23:25.250 vid_conf.c ......Added port 2 (vstenc0x1169f3428)
17:23:25.250 pjsua_vid.c ......Creating video window: type=preview, cap_id=2, rend_id=0
17:23:25.250 vid_port.c .......Opening device Front Camera [AVF] for capture: format=I420, size=1280x720 #15:1 fps
17:23:25.332 vid_port.c .......Device Front Camera [AVF] opened: format=I420, size=1280x720 #15:1 fps
I have same problem with iOS platform. If you using pjsua_call_answer2, you could replace 180 (PJSIP_SC_RINGING) to 183 (PJSIP_SC_PROGRESS). It work fine with "out_auto_transmit = true"
Related
After upgrading Android WebView to 80.0.3987.99 version, Android TV is not playing live HLS videos anymore (h264) on WebView based app (ionic 4).
Operating system: Android TV 9 (Exclusively on Android TV)
Kernel version: 4.9.113
Steps to reproduce:
(1) Just try to open a HLS h264 live video (m3u8 manifest) on a WebView based app on Android TV device using WebView 80.0.3987.99. You can use the attached APK.
Expected result: Video is not being played.
Downgrading WebView to minor versions (for example, 75.0.03770.143) and restarting the application, video is actually played with no issues.
APK download for testing:
https://bugs.chromium.org/p/chromium/issues/attachment?aid=433346&signed_aid=j3jgAQISOSoCW4DBQcRFXw==
Logs in logcat:
2020-02-12 15:57:40.206 24233-24336/com.eninetworks.enitvtester I/cr_MediaCodecBridge: create MediaCodec video decoder, mime video/avc
2020-02-12 15:57:40.277 24233-24349/com.eninetworks.enitvtester I/OMXClient: IOmx service obtained
2020-02-12 15:57:40.373 24233-24348/com.eninetworks.enitvtester I/MediaCodec: MediaCodec will operate in async mode
2020-02-12 15:57:40.382 24233-24348/com.eninetworks.enitvtester D/SurfaceUtils: connecting to surface 0xd1a7f008, reason connectToSurface
2020-02-12 15:57:40.383 24233-24348/com.eninetworks.enitvtester I/MediaCodec: [OMX.amlogic.avc.decoder.awesome] setting surface generation to 24814593
2020-02-12 15:57:40.383 24233-24348/com.eninetworks.enitvtester D/SurfaceUtils: disconnecting from surface 0xd1a7f008, reason connectToSurface(reconnect)
2020-02-12 15:57:40.383 24233-24348/com.eninetworks.enitvtester D/SurfaceUtils: connecting to surface 0xd1a7f008, reason connectToSurface(reconnect)
2020-02-12 15:57:40.386 24233-24349/com.eninetworks.enitvtester I/AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc
2020-02-12 15:57:40.386 24233-24349/com.eninetworks.enitvtester V/AVUtils: AVUtils::getComponentRole
2020-02-12 15:57:40.393 24233-24349/com.eninetworks.enitvtester E/ACodec: [OMX.amlogic.avc.decoder.awesome] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
2020-02-12 15:57:40.403 24233-24349/com.eninetworks.enitvtester I/AmAVUtils: AmAVUtils::isAudioExtendFormat input = video/avc
2020-02-12 15:57:40.470 24233-24349/com.eninetworks.enitvtester D/SurfaceUtils: disconnecting from surface 0xd1a7f008, reason setNativeWindowSizeFormatAndUsage
2020-02-12 15:57:40.470 24233-24349/com.eninetworks.enitvtester D/SurfaceUtils: connecting to surface 0xd1a7f008, reason setNativeWindowSizeFormatAndUsage
2020-02-12 15:57:40.470 24233-24349/com.eninetworks.enitvtester D/SurfaceUtils: set up nativeWindow 0xd1a7f008 for 1920x1080, color 0x11, rotation 0, usage 0x402b00
2020-02-12 15:57:40.471 24233-24349/com.eninetworks.enitvtester W/ACodec: [OMX.amlogic.avc.decoder.awesome] setting nBufferCountActual to 10 failed: -1010
2020-02-12 15:57:40.472 24233-24349/com.eninetworks.enitvtester W/ACodec: [OMX.amlogic.avc.decoder.awesome] setting nBufferCountActual to 9 failed: -1010
2020-02-12 15:57:40.473 24233-24349/com.eninetworks.enitvtester W/ACodec: [OMX.amlogic.avc.decoder.awesome] setting nBufferCountActual to 8 failed: -1010
2020-02-12 15:57:40.475 24233-24349/com.eninetworks.enitvtester W/ACodec: [OMX.amlogic.avc.decoder.awesome] setting nBufferCountActual to 7 failed: -1010
2020-02-12 15:57:40.475 24233-24349/com.eninetworks.enitvtester E/ACodec: Failed to allocate buffers after transitioning to IDLE state (error 0xfffffc0e)
2020-02-12 15:57:40.475 24233-24349/com.eninetworks.enitvtester E/ACodec: signalError(omxError 0x80001001, internalError -1010)
2020-02-12 15:57:40.478 24233-24348/com.eninetworks.enitvtester E/MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 5
2020-02-12 15:57:40.478 24233-24348/com.eninetworks.enitvtester E/libc: Access denied finding property "media.metrics.enabled"
2020-02-12 15:57:40.492 24233-24349/com.eninetworks.enitvtester W/AHierarchicalStateMachine: Warning message AMessage(what = 'omxI') = {
int32_t type = 0
int32_t event = 0
int32_t data1 = 0
int32_t data2 = 1
} unhandled in root state.
2020-02-12 15:57:40.506 24233-24348/com.eninetworks.enitvtester D/SurfaceUtils: disconnecting from surface 0xd1a7f008, reason disconnectFromSurface
**2020-02-12 15:57:40.518 24233-24336/com.eninetworks.enitvtester E/cr_MediaCodecBridge: Cannot start the media codec**
android.media.MediaCodec$CodecException: start failed
at android.media.MediaCodec.native_start(Native Method)
at android.media.MediaCodec.start(MediaCodec.java:2068)
at org.chromium.media.MediaCodecBridge.c(PG:8)
at org.chromium.media.MediaCodecBridgeBuilder.createVideoDecoder(PG:68)
2020-02-12 15:57:40.521 24233-24336/com.eninetworks.enitvtester W/cr_MediaCodecBridge: Releasing: OMX.amlogic.avc.decoder.awesome
2020-02-12 15:57:40.528 24233-24336/com.eninetworks.enitvtester W/cr_MediaCodecBridge: Codec released
2020-02-12 15:57:40.545 24233-24282/com.eninetworks.enitvtester D/AudioTrack: stop() called with 16940 frames delivered
2020-02-12 15:57:45.549 24233-24282/com.eninetworks.enitvtester E/libc: Access denied finding property "media.metrics.enabled"
2020-02-12 15:57:45.544 24233-24233/com.eninetworks.enitvtester W/AudioThread: type=1400 audit(0.0:48242): avc: denied { read } for name="u:object_r:media_prop:s0" dev="tmpfs" ino=2183 scontext=u:r:untrusted_app:s0:c47,c256,c512,c768 tcontext=u:object_r:media_prop:s0 tclass=file permissive=0
So, i've made little bit of progress. h.264 have issues with latest webview on Android TV. It even had on previous one. I've played with ffmpeg and apparently h.265 main 4.1 coded mp4 is not causing this issue. For me it still leaves with three.js texture issue with new codec. Try converting video, maybe it will bring luck to you and works :)
For those having this behaviour, there is a bug in the WebKit 80 which is accepted and it is being fixed on the release planned for march 17h.
I reported the bug to Chromium team, here you can read more about it:
https://bugs.chromium.org/p/chromium/issues/detail?id=1051705
I'm developing a web application integrating Vidyo and I need to record video calls. I followed the documentation guide and installed a Media Bridge Docker image in my server. I don't face problems on connecting with the media bridge, but effectively it doesn't record video nor audio. The output .flv file shows only a 10 seconds black screen with display names of the call particpants.
My configuration file is:
width=1280
height=720
fps=30
kbps=2000
layout=1
maxParticipants=8
overlay=1
videoCodec=H264
audioCodec=AAC
maxCallDuration=180
presentationAllowed=1
presWidth=1280
presHeight=720
presFps=5
presKbps=300
destination="flv:/opt/vidyo/recordingTest.flv"
resourceId="test_recording"
token=<TOKEN HERE>
host="prod.vidyo.io"
mediaPorts="50000-50100"
publicIp="127.0.0.1"
log=debug
And the errors in the output log file are:
[1050]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1208 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: special voice processing should be set to off prior to setting voice processing off.
[1050]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1219 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: unable to set voice processing off.
[1050]: LmiTransport ERROR [System thread] LmiTcpTransport.c:1435 LmiTcpTransportConstructAddressFromString Error resolving address roni.eng.vidyo.com:443: UnknownHost
[1050]: LmiSignaling ERROR [System thread] LmiStackConnection.c:36 LmiStackConnectionConstructOutbound Could not create connection to ed3df5eef18e3b0d
[1050]: XmppGateway ERROR [System thread] xmpp.c:1010 makeXmppCall failed: LmiUserLogin
[1050]: leg ERROR [System thread] leg.c:845 legStart epMakeCall failed. protocol: xmpp dest: room:demoRoom~token:<TOKEN>~server:roni.eng.vidyo.com config: addOverlay:on~caFile:/opt/vidyo/conf/openssl/certs/ca-certificates.crt~dropCall:on
[1050]: gwCall ERROR [System thread] call.c:1744 main failed: legStart 0
[126]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1208 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: special voice processing should be set to off prior to setting voice processing off.
[126]: LmiAudioProcessing ERROR [System thread] LmiAudioProcessing.c:1219 LmiAudioProcessingSetVoiceProcessing scip_xmpp_audio_processing audio processing: unable to set voice processing off.
[126]: writer ERROR [System thread] writer.c:876 writerUpdateStats failed: Assign audio stats
[126]: rtmp ERROR [System thread] rtmp.c:662 endpointGetStats failed: Update stats
[126]: leg ERROR [System thread] leg.c:1567 legGetStats failed: epGetStats failed
[126]: ScipXmppCommon ERROR xmpp scip_xmpp_common.c:269 sxcRemoteSourceAdded We already have video remote source - skip this one
[126]: LmiRtp ERROR xmpp LmiRtpSessionInline.h:294 LmiRtpSessionGetActiveRtpDestination 3LI/IGh+pOy/zbUmmgAa conn 1: Can't get active RTP destination from stopped session
[126]: LmiRtp ERROR xmpp LmiRtpSessionInline.h:294 LmiRtpSessionGetActiveRtpDestination 3LI/IGh+pOy/zbUmmgAa conn 2: Can't get active RTP destination from stopped session
[126]: XmppGateway ERROR xmpp xmpp.c:586 selectedParticipantListChanged failed: selected_participants_do_show_selected_n
[126]: leg ERROR videoRenderer leg.c:388 epCaptureVideo leg: xmpp get video frame failed
[126]: gwCall ERROR gw-tp-1 call.c:1472 peerCallEndTask legEndCall failed
In case if this helps you try this, this worked for me.You don't need SIP configuration
#main video/audio settings
width=1280
height=720
fps=30
kbps=2000
layout=1
maxParticipants=8
overlay=1
videoCodec=H264
audioCodec=PCM
maxCallDuration=180 # duration in minutes
#Presentation settings
presentationAllowed=1 #0 - ignore presentations 1 - replace main video with presentation
presWidth=1280
presHeight=720
presFps=5
presKbps=300
destination="flv:/opt/vidyo/<call_id>.flv"
#vidyo.io connection info
resourceId="<room_id>"
token="<call_token>"
host="prod.vidyo.io"
I have added pjsip VoIP functionality to my iOS App recently. Using pjsip offers no problem while the App is active, I can both receive and make Calls without issues.
But I seem to have a Problem with the sound devices in the background. The first call I receive from the background works fine, I get sound and I can close it normally.
The problem is after the first call I get no sound what so ever when I accept a call from the Background. The same happens if I make or receive a call while the App is active and then go to the background and receive a call.
When I close the app, the first Call from the background works normally again.
I have no idea what could cause that.
I have tried to manually close all calls via CallManager and I call a CXEndCallAction when the Server Side terminates the call, to get CallKit to close properly.
I'd be happy to post specific code passages, but currently, I have no clue where the problem could lie...
UPDATE:
I have figured out that the pjsip coreaudio initializes differently the second time.
Now the Question is, how do I reset CoreAudio in pjsip properly?
Successful Call Init:
11:03:01.615 tsx0x1030710a8 .....State changed from Trying to
Proceeding, event=TX_MSG
11:03:01.615 dlg0x1030840a8 ......Transaction tsx0x1030710a8 state changed to Proceeding
2019-02-13 11:03:01.615745+0100 VarioCallCTI[11928:2820452] Incoming call from "Matthias" <sip:238#80.80.245.33>
11:03:01.618 pjsua_aud.c ..Set sound device: capture=0, playback=0
11:03:01.618 pjsua_aud.c !Set sound device: capture=0, playback=0
11:03:01.619 pjsua_aud.c !...Opening sound device PCM#16000/1/20ms
11:03:01.619 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.808024+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 16000 Hz, Int16> inf< 1 ch, 16000 Hz, Int16>)
11:03:01.851 pjsua_aud.c ...Opening sound device PCM#44100/1/20ms
11:03:01.851 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.859854+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 44100 Hz, Int16> inf< 1 ch, 44100 Hz, Int16>)
11:03:01.860 pjsua_aud.c ...Opening sound device PCM#48000/1/20ms
11:03:01.860 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.867061+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>)
11:03:01.867 pjsua_aud.c ...Opening sound device PCM#32000/1/20ms
11:03:01.867 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.874321+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 32000 Hz, Int16> inf< 1 ch, 32000 Hz, Int16>)
11:03:01.875 pjsua_aud.c ...Opening sound device PCM#16000/1/20ms
11:03:01.875 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.881126+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 16000 Hz, Int16> inf< 1 ch, 16000 Hz, Int16>)
11:03:01.881 pjsua_aud.c ...Opening sound device PCM#8000/1/20ms
11:03:01.881 coreaudio_dev. ....Using VoiceProcessingIO audio unit
2019-02-13 11:03:01.888214+0100 VarioCallCTI[11928:2820452] [aurioc] 1029: failed: '!int' (enable 3, outf< 1 ch, 8000 Hz, Int16> inf< 1 ch, 8000 Hz, Int16>)
11:03:01.888 pjsua_aud.c ...Unable to open sound device: Unknown error -560117684 [status=-560117684]
Error in Setting of Audio Devices - IncomingCall
TESTPRINT FOR NOTIFICATION INFO: eingehender anruf von 238
TESTPRINT FOR NOTIFICATION INFO: 238
Unsuccessful Call Init:
11:03:49.840 tsx0x103064ea8 .....State changed from Trying to Proceeding, event=TX_MSG
11:03:49.840 dlg0x1030906a8 ......Transaction tsx0x103064ea8 state changed to Proceeding
2019-02-13 11:03:49.841013+0100 VarioCallCTI[11928:2820906] Incoming call from "Matthias" <sip:238#80.80.245.33>
11:03:49.842 pjsua_aud.c ..Set sound device: capture=0, playback=0
11:03:49.842 pjsua_aud.c ...Opening sound device PCM#16000/1/20ms
11:03:49.842 coreaudio_dev. ....Using VoiceProcessingIO audio unit
11:03:49.847 pjsua_aud.c !Set sound device: capture=0, playback=0
2019-02-13 11:03:50.276837+0100 VarioCallCTI[11928:2820280] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
2019-02-13 11:03:50.277597+0100 VarioCallCTI[11928:2820280] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
2019-02-13 11:03:50.292488+0100 VarioCallCTI[11928:2820280] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
2019-02-13 11:03:50.293379+0100 VarioCallCTI[11928:2820280] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
11:03:50.383 coreaudio_dev. !....core audio stream started
Setting of Audio Devices Successfull - IncomingCall
TESTPRINT FOR NOTIFICATION INFO: eingehender anruf von 238
TESTPRINT FOR NOTIFICATION INFO: 238
I have figured out how to solve the Problem.
Since the PJSIP Library Init caused the coreAudio to initialize before the priority bump required by iOS was fully finished, I had to open CallKit and register at the PJSIP Server inside the CallKit - ProviderDelegate
func reportIncomingCall(uuid: UUID, handle: String, hasVideo: Bool = false, completion: ((NSError?) -> Void)?) {
let update = CXCallUpdate()
update.remoteHandle = CXHandle(type: .generic, value: handle)
update.hasVideo = hasVideo
//MARK: Final Working Solution
print("Starting PJSIP after PUSH")
pjsipfunctions.init().registersip(mainUser.sipData["User"], mainUser.sipData["Password"], mainUser.sipData["Server"])
provider.reportNewIncomingCall(with: uuid, update: update) { error in
if error == nil {
let call = Call(uuid: uuid, handle: handle)
self.callManager.add(call: call)
userTerminatedCall = false
}
completion?(error as? NSError)
}
}
}
I am working on PJSIP. Two ways Video and Audio call are working fine but the issue is when app is in background and I made a new Incoming call, The callKit is showing new incoming call and I picked up the call. Then app moves from background to foreground but video is not showing and audio is working at that time. If I made a call in foreground then video is showing at both end.
Please find below the logs :
15:48:19.251 ios_opengl_dev .......Failed to initialize iOS OpenGL because we are in background
15:48:19.251 vid_port.c .......Closing OpenGL renderer..
15:48:19.319 pjsua_vid.c .......Window 0: destroying..
15:48:19.319 pjsua_media.c ....pjsua_vid_channel_update() failed for call_id 0 media 1: video subsystem not initialized (PJMEDIA_EVID_INIT)
15:48:19.319 pjsua_media.c ....Error updating media call00:1: video subsystem not initialized (PJMEDIA_EVID_INIT)
15:48:19.319 pjsua_app.c ...Call 0 media 0 [type=audio], status is Active
15:48:19.319 pjsua_aud.c ...Conf connect: 3 --> 0
15:48:19.319 pjsua_app.c ....Turning sound device ON
15:48:19.319 conference.c ....Port 3 (sip:linchpin#192.168.1.7) transmitting to port 0 (Master/sound)
15:48:19.319 pjsua_aud.c ...Conf connect: 0 --> 3
15:48:19.319 conference.c ....Port 0 (Master/sound) transmitting to port 3 (sip:linchpin#192.168.1.7)
15:48:19.319 pjsua_app.c ...Call 0 media 1 [type=video], status is Error
15:48:19.319 pjsua_app.c ...Just rejected incoming video offer on call 0, use "vid call enable 1" or "vid call add" to enable video!
Add some delay in answering the call it will work as sometimes PJSIP is taking time to initiate the camera.
I had compiled the code from this link, also I am able to successfully register a account on sip server. But when I make a sip call then it gives a trap error in pjsua_call_media_init.
I need help to understand the reason for error mentioned below.
--end msg--
14:51:34.422 pjsua_acc.c ....SIP outbound status for acc 0 is not active
14:51:34.422 pjsua_acc.c ....sip:ssssingh#sip.antisip.com: registration success, status=200 (OK), will re-register in 300 seconds
14:51:34.422 pjsua_acc.c ....Keep-alive timer started for acc 0, destination:91.121.81.212:5060, interval:15s
2013-07-04 14:51:34.423 GossipExample[1049:4603] Gossip: dispatchRegistrationState(0)
2013-07-04 14:51:46.651 GossipExample[1049:907] Gossip: ringbackWithSoundNamed: /var/mobile/Applications/1B440F28-7F74-46D5-A120-9C0B3C35AD65/GossipExample.app/ringtone.wav
14:51:46.653 pjsua_aud.c !Creating playlist with 1 file(s)..
14:51:46.655 wav_playlist.c .WAV playlist 'WAV playlist' created: samp.rate=44100, ch=2, bufsize=4KB
14:51:46.657 pjsua_aud.c .Playlist created, id=0, slot=1
14:51:47.708 pjsua_call.c Making call with acc #0 to sip:chakrit2#getonsip.com
14:51:47.710 pjsua_aud.c .Set sound device: capture=-1, playback=-2
14:51:47.711 pjsua_aud.c ..Opening sound device PCM#16000/1/20ms
14:51:47.712 coreaudio_dev. ...Using RemoteIO audio unit
14:51:48.013 coreaudio_dev. ...core audio stream started
14:51:48.021 pjsua_media.c .Call 0: initializing media..
After the above sequence of events there is a trap error, image is below