Closed
Bug 801693
Opened 12 years ago
Closed 12 years ago
Camera - video recording - need to plumb video recorder error-handling
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: mikeh, Assigned: mikeh)
References
Details
Attachments
(1 file, 2 obsolete files)
23.46 KB,
patch
|
jst
:
review+
daleharvey
:
feedback+
|
Details | Diff | Splinter Review |
This is likely related to the work required for bug 795090, but filing it separately and explicitly here. The hook is to pass a suitable Listener-derived object into setListener().
Assignee | ||
Updated•12 years ago
|
blocking-basecamp: --- → ?
Updated•12 years ago
|
blocking-basecamp: ? → +
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mhabicher
Status: NEW → ASSIGNED
Assignee | ||
Updated•12 years ago
|
Whiteboard: [LOE:S]
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
:dale, how's this for an error handler? Any thoughts on what kind of errors you want to get or even how specific they are? It seems that in some cases, recovery is just restarting the preview, but I'm still trying to come up with a way of reliably triggering errors.
Attachment #676447 -
Flags: feedback?(dale)
Comment 3•12 years ago
|
||
We will likely want to have 'time remaining' notifications, as well as when the recording is force stopped due to out of space. I cant think of many other expected errors. Just in terms of nitting the api I would expect these to be an eventListener which would conform to the usual eventlistener semantics (addEventListener / remove etc), but that isnt a big deal for me.
Updated•12 years ago
|
Attachment #676447 -
Flags: feedback?(dale) → feedback+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #3) > We will likely want to have 'time remaining' notifications, as well as when > the recording is force stopped due to out of space. I cant think of many > other expected errors. Time remaining notifications? Other errors: this may happen if the uSD card fails for some reason, or the recorder runs out of memory, or who knows what. > Just in terms of nitting the api I would expect these to be an eventListener > which would conform to the usual eventlistener semantics (addEventListener / > remove etc), but that isnt a big deal for me. Agreed. I'm still learning how to do that, and will update all of the onX event handlers.
Assignee | ||
Comment 5•12 years ago
|
||
try-server push: https://tbpl.mozilla.org/?tree=Try&rev=881cf3083dbb jst, do you have time for one more review? dale, the messages this change will kick out to you include: - FileSizeLimitReached and VideoLengthLimitReached - TrackCompleted (two of these will accompany the above messages, or any time the recorder is stopped: one for the audio track, one for the video) - MediaRecorderFailed, MediaServerFailed, and TrackFailed I think they're pretty self-describing; when you receive one, the preview will freeze--just call stopRecording() and the preview will resume.
Attachment #676446 -
Attachment is obsolete: true
Attachment #677517 -
Flags: review?(jst)
Attachment #677517 -
Flags: feedback?(dale)
Comment 6•12 years ago
|
||
Comment on attachment 677517 [details] [diff] [review] Add support for onRecorderStateChange Looks good!
Attachment #677517 -
Flags: review?(jst) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #676447 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 7•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b9835e1e6be8
Flags: in-testsuite-
Keywords: checkin-needed
Assignee | ||
Updated•12 years ago
|
Whiteboard: [LOE:S] → needs-checkin-aurora
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b9835e1e6be8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Attachment #677517 -
Flags: feedback?(dale) → feedback+
You need to log in
before you can comment on or make changes to this bug.
Description
•