# setCrop

Version: 4.1.0+

Description: enabling/disabling the "smart crop, face tracking" feature - automatic tracking of speakers' faces that appear on camera with VideoSDK/Room.

Through the cropChanged notification, information is received about the change in the state of this function.

Request example:

{
    "method" : "setCrop",
    "requestId" : "1",
    "enabled" : true
}

Response example:

{
    "method": "setCrop",
    "requestId" : "1",
    "result": true
}

Parameter description:

  • enabled - a mandatory flag indicating the enabling/disabling of "smart cropping"

  • requestId - unique request identifier. More details can be found here

See also: