flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Singer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35391) Pictures from Camera are slower coming into the app using SDK 28
Date Mon, 20 Aug 2018 12:43:00 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Will Singer updated FLEX-35391:
-------------------------------
    Description: 
Builds with sdk 28 using Flex 4.16.1 Air 28 and FP 28 with apple devices, pictures taken in
the app come into the app much slower than they did with 4.15 Air 23 FP 23.  With SDK 23
pictures came into the app in less than 2 seconds on iPhone 6, with sdk 28 picture are taking
over 6 seconds to come into the app.  With all apple devices, pictures are taking a good
bit longer to come into the app using the new sdk 28 vs. using the older sdk 23.

I discovered important information on this issue.  The number of bytes that is being processed
has increased greatly even through the height of the picture had not.  Using the same code
and taking a picture of the same thing I go from 1,379,846 bytes (sdk 26) to 10,659,755 bytes
(sdk 28). 

When the user clicks "use photo" the MediaEvent hits and inside it I create the loaderComplete
event.

loader = new Loader();
 loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleted);
 loader.loadFilePromise(mediaPromise);

 

When the loaderComplete hits I get the loaderInfo where I can see the number of bytes for
the picture has greatly increased.

var loaderInfo:LoaderInfo = event.target as LoaderInfo;

loaderInfo.bytesLoaded or loaderInfo.bytesTotal

 

I'm hoping that you can tell me what was changed from sdk 26 to sdk 28 to caused this.  That
way I could hand edit sdk 28 to be like 26 in regards to this.

 

  was:Builds with sdk 28 using Flex 4.16.1 Air 28 and FP 28 with apple devices, pictures taken
in the app come into the app much slower than they did with 4.15 Air 23 FP 23.  With SDK
23 pictures came into the app in less than 2 seconds on iPhone 6, with sdk 28 picture are taking
over 6 seconds to come into the app.  With all apple devices, pictures are taking a good
bit longer to come into the app using the new sdk 28 vs. using the older sdk 23.


> Pictures from Camera are slower coming into the app using SDK 28
> ----------------------------------------------------------------
>
>                 Key: FLEX-35391
>                 URL: https://issues.apache.org/jira/browse/FLEX-35391
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Mobile
>    Affects Versions: Apache Flex 4.16.1
>         Environment: Apple Devices, with SDK 28
>            Reporter: Will Singer
>            Priority: Critical
>
> Builds with sdk 28 using Flex 4.16.1 Air 28 and FP 28 with apple devices, pictures taken
in the app come into the app much slower than they did with 4.15 Air 23 FP 23.  With SDK
23 pictures came into the app in less than 2 seconds on iPhone 6, with sdk 28 picture are taking
over 6 seconds to come into the app.  With all apple devices, pictures are taking a good
bit longer to come into the app using the new sdk 28 vs. using the older sdk 23.
> I discovered important information on this issue.  The number of bytes that is being
processed has increased greatly even through the height of the picture had not.  Using the
same code and taking a picture of the same thing I go from 1,379,846 bytes (sdk 26) to 10,659,755
bytes (sdk 28). 
> When the user clicks "use photo" the MediaEvent hits and inside it I create the loaderComplete
event.
> loader = new Loader();
>  loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleted);
>  loader.loadFilePromise(mediaPromise);
>  
> When the loaderComplete hits I get the loaderInfo where I can see the number of bytes
for the picture has greatly increased.
> var loaderInfo:LoaderInfo = event.target as LoaderInfo;
> loaderInfo.bytesLoaded or loaderInfo.bytesTotal
>  
> I'm hoping that you can tell me what was changed from sdk 26 to sdk 28 to caused this. 
That way I could hand edit sdk 28 to be like 26 in regards to this.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message