I have been trying to debug this for a while, but can't think of anything.
The application uses this to edit its own twilio library.
Everything works fine on iOS, but on Android, after making the call, I get what looks like an endless loop that shows the following errors:
01-04 17:54:34.430 8477-8617/com.channelmobile D/PJSIP: 17:54:34.430 resolver.c !Received 109 bytes DNS response from 10.0.2.3:53 01-04 17:54:34.465 8477-9329/com.channelmobile D/PJSIP: 17:54:34.465 speex !warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.491 8477-8617/com.channelmobile D/PJSIP: 17:54:34.431 resolver.c Nameserver 10.0.2.3:53 state changed Active --> Active 01-04 17:54:34.518 8477-9329/com.channelmobile D/PJSIP: 17:54:34.518 speex !warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.523 8477-9329/com.channelmobile D/PJSIP: 17:54:34.523 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.549 8477-8617/com.channelmobile D/PJSIP: 17:54:34.491 resolver.c !DNS response from 10.0.2.3:53 id=3 discarded 01-04 17:54:34.558 8477-9329/com.channelmobile D/PJSIP: 17:54:34.558 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.558 8477-9329/com.channelmobile D/PJSIP: 17:54:34.558 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.562 8477-9329/com.channelmobile D/PJSIP: 17:54:34.562 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.609 8477-9329/com.channelmobile D/PJSIP: 17:54:34.609 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.613 8477-9329/com.channelmobile D/PJSIP: 17:54:34.613 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.664 8477-9329/com.channelmobile D/PJSIP: 17:54:34.664 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.669 8477-9329/com.channelmobile D/PJSIP: 17:54:34.669 speex warning: Had to discard a playback frame (your application is buggy and/or got xruns) 01-04 17:54:34.681 8477-9330/com.channelmobile D/PJSIP: 17:54:34.681 speex !warning: No playback frame available (your application is buggy and/or got xruns) 01-04 17:54:34.681 8477-9330/com.channelmobile D/PJSIP: 17:54:34.681 speex warning: No playback frame available (your application is buggy and/or got xruns) 01-04 17:54:34.682 8477-9330/com.channelmobile D/PJSIP: 17:54:34.682 speex warning: No playback frame available (your application is buggy and/or got xruns) 01-04 17:54:34.682 8477-9330/com.channelmobile D/PJSIP: 17:54:34.682 speex warning: No playback frame available (your application is buggy and/or got xruns)
The error is triggered when a call is initiated:
Twilio.connect({ To: '+61234567890' })
Any idea what could be causing this?
android react-native twilio twilio-api
Nader dabit
source share