nosnia-audio-recorder 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -237,7 +237,7 @@ RCT_EXPORT_METHOD(startRecording:(NSDictionary *)options
|
|
|
237
237
|
|
|
238
238
|
// Validate all required keys are present
|
|
239
239
|
if (!recordingSettings[AVFormatIDKey] || !recordingSettings[AVSampleRateKey] ||
|
|
240
|
-
!recordingSettings[AVNumberOfChannelsKey] || !recordingSettings[
|
|
240
|
+
!recordingSettings[AVNumberOfChannelsKey] || !recordingSettings[AVLinearPCMBitDepthKey]) {
|
|
241
241
|
reject(@"SETTINGS_ERROR", @"Incomplete recording settings", nil);
|
|
242
242
|
return;
|
|
243
243
|
}
|
package/package.json
CHANGED