setIsPublishing method

Future<void> setIsPublishing({
  1. bool? camera,
  2. bool? microphone,
})

Implementation

Future<void> setIsPublishing({final bool? camera, final bool? microphone}) => updatePublishing(
      publishing: PublishingSettingsUpdate.set(
        camera: CameraPublishingSettingsUpdate.set(isPublishing: camera?.let(BoolUpdate.set)),
        microphone: MicrophonePublishingSettingsUpdate.set(isPublishing: microphone?.let(BoolUpdate.set)),
      ),
    );