Capture locators

The Mobile media API S60 implementation supports recording audio, recording video, and taking video snapshots (photos) with the camera. The capture://audio locator is used for recording audio.

The following forms of capture locators are supported for recording video or taking snapshots with the camera:


  • capture://devcam0 is the main camera pointing outwards from the user.

  • capture://devcam1 is the secondary camera pointing, for example, towards the user. This locator is supported only if the device has more than one camera.

  • capture://video is the default camera locator pointing to the same camera as devcam0.

Video capture locators are only available if the device has at least one camera. If the device does not have a camera and you attempt to create a player for video capturing, for example with Manager.createPlayer( "capture://video" ), a MediaException with the error code -1 is thrown.