Class TdApi.CallServerTypeWebrtc

    • Field Detail

      • username

        public String username
        Username to be used for authentication.
      • password

        public String password
        Authentication password.
      • supportsTurn

        public boolean supportsTurn
        True, if the server supports TURN.
      • supportsStun

        public boolean supportsStun
        True, if the server supports STUN.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CallServerTypeWebrtc

        public CallServerTypeWebrtc()
        A WebRTC server.
      • CallServerTypeWebrtc

        public CallServerTypeWebrtc​(String username,
                                    String password,
                                    boolean supportsTurn,
                                    boolean supportsStun)
        A WebRTC server.
        Parameters:
        username - Username to be used for authentication.
        password - Authentication password.
        supportsTurn - True, if the server supports TURN.
        supportsStun - True, if the server supports STUN.