Package 

Class ConnectOptions

    • Method Detail

      • getIceServers

         final List<PeerConnection.IceServer> getIceServers()

        A user-provided list of ice servers. This will be merged into the ice servers in rtcConfig if it is also provided.

      • getRtcConfig

         final PeerConnection.RTCConfiguration getRtcConfig()

        A user-provided RTCConfiguration to override options.

        Note: LiveKit requires PeerConnection.SdpSemantics.UNIFIED_PLAN and PeerConnection.ContinualGatheringPolicy.GATHER_CONTINUALLY.

      • getAudio

         final Boolean getAudio()

        capture and publish audio track on connect, defaults to false

      • getVideo

         final Boolean getVideo()

        capture and publish video track on connect, defaults to false

      • getClientProtocol

         final ClientProtocolVersion getClientProtocol()

        The client protocol version to advertise to other participants in the room for peer-to-peer feature negotiation (RPC v2, etc.). Defaults to the latest version supported by this SDK build.