×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Germany, Stuttgart
    Posts
    241

    Question MediaException N93

    I´m trying to capture Video AND Audio fro the Nokia N93 cam.
    The code-line:

    p = Manager.createPlayer("capture://audio_video");

    throws a MediaException on my Nokia N93 "Unable to create Player with locator: capture://audio_video"

    What´s the reason?

    Thanks for help, Lichtens

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: MediaException N93

    The locator you are using is invalid.

    Recording sound and video
    Sound and video recording can be done by using RecordControl. On the S60 platform, sound and video
    recording is supported from 2nd Edition onwards. Series 40 platform supports sound recording from 3rd
    Edition, FP1 onwards. You can check the support by using the following system properties:
    • supports.audio.capture - for audio recording
    • supports.video.capture - for video recording
    These properties return true if recording is supported.
    When creating a Player for audio or video capture, or specific capture, the locator URL must be used as a
    parameter to the createPlayer method of the Manager class. The following code line creates a
    Player instance for audio capture:
    Player p = Manager.createPlayer("capture://audio");
    Camera snapshot for pictures or video recording use the following locators:
    • Series 40 platform:
    • capture://image (for photo capture)
    • capture://video (for video recording)
    • S60 platform:
    • capture://video (for video recording and image capture)
    • capture://devcam0 (for video recording and image capture)
    • capture://devcam1 (second camera, if the device has two cameras)
    • Audio capture locator:
    • capture://audio
    You can also define the exact recorded media type to the locator URL. The supported parameters vary
    between platforms and devices. Note that SDKs might not support capture features at all, so testing should
    be done with the actual mobile devices. For further details about recording, check the Mobile Media API
    specification.
    REF: MIDP: Mobile Media API Developer's Guide v2.1
    http://www.forum.nokia.com/info/sw.n..._1_en.pdf.html

    Regards
    Gopal

    __________________
    MobiQuil.com
    An initiative by Developers for Developers.
    http://www.mobiquil.com - Alpha - Launched.

  3. #3
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Germany, Stuttgart
    Posts
    241

    Re: MediaException N93

    Ok, i see. Thank you for help.
    I have a question left.
    On the documentation of the jsr-135 (sun) the locator audio_video ist possible for video and audi capture with just one Player-Instance.
    Ist this different on nokia-phones or on series 60 phones?

    Next question: How do I manage to record video and audio-stream in one targetfile, when I have two instances of the Player.

    Lichtens

Similar Threads

  1. BUGS?! Identified Video/Audio recording problems on N93
    By arikr7 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2007-03-19, 19:55
  2. UPnP Software of N93
    By perkusic in forum Wired and Wireless interfaces (Closed)
    Replies: 0
    Last Post: 2006-12-29, 19:22
  3. Performance hints for 3D hardware accelerated devices (N93 and N95)
    By taarnio in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2006-12-21, 08:19
  4. Some OpenGL issues on Nokia N93
    By derBertl in forum Symbian Media (Closed)
    Replies: 11
    Last Post: 2006-09-26, 07:10
  5. N93 for Symbian Developer
    By Farhan Ghafoor in forum Symbian
    Replies: 8
    Last Post: 2006-09-18, 16:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •