Merge pull request #53 from daily-demos/dev-1117-remove-extra-call-object-check

DEV-1117: remove extra callObject check from startRecordingWithCountdown()
This commit is contained in:
Kimberlee Johnson 2022-01-03 13:09:19 -08:00 committed by GitHub
commit 20563ae8f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ export const RecordingProvider = ({ children }) => {
if (!callObject || !enableRecording) return;
setIsRecordingLocally(true);
setRecordingState(RECORDING_COUNTDOWN_3);
callObject?.sendAppMessage({
callObject.sendAppMessage({
event: 'recording-starting',
});
}, [callObject, enableRecording]);