voice-quickstart-ios: Application Crashing on Making Outbound Call
Description
Application is crashing when we start calling on any outbound call
Steps to Reproduce
- Registered with VOIP
- Access Token Created
- Call on outbound number
- App got crashed
Code
2020-09-17 15:33:01.632029+0530 Second Phone Number[5369:237499] StartCallAction transaction request successful
2020-09-17 15:33:01.644056+0530 Second Phone Number[5369:237282] providerDidBegin
2020-09-17 15:33:01.644311+0530 Second Phone Number[5369:237282] provider:performStartCallAction:
2020-09-17 15:33:01.832713+0530 Second Phone Number[5369:237282] provider:didActivateAudioSession:
2020-09-17 15:33:02.602534+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x10c740030] get output frames failed, state 8196
2020-09-17 15:33:02.602854+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x10c740030] get output frames failed, state 8196
2020-09-17 15:33:02.603759+0530 Second Phone Number[5369:237545] TIC Read Status [9:0x0]: 1:57
2020-09-17 15:33:02.603864+0530 Second Phone Number[5369:237545] TIC Read Status [9:0x0]: 1:57
2020-09-17 15:33:02.610100+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x10c547bb0] get output frames failed, state 8196
2020-09-17 15:33:02.610168+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x10c547bb0] get output frames failed, state 8196
2020-09-17 15:33:02.611015+0530 Second Phone Number[5369:237545] TIC Read Status [10:0x0]: 1:57
2020-09-17 15:33:02.611044+0530 Second Phone Number[5369:237545] TIC Read Status [10:0x0]: 1:57
2020-09-17 15:33:03.401012+0530 Second Phone Number[5369:237282] callDidStartRinging:
2020-09-17 15:33:04.503996+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C12.1:2][0x10c54b210] get output frames failed, state 8196
2020-09-17 15:33:04.504094+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C12.1:2][0x10c54b210] get output frames failed, state 8196
2020-09-17 15:33:04.504316+0530 Second Phone Number[5369:237497] TIC Read Status [12:0x0]: 1:57
2020-09-17 15:33:04.504441+0530 Second Phone Number[5369:237497] TIC Read Status [12:0x0]: 1:57
2020-09-17 15:33:04.523239+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C13.1:2][0x10c79f1d0] get output frames failed, state 8196
2020-09-17 15:33:04.523357+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C13.1:2][0x10c79f1d0] get output frames failed, state 8196
2020-09-17 15:33:04.523920+0530 Second Phone Number[5369:237497] TIC Read Status [13:0x0]: 1:57
2020-09-17 15:33:04.524004+0530 Second Phone Number[5369:237497] TIC Read Status [13:0x0]: 1:57
2020-09-17 15:33:04.567849+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C14.1:2][0x10c564150] get output frames failed, state 8196
2020-09-17 15:33:04.567974+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C14.1:2][0x10c564150] get output frames failed, state 8196
2020-09-17 15:33:04.569970+0530 Second Phone Number[5369:237497] TIC Read Status [14:0x0]: 1:57
2020-09-17 15:33:04.570065+0530 Second Phone Number[5369:237497] TIC Read Status [14:0x0]: 1:57
2020-09-17 15:33:05.342497+0530 Second Phone Number[5369:237503] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C15.1:2][0x112013670] get output frames failed, state 8196
2020-09-17 15:33:05.342607+0530 Second Phone Number[5369:237503] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C15.1:2][0x112013670] get output frames failed, state 8196
2020-09-17 15:33:05.343111+0530 Second Phone Number[5369:237503] TIC Read Status [15:0x0]: 1:57
2020-09-17 15:33:05.343191+0530 Second Phone Number[5369:237503] TIC Read Status [15:0x0]: 1:57
2020-09-17 15:33:05.373982+0530 Second Phone Number[5369:237282] pushRegistry:didReceiveIncomingPushWithPayload:forType:completion:
2020-09-17 15:33:05.527470+0530 Second Phone Number[5369:237282] *** Terminating app due to uncaught exception 'TVOAudioDeviceMustBeSetBeforeMediaStackSetup', reason: 'WebRTC does not allow updating the audio device once the media stack is created (i.e once a track is created or memory allocated for previously created call or connect option is not deleted). You should provide the audio device to SDK prior to creating the tracks.'
*** First throw call stack:
(0x18e2d8518 0x18d4b39f8 0x18e1f5ec0 0x108df7450 0x108de4ce8 0x104a61b08 0x104a61b50 0x1ba2a68f8 0x1ba216d38 0x1ba217040 0x1ba217f7c 0x1ba219210 0x1ba1fc420 0x1bacd7e54 0x1927661f0 0x19276b198 0x1926ce0a8 0x1926fc108 0x1926fccf8 0x18e26989c 0x18e2645c4 0x18e264b40 0x18e264354 0x19046479c 0x1ba84fb68 0x104996bbc 0x18dd2a8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
Expected Behavior
Call needs to work properly
Actual Behavior
App is crashing on connecting call
Reproduces How Often
100%
Twilio Call SID(s)
NT95737611adc715ede76fa2c28ffc7e7f NT2ed458c0dec3cbed65ef9b598ef8f238
Logs
2020-09-17 15:33:01.632029+0530 Second Phone Number[5369:237499] StartCallAction transaction request successful
2020-09-17 15:33:01.644056+0530 Second Phone Number[5369:237282] providerDidBegin
2020-09-17 15:33:01.644311+0530 Second Phone Number[5369:237282] provider:performStartCallAction:
2020-09-17 15:33:01.832713+0530 Second Phone Number[5369:237282] provider:didActivateAudioSession:
2020-09-17 15:33:02.602534+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x10c740030] get output frames failed, state 8196
2020-09-17 15:33:02.602854+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C9.1:2][0x10c740030] get output frames failed, state 8196
2020-09-17 15:33:02.603759+0530 Second Phone Number[5369:237545] TIC Read Status [9:0x0]: 1:57
2020-09-17 15:33:02.603864+0530 Second Phone Number[5369:237545] TIC Read Status [9:0x0]: 1:57
2020-09-17 15:33:02.610100+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x10c547bb0] get output frames failed, state 8196
2020-09-17 15:33:02.610168+0530 Second Phone Number[5369:237545] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C10.1:2][0x10c547bb0] get output frames failed, state 8196
2020-09-17 15:33:02.611015+0530 Second Phone Number[5369:237545] TIC Read Status [10:0x0]: 1:57
2020-09-17 15:33:02.611044+0530 Second Phone Number[5369:237545] TIC Read Status [10:0x0]: 1:57
2020-09-17 15:33:03.401012+0530 Second Phone Number[5369:237282] callDidStartRinging:
2020-09-17 15:33:04.503996+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C12.1:2][0x10c54b210] get output frames failed, state 8196
2020-09-17 15:33:04.504094+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C12.1:2][0x10c54b210] get output frames failed, state 8196
2020-09-17 15:33:04.504316+0530 Second Phone Number[5369:237497] TIC Read Status [12:0x0]: 1:57
2020-09-17 15:33:04.504441+0530 Second Phone Number[5369:237497] TIC Read Status [12:0x0]: 1:57
2020-09-17 15:33:04.523239+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C13.1:2][0x10c79f1d0] get output frames failed, state 8196
2020-09-17 15:33:04.523357+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C13.1:2][0x10c79f1d0] get output frames failed, state 8196
2020-09-17 15:33:04.523920+0530 Second Phone Number[5369:237497] TIC Read Status [13:0x0]: 1:57
2020-09-17 15:33:04.524004+0530 Second Phone Number[5369:237497] TIC Read Status [13:0x0]: 1:57
2020-09-17 15:33:04.567849+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C14.1:2][0x10c564150] get output frames failed, state 8196
2020-09-17 15:33:04.567974+0530 Second Phone Number[5369:237497] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C14.1:2][0x10c564150] get output frames failed, state 8196
2020-09-17 15:33:04.569970+0530 Second Phone Number[5369:237497] TIC Read Status [14:0x0]: 1:57
2020-09-17 15:33:04.570065+0530 Second Phone Number[5369:237497] TIC Read Status [14:0x0]: 1:57
2020-09-17 15:33:05.342497+0530 Second Phone Number[5369:237503] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C15.1:2][0x112013670] get output frames failed, state 8196
2020-09-17 15:33:05.342607+0530 Second Phone Number[5369:237503] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C15.1:2][0x112013670] get output frames failed, state 8196
2020-09-17 15:33:05.343111+0530 Second Phone Number[5369:237503] TIC Read Status [15:0x0]: 1:57
2020-09-17 15:33:05.343191+0530 Second Phone Number[5369:237503] TIC Read Status [15:0x0]: 1:57
2020-09-17 15:33:05.373982+0530 Second Phone Number[5369:237282] pushRegistry:didReceiveIncomingPushWithPayload:forType:completion:
2020-09-17 15:33:05.527470+0530 Second Phone Number[5369:237282] *** Terminating app due to uncaught exception 'TVOAudioDeviceMustBeSetBeforeMediaStackSetup', reason: 'WebRTC does not allow updating the audio device once the media stack is created (i.e once a track is created or memory allocated for previously created call or connect option is not deleted). You should provide the audio device to SDK prior to creating the tracks.'
*** First throw call stack:
(0x18e2d8518 0x18d4b39f8 0x18e1f5ec0 0x108df7450 0x108de4ce8 0x104a61b08 0x104a61b50 0x1ba2a68f8 0x1ba216d38 0x1ba217040 0x1ba217f7c 0x1ba219210 0x1ba1fc420 0x1bacd7e54 0x1927661f0 0x19276b198 0x1926ce0a8 0x1926fc108 0x1926fccf8 0x18e26989c 0x18e2645c4 0x18e264b40 0x18e264354 0x19046479c 0x1ba84fb68 0x104996bbc 0x18dd2a8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
Versions
6.0.0
Voice iOS SDK
6.0.0
Xcode
11.6
iOS Version
12.2
iOS Device
iPhone 8 plus
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 30 (15 by maintainers)
Hello @bobiechen-twilio thanks it worked after that we have discussed the same with support of twilio on ticket. Issue was on swtting the TWIML which has been done now. Thanks for your support