Removed extra callObject check from startRecordingWithCountdown

This commit is contained in:
Kimberlee Johnson 2021-12-15 13:07:40 -08:00
parent 5b5643e8a7
commit f0b0f369c0
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]);