Closed
Bug 945562
Opened 11 years ago
Closed 11 years ago
[Camera] Camcorder fails to create video files with permission error
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(blocking-b2g:1.3+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)
People
(Reporter: ikumar, Assigned: ikumar)
Details
(Whiteboard: [fxos:media])
Attachments
(1 file, 2 obsolete files)
1.12 KB,
patch
|
ikumar
:
review+
|
Details | Diff | Splinter Review |
Video recording is not working on our reference hardware with this error message:
"Couldn't create file '/storage/sdcard1/DCIM/100MZLLA/VID_0001.3gp': (13) Permission denied"
Adding AID_SDCARD_R and AID_MEDIA_RW to the camera group privileges fixes the issue:
https://mxr.mozilla.org/mozilla-central/source/ipc/chromium/src/base/process_util_linux.cc#306
We need to make this change to unblock camcorder functionality on v1.3
Another possible fix is to land the fix in bug 910498, where we delegate the fd creation to b2g process.
![]() |
||
Comment 2•11 years ago
|
||
:inder do we have a fix for media detection after the video capture and from video player for qcom devices?
![]() |
||
Updated•11 years ago
|
Flags: needinfo?(ikumar)
(In reply to Madana Manjunatha from comment #2)
> :inder do we have a fix for media detection after the video capture and from
> video player for qcom devices?
Yes, that was fixed by bug 939211.
Flags: needinfo?(ikumar)
![]() |
||
Updated•11 years ago
|
Assignee: nobody → ikumar
blocking-b2g: 1.3? → 1.3+
![]() |
||
Comment 4•11 years ago
|
||
:ikumar i am working on qcom device, After the video capture, the recorded video file should be added to the filmstrip. For me, it is not getting added to the film strip.
Can you please confirm?
Flags: needinfo?(ikumar)
(In reply to Madana Manjunatha from comment #4)
> :ikumar i am working on qcom device, After the video capture, the recorded
> video file should be added to the filmstrip. For me, it is not getting added
> to the film strip.
>
> Can you please confirm?
Recorded videos show up fine in the video app. Please pick the latest code from CAF.
Flags: needinfo?(ikumar)
Attachment #8342749 -
Flags: review?(dhylands)
Comment 7•11 years ago
|
||
Comment on attachment 8342749 [details] [diff] [review]
Camera also needs AID_SDCARD_R and AID_MEDIA_RW groups
Review of attachment 8342749 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me...
Attachment #8342749 -
Flags: review?(dhylands) → review+
Fix patch format.
Carry forward :dylands review+
Attachment #8342749 -
Attachment is obsolete: true
Attachment #8342764 -
Flags: review+
Keywords: checkin-needed
Comment 9•11 years ago
|
||
Keywords: checkin-needed
Comment 10•11 years ago
|
||
![]() |
||
Comment 11•11 years ago
|
||
ICS!
ikumar -- you have try access right?
![]() |
Assignee | |
Comment 12•11 years ago
|
||
(In reply to Michael Vines [:m1] [:evilmachines] from comment #11)
> ICS!
>
> ikumar -- you have try access right?
Yes, I do. Sorry, next time will use that first.
Will need conditional compilation here. Will upload a new patch.
![]() |
Assignee | |
Comment 13•11 years ago
|
||
Added conditional compilation.
Carry forward Dave's review+ because no new code besides the conditional compilation.
Attachment #8342764 -
Attachment is obsolete: true
Attachment #8344520 -
Flags: review+
![]() |
Assignee | |
Comment 14•11 years ago
|
||
verified on try: https://tbpl.mozilla.org/?tree=Try&rev=d59b7297490e
Keywords: checkin-needed
Comment 15•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
![]() |
||
Updated•11 years ago
|
status-b2g-v1.3:
--- → affected
Comment 17•11 years ago
|
||
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Target Milestone: --- → 1.3 C1/1.4 S1(20dec)
![]() |
||
Updated•11 years ago
|
Whiteboard: [fxos:media]
![]() |
||
Updated•11 years ago
|
Flags: in-testsuite+
Updated•11 years ago
|
status-b2g-v1.3T:
--- → fixed
status-b2g-v1.4:
--- → fixed
![]() |
||
Updated•11 years ago
|
Flags: in-moztrap-
Comment 18•11 years ago
|
||
The test case has been added here in Moztrap: https://moztrap.mozilla.org/manage/case/13753/
Flags: in-moztrap- → in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•