SIGN UP

VIVideoFlags

Specifies video direction for call.

Methods

defaultVideoFlags

+ (instancetype)defaultVideoFlags

Default VIVideoFlags with receiveVideo and sendVideo set to YES.

Returns

  • Return:

    instancetype

    instance

videoFlagsWithReceiveVideo:sendVideo:

+ (instancetype)videoFlagsWithReceiveVideo:(BOOL)receiveVideo
                                 sendVideo:(BOOL)sendVideo

Creates VIVideoFlags instance with specified video directions.

Parameters

  • receiveVideo:

    BOOL

    Specify if video receiving is enabled for a call.

  • sendVideo:

    BOOL

    Specify if video sending is enabled for a call.

Returns

  • Return:

    instancetype

    instance

Properties

receiveVideo

@property (assign, nonatomic) BOOL receiveVideo

Specify if video receiving is enabled for a call.

sendVideo

@property (assign, nonatomic) BOOL sendVideo

Specify if video sending is enabled for a call.