CPICEServer

Objective-C

@interface CPICEServer : NSObject

Swift

class CPICEServer : NSObject

This class stores url, username and password of stun or turn servers.

@since 1.0.0

  • url

    The url of iceServer.

    Declaration

    Objective-C

    @property (strong, readonly, nonnull) NSString *url;

    Swift

    var url: String { get }

    Return Value

    String @since 1.0.0

  • The username of iceServer.

    Declaration

    Objective-C

    @property (strong, readonly, nullable) NSString *username;

    Swift

    var username: String? { get }

    Return Value

    String @since 1.0.0

  • The password of iceServer.

    Declaration

    Objective-C

    @property (strong, readonly, nullable) NSString *password;

    Swift

    var password: String? { get }

    Return Value

    String @since 1.0.0

  • Declaration

    Objective-C

    - (BOOL)canUpdateTurnCredentials;

    Swift

    func canUpdateTurnCredentials() -> Bool

    Return Value

    Returns true if ice servers can be updated