Rate this page:

VIVideoFlags

Specifies video direction for call.

Methods

defaultVideoFlags

Static
Copy URL
defaultVideoFlags(): 

instancetype

Default VIVideoFlags with receiveVideo and sendVideo set to YES.

Returns

  • type:

    instancetype

videoFlagsWithReceiveVideo:sendVideo:

Static
Copy URL
videoFlagsWithReceiveVideo:sendVideo:(receiveVideo: 

BOOL

,
sendVideo:

BOOL

):

instancetype

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
receiveVideo: 

Whether receiving video is enabled for a call.

Returns

  • type:

    BOOL

sendVideo

Copy URL
sendVideo: 

Whether sending video is enabled for a call.

Returns

  • type:

    BOOL