Calls are not connected while using cellular internet
aamir-github opened this issue · 2 comments
aamir-github commented
If one of the ends (dialing or receiving device) is using cellular internet, the call gets dialed but never gets connected. Here are the logs
2020-09-18 12:55:00.279 18984-22233/? I/org.webrtc.Logging: NetworkMonitorAutoDetect: capabilities changed: [ Transports: CELLULAR Capabilities: SUPL&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted: LinkUpBandwidth>=380Kbps Specifier: <1>]
2020-09-18 12:55:00.513 18984-22207/? E/AudioTrack: start(): 0x7d9545a400, mState = 1
2020-09-18 12:55:01.253 18984-19211/? D/AudioTrack: stop(): 0x7d9545a400, mState = 0
2020-09-18 12:55:01.253 18984-19211/? D/AudioTrack: stop() called with 36100 frames delivered
2020-09-18 12:55:01.253 18984-19211/? D/AudioTrack: audiotrack 0x7d9545a400 stop done
2020-09-18 12:55:03.513 18984-22207/? E/AudioTrack: start(): 0x7d9545a400, mState = 1
2020-09-18 12:55:04.247 18984-19211/? D/AudioTrack: stop(): 0x7d9545a400, mState = 0
2020-09-18 12:55:04.247 18984-19211/? D/AudioTrack: stop() called with 36190 frames delivered
2020-09-18 12:55:04.248 18984-19211/? D/AudioTrack: audiotrack 0x7d9545a400 stop done
2020-09-18 12:55:06.513 18984-22207/? E/AudioTrack: start(): 0x7d9545a400, mState = 1
2020-09-18 12:55:07.239 18984-19211/? D/AudioTrack: stop(): 0x7d9545a400, mState = 0
2020-09-18 12:55:07.239 18984-19211/? D/AudioTrack: stop() called with 36190 frames delivered
2020-09-18 12:55:07.239 18984-19211/? D/AudioTrack: audiotrack 0x7d9545a400 stop done
2020-09-18 12:55:09.286 18984-22233/? I/org.webrtc.Logging: NetworkMonitorAutoDetect: capabilities changed: [ Transports: CELLULAR Capabilities: SUPL&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted: LinkUpBandwidth>=757Kbps Specifier: <1>]
2020-09-18 12:55:09.513 18984-22207/? E/AudioTrack: start(): 0x7d9545a400, mState = 1
2020-09-18 12:55:10.261 18984-19211/? D/AudioTrack: stop(): 0x7d9545a400, mState = 0
2020-09-18 12:55:10.261 18984-19211/? D/AudioTrack: stop() called with 36100 frames delivered
2020-09-18 12:55:10.261 18984-19211/? D/AudioTrack: audiotrack 0x7d9545a400 stop done
2020-09-18 12:55:11.481 18984-22233/? I/org.webrtc.Logging: NetworkMonitorAutoDetect: capabilities changed: [ Transports: CELLULAR Capabilities: SUPL&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted: Specifier: <1>]
2020-09-18 12:55:12.175 18984-19240/? D/conversations: ----@chinwag.im: packet delivered to JingleRtpConnection
2020-09-18 12:55:12.183 18984-19240/? D/conversations: ----@chinwag.im: received session terminate reason=connectivity-error() while in state SESSION_ACCEPTED
2020-09-18 12:55:12.189 18984-22849/? D/conversations: ----@chinwag.im: PeerConnectionState changed to CLOSED
2020-09-18 12:55:12.191 18984-22849/? D/conversations: eu.siacs.conversations.xmpp.jingle.ToneManager.transition(ENDING_CALL)
2020-09-18 12:55:12.191 18984-22849/? D/conversations: eu.siacs.conversations.xmpp.jingle.ToneManager: do not configure audio manager because RTC has control
2020-09-18 12:55:12.193 18984-22207/? E/AudioTrack: start(): 0x7d9545a400, mState = 1
2020-09-18 12:55:12.194 18984-22849/? D/conversations: onJingleRtpConnectionUpdate(ENDING_CALL)
2020-09-18 12:55:12.196 18984-22849/? D/WebRTCWrapper: onSignalingChange(CLOSED)
2020-09-18 12:55:12.199 18984-22848/? I/org.webrtc.Logging: VolumeLogger: stop@[name=worker_thread - 22848, id=4954]
2020-09-18 12:55:12.200 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: stopPlayout
2020-09-18 12:55:12.201 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: underrun count: 1
2020-09-18 12:55:12.201 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: stopThread
2020-09-18 12:55:12.202 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: Stopping the AudioTrackThread...
2020-09-18 12:55:12.203 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoReleasing.
2020-09-18 12:55:12.204 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoAlready released
2020-09-18 12:55:12.206 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoReleasing.
2020-09-18 12:55:12.207 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoAlready released
2020-09-18 12:55:12.230 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrackThread has now been stopped.
2020-09-18 12:55:12.231 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: Calling AudioTrack.stop...
2020-09-18 12:55:12.232 18984-22848/? D/AudioTrack: stop(): 0x7d92770000, mState = 0
2020-09-18 12:55:12.232 18984-22848/? D/AudioTrack: stop() called with 696960 frames delivered
2020-09-18 12:55:12.232 18984-22848/? D/AudioTrack: audiotrack 0x7d92770000 stop done
2020-09-18 12:55:12.234 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: AudioTrack.stop is done.
2020-09-18 12:55:12.235 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: doAudioTrackStateCallback: 1
2020-09-18 12:55:12.236 18984-22848/? I/org.webrtc.Logging: WebRtcAudioTrackExternal: releaseAudioResources
2020-09-18 12:55:12.236 18984-22848/? D/AudioTrack: stop(): 0x7d92770000, mState = 1
2020-09-18 12:55:12.238 18984-22848/? D/AudioTrack: ~AudioTrack(): 0x7d92770000
2020-09-18 12:55:12.238 18984-22848/? D/AudioTrack: stop(): 0x7d92770000, mState = 1
2020-09-18 12:55:12.239 18984-22848/? W/MediaAnalyticsItem: Unable to record: [1:audiotrack:0:-1::0:-1:1:0:5:android.media.audiotrack.underrunframes=770:android.media.audiotrack.type=AUDIO_CONTENT_TYPE_SPEECH:android.media.audiotrack.usage=AUDIO_USAGE_VOICE_COMMUNICATION:android.media.audiotrack.samplerate=48000:android.media.audiotrack.channelmask=1:] [forcenew=0]
2020-09-18 12:55:12.244 18984-22847/? I/org.webrtc.Logging: NetworkMonitor: Stop monitoring with native observer 538826052096
2020-09-18 12:55:12.246 18984-22847/? I/org.webrtc.Logging: NetworkMonitorAutoDetect: Unregister network callback
2020-09-18 12:55:12.271 18984-19240/? D/conversations: ----@chinwag.im: transitioned into TERMINATED_CONNECTIVITY_ERROR
2020-09-18 12:55:12.273 18984-19240/? D/conversations: onJingleRtpConnectionUpdate(CONNECTIVITY_ERROR)
2020-09-18 12:55:12.273 18984-19240/? D/conversations: end card reached
2020-09-18 12:55:12.273 18984-19240/? D/conversations: releasing proximity wake lock
2020-09-18 12:55:12.299 18984-18984/? D/conversations: eu.siacs.conversations.services.AppRTCAudioManager.stop()
2020-09-18 12:55:12.299 18984-19240/? D/conversations: ForegroundService: on
2020-09-18 12:55:12.300 18984-18984/? D/conversations: stop: BT state=HEADSET_UNAVAILABLE
2020-09-18 12:55:12.301 18984-18984/? D/AudioManager: isBluetoothScoOn: isScoOn = false
2020-09-18 12:55:12.303 18984-18984/? D/conversations: stopScoAudio: BT state=HEADSET_UNAVAILABLE, SCO is on: false
2020-09-18 12:55:12.304 18984-18984/? D/conversations: cancelTimer
2020-09-18 12:55:12.304 18984-18984/? D/conversations: stop done: BT state=UNINITIALIZED
2020-09-18 12:55:12.306 18984-18984/? D/AudioManager: setMode mode=0 from eu.siacs.conversations
2020-09-18 12:55:12.546 18984-19211/? D/AudioTrack: stop(): 0x7d9545a400, mState = 0
2020-09-18 12:55:12.546 18984-19211/? D/AudioTrack: stop() called with 18052 frames delivered
2020-09-18 12:55:12.546 18984-19211/? D/AudioTrack: audiotrack 0x7d9545a400 stop done
2020-09-18 12:55:12.569 18984-18984/? D/conversations: Abandoned audio focus for VOICE_CALL streams
2020-09-18 12:55:12.570 18984-18984/? D/conversations: stop@[name=main, id=2]
2020-09-18 12:55:12.576 18984-22207/? D/conversations: eu.siacs.conversations.xmpp.jingle.ToneManager: putting AudioManager back into normal mode
2020-09-18 12:55:12.576 18984-22207/? D/AudioManager: setMode mode=0 from eu.siacs.conversations
2020-09-18 12:55:12.587 18984-22207/? I/AudioManager: In setSpeakerphoneOn(), on: false, calling application: eu.siacs.conversations
2020-09-18 12:55:12.588 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoReleasing.
2020-09-18 12:55:12.590 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoAlready released
2020-09-18 12:55:12.591 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoReleasing.
2020-09-18 12:55:12.591 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoAlready released
2020-09-18 12:55:12.592 18984-22207/? D/AudioManager: setSpeakerphoneOn keys: get_speaker_authority=eu.siacs.conversations, mAuthoriyStr = true
2020-09-18 12:55:12.594 18984-18984/? I/Choreographer: Skipped 1 frames! The application may be doing too much work on its main thread.
2020-09-18 12:55:17.287 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoReleasing.
2020-09-18 12:55:17.288 18984-18984/? I/org.webrtc.Logging: EglRenderer: remote_videoAlready released
2020-09-18 12:55:17.288 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoReleasing.
2020-09-18 12:55:17.288 18984-18984/? I/org.webrtc.Logging: EglRenderer: local_videoAlready released
2020-09-18 12:55:17.290 18984-18984/? D/conversations: app switched into background
andrewnenakhov commented
To the extent of my knowledge Xabber for Android doesn't yet have voice calls capability.
aamir-github commented
Sorry sir, my bad
To the extent of my knowledge Xabber for Android doesn't yet have voice calls capability.
Sorry sir, my bad