Rate this page:

VIVideoFlags

Specifies video direction for call.

Methods

defaultVideoFlags

Static
Copy URL
+ (

instancetype

)defaultVideoFlags

Default VIVideoFlags with receiveVideo and sendVideo set to YES.

Returns

  • type:

    instancetype

videoFlagsWithReceiveVideo:sendVideo:

Static
Copy URL
+ (

instancetype

)videoFlagsWithReceiveVideo:(

BOOL

)receiveVideo
sendVideo:(

BOOL

)sendVideo

Creates a VIVideoFlags instance with specified video directions.

Parameters

  • receiveVideo:

    BOOL

    Whether receiving video is enabled for a call

  • sendVideo:

    BOOL

    Whether sending video is enabled for a call

Returns

  • type:

    instancetype

Props

receiveVideo

Copy URL
@property (assign, nonatomic) 

BOOL

receiveVideo

Whether receiving video is enabled for a call.

Returns

  • type:

    BOOL

sendVideo

Copy URL
@property (assign, nonatomic) 

BOOL

sendVideo

Whether sending video is enabled for a call.

Returns

  • type:

    BOOL