Package 

Class ConnectOptions

    • Constructor Detail

      • ConnectOptions

        ConnectOptions(Boolean autoSubscribe, List<PeerConnection.IceServer> iceServers, PeerConnection.RTCConfiguration rtcConfig, Boolean audio, Boolean video, ProtocolVersion protocolVersion)
    • 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