这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot establish call when forcing RELAY transport #682

@akaizz2

Description

@akaizz2

Environment

  • LiveKit SDK Version: 2.14.0
  • Platform: Android
  • Issue: Connection fails when forcing ICE transport type to RELAY

Description

I'm trying to force RELAY transport for calls using the configuration below, but it fails to establish connections

room.connect(  
    livekitWss,  
    livekitToken,  
    ConnectOptions(  
        rtcConfig = PeerConnection.RTCConfiguration(emptyList()).apply {  
            iceTransportsType = PeerConnection.IceTransportsType.RELAY  
            sdpSemantics = PeerConnection.SdpSemantics.UNIFIED_PLAN  
            continualGatheringPolicy =  
                PeerConnection.ContinualGatheringPolicy.GATHER_CONTINUALLY  
        }  
    )  
)

Additional Information

  • iOS works fine with the same server configuration
  • The issue only occurs when forcing RELAY transport
  • Connection works on Android when not specifying the transport type (allowing all transport types)

Debug Logs

[LiveKit and WebRTC debug logs]

Is there additional configuration required for Android to work with RELAY-only connections?

Please let me know if you need any additional information. Thank you in advance for your help!

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