The Mobile Media API implementation supports audio and video recording.
You cannot take a photo from a capture://video
locator
in the Series 40 implementation.
The capture://audio
locator is used for audio recording.
The audio recorder is created with a "capture://audio
"
locator. The supported encoding types are listed in the property "audio.encodings
".
The video recorder is created with a "capture://video
"
locator. In Series 40, if the width and height do not match a supported size,
the closest match is used instead. Other sizes can be supported depending
on the platform version and product. For further information, see Audio and Video at Forum Nokia.
The supported video capture encoding types are listed in the property
"video.encodings
".
If the video control's display mode is set to USE_DIRECT_VIDEO
,
the second parameter of method initDisplayMode
can be
any class derived from Canvas
(or GameCanvas
or FullCanvas
).
In Canvas
, the video is drawn on top of all other drawings.
In method setDisplaySize
, if the requested display
size is different from the dimensions of the video clip, the image is scaled
to fit.
The method setDisplayFullScreen(true)
is supported
for both Canvas
and FullCanvas
;
in Canvas
it only sets the display to the whole Canvas,
not the whole screen.
The Series 40 implementation supports the locator capture://image
.
The property for determining supported formats for image capture is
“video.snapshot.encodings
”.