SIGN UP

VIVideoFlags

Specifies video direction for call.

Methods

+ (instancetype)defaultVideoFlags

Default VIVideoFlags with receiveVideo and sendVideo set to YES.

Returns

  • Return:

    instancetype

    instance

+ (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

@property (assign, nonatomic) BOOL receiveVideo

Specify if video receiving is enabled for a call.

@property (assign, nonatomic) BOOL sendVideo

Specify if video sending is enabled for a call.