updateDetails method
- CameraDetails newDetails,
- {bool restart = true}
Updates the camera's details, which will take effect on the next sendFrame call.
Implementation
void updateDetails(CameraDetails newDetails, {bool restart = true}) {
details.mergeFromMessage(newDetails);
if (restart) {
stop();
start();
}
}