[
https://issues.apache.org/jira/browse/CB-11817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15902461#comment-15902461
]
ASF GitHub Bot commented on CB-11817:
-------------------------------------
Github user shanesmith commented on the issue:
https://github.com/apache/cordova-plugin-media/pull/116
This change has broken recording from what I'm seeing.
The plugin requires the file to have a "wav" extension, however now that
the audio is being encoded as "kAudioFormatMPEG4AAC" it doesn't work, the
extension needs to be "m4a" or "aac" (at least those are the two that I've
tested successfully).
Seems like an update here
(https://github.com/apache/cordova-plugin-media/blob/master/src/ios/CDVSound.m#L41)
and in the documentation would be needed to resolve this.
> audioSettings shows as unused variable and settings are not used when
> configuring a recorder
> --------------------------------------------------------------------------------------------
>
> Key: CB-11817
> URL: https://issues.apache.org/jira/browse/CB-11817
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Affects Versions: 2.3.0
> Environment: iOS
> Reporter: Gaven Henry
> Assignee: Shazron Abdullah
> Priority: Minor
> Labels: easyfix
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> xcode shows up 2 warnings when building within CDVSound.m
> 1) unused variable 'audioSettings'
> 2) Null passed to a callee that requires non-null when creating an
> audioFile.recorder
> To resolve both of these just need to pass the autoSettings object to the
> audioFile.recorder function.
> This resolves both warnings and actually applies the autoSettings as expected.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]