Package org.drinkless.tdlib
Class TdApi.CallServerTypeWebrtc
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.CallServerType
org.drinkless.tdlib.TdApi.CallServerTypeWebrtc
- Enclosing class:
- TdApi
A WebRTC server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Authentication password.booleanTrue, if the server supports STUN.booleanTrue, if the server supports TURN.Username to be used for authentication. -
Constructor Summary
ConstructorsConstructorDescriptionA WebRTC server.CallServerTypeWebrtc(String username, String password, boolean supportsTurn, boolean supportsStun) A WebRTC server. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
username
Username to be used for authentication. -
password
Authentication password. -
supportsTurn
public boolean supportsTurnTrue, if the server supports TURN. -
supportsStun
public boolean supportsStunTrue, if the server supports STUN. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-