You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/08 00:58:59 UTC
[jira] [Commented] (CB-10488) MediaFile.getFormatData does not work
with localURL; changed with fullPath
[ https://issues.apache.org/jira/browse/CB-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730607#comment-15730607 ]
ASF subversion and git services commented on CB-10488:
------------------------------------------------------
Commit ab8b63308c1df274b7c98f816ee7f41fcec98313 in cordova-plugin-media-capture's branch refs/heads/1.4.x from [~TanaseButcaru]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=ab8b633 ]
CB-10488 Fix for MediaFile.getFormatData
> MediaFile.getFormatData does not work with localURL; changed with fullPath
> --------------------------------------------------------------------------
>
> Key: CB-10488
> URL: https://issues.apache.org/jira/browse/CB-10488
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media Capture
> Environment: Android, iOS
> Reporter: Tanase Butcaru
> Labels: Android, iOS, media-capture, triaged
>
> _MediaFile.getFormatData_ result data was empty (filled with default "0" values) for all types of capture: image, video & audio.
> Problem encountered on Android & iOS.
> I solved this by changing the url passed to native code from _localURL_ to _fullPath_.
> Tested with two different Android phones (5.1 & 4.4) & one iPhone 5 (iOS 9).
> The fix works!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org