[TIMOB-8629] iOS: Playing sound while the camera is open (or opening the camera after the sound has played) causes media errors
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-07-27T17:53:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | api |
Reporter | Richard Vallee |
Assignee | Eric Merriman |
Created | 2012-03-09T08:16:36.000+0000 |
Updated | 2017-07-27T17:53:32.000+0000 |
Description
Playing a sound (Ti.Media.createSound) while the camera is open causes the shutter overlay to close, often not re-opening and causing the camera to be useless.
Playing a sound, then opening the camera fires camera error (i.e. the camera error function is called), then the camera cannot save the clip (i.e. clicking "Use"). The application then hangs, since the camera will not close and the "Cancel" button is disabled.
[DEBUG] Orphaned [object TiMediaSound] is trying to forget [object TiMediaSound].
This is the error object passed to the camera error function:
: [DEBUG] [Thu Mar 08 2012 12:41:27 GMT-0500 (EST)] type = error
: code = 1
: source = [object MediaModule]
: success = false
My bad, correlation, not causation :) Unrelated issue was happening at the same time.
Issue
AudioServicesPlaySystemSound nonfunctional with AVCaptureSession audio deviceCommunity bug report - iOS 5
http://openradar.appspot.com/10292971Hey Richard, Eduardo posted a link to a community bug that has been submitted to Apple. This is a bug inside iOS, not Titanium, therefore we have no control over this. Once Apple fixes this issue, it should work again. Junaid
Moved to Titanium Mobile section, this bug exists but needs to be followed up with Apple regarding this issue.
Closing due to inactivity. If this issue still exists, please raise a new ticket.