Skip to content

App terminates video call after user answer it (iOS calls Xiaomi 9T) #1601

@remiwaw

Description

@remiwaw

Platform: Android 11 Xiaomi 9t (on emulator pixel 9 works)

When iOS user calls a user on Android.
The connection is terminated right away.

SDK version
Android: 1.18.3
iOS: 1.38.1

With following stacktrace on Android side:
Maybe based on the stacktrace you'd be able to tell what's wrong.

2026-01-14 13:09:58.430 21185-22183 Call:PeerConnection:publisher MY_APP_PACKAGE E (rtc-call-152DC852-D683-464D-9C87-714DF5F73171:28977) SetPublisherRequest Received error:
  Error code=ERROR_CODE_REQUEST_VALIDATION_FAILED
  message=Invalid SetPublisher request
  should_retry=false
SetPublisherRequest SDP:
  v=0
  o=- 4454798445543199276 2 IN IP4 127.0.0.1
  s=-
  t=0 0
  a=group:BUNDLE 0 1
  a=extmap-allow-mixed
  a=msid-semantic: WMS 9078752bbe944785:1:59 9078752bbe944785:2:70
  m=video 9 UDP/TLS/RTP/SAVPF 39 40 103 104 43 44 96 97 98 99 107 108 109
  c=IN IP4 0.0.0.0
  a=rtcp:9 IN IP4 0.0.0.0
  a=ice-ufrag:3I2S
  a=ice-pwd:Cx23EpTph0zrVWx4R0o/Ts79
  a=ice-options:trickle renomination
  a=fingerprint:sha-256 A6:7C:CC:...
  a=setup:actpass
  a=mid:0
  [video codecs and attributes…]
  m=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126
  c=IN IP4 0.0.0.0
  a=rtcp:9 IN IP4 0.0.0.0
  a=ice-ufrag:3I2S
  a=ice-pwd:Cx23EpTph0zrVWx4R0o/Ts79
  a=setup:actpass
  a=mid:1
  [audio codecs and attributes…]
  a=ssrc:846316172 cname:zRUfgkYc9hvzMM08
  a=ssrc:846316172 msid:9078752bbe944785:1:59 86028c8a-1071-480a-a51a-19ec9fb93324
session_id=dad9abdc-ed7c-4ecc-bf74-28c80feb3ca9
tracks=[
  TrackInfo{
    track_id=d71428b6-c943-445e-b961-23c9e6bc3572,
    track_type=TRACK_TYPE_VIDEO,
    mid=0,
    dtx=false,
    stereo=false,
    red=false,
    muted=true,
    codec=VP9 profile-id=0
  },
  TrackInfo{
    track_id=86028c8a-1071-480a-a51a-19ec9fb93324,
    track_type=TRACK_TYPE_AUDIO,
    mid=1,
    dtx=false,
    stereo=false,
    red=false,
    muted=false,
    codec=Opus
  }
]

2026-01-14 13:09:58.430 21185-22183 Call:PeerConnection:publisher MY_APP_PACKAGE E (rtc-call-152DC852-D683-464D-9C87-714DF5F73171:28977) rejoin cause error in sfuClient.setPublisher
message=Invalid SetPublisher request

2026-01-14 13:09:58.431 21185-22183 Call:WebRTC MY_APP_PACKAGE E (rtc-call-152DC852-D683-464D-9C87-714DF5F73171:28977) [onLogMessage]
label=webrtc_sdp.cc
message=(line 417): Failed to parse: ""
Reason=Expect line: v=

2026-01-14 13:09:58.556 1461-9671 android.hardware.media.codec E Service not available yet
2026-01-14 13:09:58.558 1461-9671 OMX-VDEC-1080P media.codec E Unsupported output color format for c2d (2141391876)
2026-01-14 13:09:58.558 1461-9671 OMX-VDEC-1080P media.codec E Setting color format failed
2026-01-14 13:09:58.565 1461-9671 OMX-VDEC-1080P media.codec E Extension: storeANWBufferInMetadata not implemented
2026-01-14 13:09:58.565 1461-9671 OMX-VDEC-1080P media.codec E Extension: configureVideoTunnelMode not implemented
2026-01-14 13:09:58.565 1461-9671 OMX-VDEC-1080P media.codec E Extension: useAndroidNativeBuffer is supported
2026-01-14 13:09:58.565 1461-9671 OMX-VDEC-1080P media.codec E get_parameter: unknown param 7f000046
2026-01-14 13:09:58.565 1461-9671 OMXNodeInstance media.codec E getParameter ERROR: UnsupportedIndex
2026-01-14 13:09:58.566 1461-9671 OMXNodeInstance media.codec E getParameter ERROR: UnsupportedSetting
2026-01-14 13:09:58.566 1461-9671 OMXNodeInstance media.codec E getParameter ERROR: UnsupportedSetting
2026-01-14 13:09:58.571 1461-14633 OMXNodeInstance media.codec E getParameter ERROR: UnsupportedSetting

2026-01-14 13:09:58.597 21185-21276 Video:SfuSocket MY_APP_PACKAGE E DefaultDispatcher-worker-3 error:
  streamError=NetworkError
  message=Server closed connection
  serverErrorCode=1002
  statusCode=-1
  cause=null

2026-01-14 13:09:58.597 21185-21276 Video:SfuSocketState MY_APP_PACKAGE E DefaultDispatcher-worker-3 onUnrecoverableError:
  error=NetworkError
  message=Server closed connection
  serverErrorCode=1002
  statusCode=-1

2026-01-14 13:09:58.598 21185-21276 Video:SfuSocketState MY_APP_PACKAGE E DefaultDispatcher-worker-3 Cannot handle UnrecoverableError while in state Disconnected.ByRequest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions