[
https://issues.apache.org/jira/browse/CB-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605865#comment-14605865
]
ASF GitHub Bot commented on CB-9238:
------------------------------------
Github user daserge commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-media/pull/58#discussion_r33482725
--- Diff: src/windows/MediaProxy.js ---
@@ -226,6 +301,10 @@ module.exports = {
try {
if (thisM.node) {
thisM.node.onloadedmetadata = null;
+ // Unsubscribing as the media object is being released
+ thisM.node.onerror = null;
+ // Needed to avoid "0x80070005 - JavaScript runtime error:
Access is denied." on copyAsync
--- End diff --
This occurs when there is an Audio object with `src` set to a file being
rewritten on recording.
> Media plugin cannot record audio on windows
> -------------------------------------------
>
> Key: CB-9238
> URL: https://issues.apache.org/jira/browse/CB-9238
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media, Windows
> Reporter: Alexander Sorokin
>
> Steps to reproduce:
> - create mobile spec app with media plugin
> - run mobile spec app on windows store or windows phone
> - go to media manual tests
> - click "Record Audio 10 sec"
> The result is: RecordAudio():Audio Error: 1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]