maemo.org Bugzilla – Bug 1889
Add Camera support to Flash plug-in.
Last modified: 2010-01-12 15:19:30 UTC
You need to
before you can comment on or make changes to this bug.
The URL provided above illustrates the advantages of adding the Camera support
to the Flash plug-in. Currently Microphone support already works, so this is
just a driver upgrade.
Camera support for the Flash plug-in will allow the Flash plug-in to upload or
stream video directly to sites like YouTube, uStream, and others.
To replicate the conditions:
Go to any site that uses Flash for webcam access. I will use YouTube as an
Click "Upload" in the YouTube, fill out the description fields, and choose "Use
QuickCapture" In the screen that follows in a webcam equipped PC, the user
will be asked for permission for the Flash player to use the webcam and
microphone. After permission is granted, the microphone is detected but the
webcam is not. Holding the stylus down on the Flash window and then choosing
Settings, then choosing the Webcam icon allows the user to select a webcam from
a list. On all my webcam-equipped computers, the webcams are listed. On the
N800, there is no option.
Lack of camera support in Flash is still an issue in OS2008.
Could possibly be that the features which allow you to stream from a camera
with flash is something that was removed from the version of Flash running on
Secondly, it seems like just trying to take a simple picture can be too much
for the tablet to handle as camera, videocamera and knips all are VERY slow and
VERY crashy. There's no doubt in my mind that if this bug was fixed, it
wouldn't really be worthwhile anyways... unless your viewers enjoy Youtube
videos at 1 frame per 2.6 seconds.
(In reply to comment #3)
I wouldn't write it off so quickly. It does decent tablet-to-tablet video
Comment added to enhancement request 1833 (N800 to PC video calls) to raise
awareness of the synergy that would come from adding webcam support in Flash.
I found a site for simple testing of Flash audio and video.
Create a short recording on the left-hand side, Save/replace it and then play
it back on the right-hand side.
As expected, the webcam is not supported. But I also didn't get any good
audio, just a bit of noise.
I've done some research about the APIs being used by Flash Player 9 for A/V
input and here's what I found it is expecting:
# Audio I/O: ALSA
# Camera input: Video4Linux, API version 1
That is what we need to ask Nokia to support in their microphone and webcam
drivers. Hopefully they are feeling generous. :)
Sorry, the correct URL for the Flash testing site is:
A little birdie told me that Flash relies on an open source library called
I have no idea where the official source for this library is, below are some
In theory it should be possible to find and build some version of
libflashsupport as a drop in replacement for a file by the same name in
/usr/lib, from there, all anyone in the maemo community has to do is "get
camera working with this library".
Note: this isn't a browser task. We don't have resources to do it. It's only
dumped in this component because there's no other place for it (corporate
Anyway, anyone interested is welcome to work on this. If you have questions
about how the library works, I'm not sure to whom they should be addressed.
This seems like a fairly good starting point as required reading:
* You will notice additional code in flashsupport.c for GnuTLS,
VideoForLinux1, and ALSA. These are not working in Adobe Flash Player
9 beta 1 for Linux; they are provided for reference only.
AFAIu, maemo uses or has a v4l implementation:
Note: the browser team has no knowledge of multimedia APIs, the best and only
support I can offer is cross referencing of modules.
As such, the following link should eventually be moderately useful (in
conjunction with the chinook link above):
(In reply to comment #8)
> * You will notice additional code in flashsupport.c for GnuTLS,
> VideoForLinux1, and ALSA. These are not working in Adobe Flash Player
> 9 beta 1 for Linux; they are provided for reference only.
I believe this information is out of date. The Flash version included with
OS2008 (per about:plugins) is 9.0.31 and the related release notes here:
section < Fixes and improvements in Flash Player 18.104.22.168: Support for Linux >
states: "Only ALSA is supported for microphone input and speaker output, and
only Video4Linux v1 is supported for camera input."
This information should be moderately useful.
From my research, I believe ALSA and VFL1 are the default APIs in Flash Player
22.214.171.124. It looks like flashsupport.c is only required if you wish to use a
different API (eg. the most common use is for adding OpenSoundSystem audio
But in the event it is still needed, I found what looks to be the latest
version of flashsupport.c (rev 1.3) in a Sourceforge project that is maintained
by two Adobe Flash staff, here:
in the CVS repository here:
Note: I also discovered the latest build of Flash Player for Linux is 126.96.36.199,
but the only change was to address a security vulnerability.
if ( ( instance->v4l_fd = open("/dev/video", O_RDONLY) ) < 0 ) goto
the n810 only has /dev/video0, this won't work. try changing it :)
I don't code so I can't try the suggestion from Timeless myself, but I just
Maemo 4.x > How to Use Camera API
which says "The built-in camera present in some Nokia Internet Tablet devices
is compatible with Video-4-Linux version 2 API".
But Flash 9 is looking for a Video-4-Linux version 1 API. So that may be an
Flashcam here by tz1:
I was unable to test as my flash in diablo is different but it seems to be
working fine for the people on chinook.
Hi, as for today productizing this feature as requested requires a significant
effort from our side. We have considered it but according to the current plans
we will not work on this for Fremantle. Undecided for Harmattan at this point.
If the feature itself comes through the Flash player owners, the community or a
different implementation, that is another thing.
I'm not sure what to do with this bug. WONTFIX until we have different plans?
LATER? Leave it as it is?
Quim: Just CC me when needed. :-)
If the devs decide to not work on this, it is WONTFIX to me (which means:
somebody could stand up and fix it, but it will not be the developer himself).
And "RESOLVED LATER" is something very very strange that just hides the fact
that no-one will work on it in the next time. I can only encourage everybody to
not use it. ;-)
(Split Plug-Ins into "Flash" and "Others", hence correcting QA Contact.
Sorry for the noise.)
fwiw, for the n900, i was told that it was intentionally disabled. it was
actually technically working at one point (accidentally). among other things,
we're afraid of pages managing to get users to accidentally enable the camera
and the privacy concerns that entails.
note that i'd really love to see this feature, because i'd much rather use
Gmail for video than use the rest of the platform :). But....
*** Bug 7047 has been marked as a duplicate of this bug. ***
Hi, I *am* the Flash user community (well, part of it anyway) :-)
Although I can understand 'afraid of pages managing to get users to
accidentally enable the camera', it's difficult to do this accidentally (each
domain generates an in-Flash prompt on each access) and it's not an issue in
other operating systems (i.e. desktop Linux, Mac, Windows) even where those do
not have hardware 'camera in use' lights.
If the N900 is advertised as 'full Flash 9', and it has a camera (or two), it
just seems odd that neither work in the Player.
I understand it may require work from Adobe as well as Nokia, but if it's more
a case of turning it back on than actually writing it, why can't this be done ?
I'm happy to have further discussions about the 'other things' too, of course.
On desktop Flash a dialog appears in the Flash content asking for permission to
use the camera on that website, and the permission is not saved permanently
unless you manually go into Flash settings and tick remember. This seems to
cover privacy enough for me although I don't know if it is working in the same
way on N900.
According to Adobe, Flash 10.1 should be coming to Maemo, hopefully this is at
least being considered for that version.
If it doesn't support the devices camera, I think refering to it as 'full
Flash' of either v9 or v10.1 is a bit disingenuous.
You wouldn't expect with (say) a laptop computer that came with a built in
camera to be unable to use that in Flash...
Guys, this is a bug tracking system. Your comments are not adding value to our
bugs. They're adding noise - This doesn't help anyone fix anything.
If you want to write wishlists, please use another service, there's
http://talk.maemo.org and http://wiki.maemo.org/Brainstorm
If you want to contact managers directly, please use Nokia Care, they aggregate
complaints and deliver reports to managers.
If you want to complain to marketing, please contact
Note that engineers working here are often doing so as a favor to the
community, we're opening up details about our internal (thought) processes
which we would otherwise normally not share at all. If you proceed to complain
in response to information sharing, the natural response is to simply stop
sharing information. That would be a net loss for the maemo.org community. So
please, instead of thinking about yourself or your "own community", please
think about the *Maemo community* before you add comments.
Sorry, I thought it would be OK to discuss the reasons for a bug being closed
unfixed here, on the bug, because then it'd be all in one place.
I'll be on the forums :-)
please vote for the solution.
Now we can resolve this with the more recent resolution MOVED to Brainstorm.
The scope of bugs.maemo.org are bugs and only very specific and no-brainer
enhancement requests. This report contains a feature request that is too
generic for bugs.maemo.org. Please post this problem and propose your
solution in Maemo Brainstorm instead:
More information: http://wiki.maemo.org/Maemo_brainstorm