×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    209

    How can I create live video chat with J2ME?

    I want to use J2ME to develop a video chat. But I don't know how to record video stream using MMAPI, because I only can find how to record video into a file or snap a picture using MMAPI.
    Could anybody tell me how to record video to byte[] and send it, which make it able to be sent to others and make a live video chat? thanks!

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How can I create live video chat with J2ME?

    Hi luckyapplehead,

    with Java ME you could get the recorded stream as a byte array by using a ByteArrayOutputStream and passing it to RecordControl setRecordStream() method, and then using the ByteArrayOutputStream itself to retrieve the recorded bytes.

    Note however that the recorded bytes will be available only once you have committed the RecordControl itself, so live sending of captured video is actually not possible with Java ME. There are some possible workarounds (like using multiple players and threads to alternatively record and send) but they're generally far from being perfect.

    Pit

  3. #3
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    209

    Re: How can I create live video chat with J2ME?

    Quote Originally Posted by jappit View Post
    Hi luckyapplehead,

    with Java ME you could get the recorded stream as a byte array by using a ByteArrayOutputStream and passing it to RecordControl setRecordStream() method, and then using the ByteArrayOutputStream itself to retrieve the recorded bytes.

    Note however that the recorded bytes will be available only once you have committed the RecordControl itself, so live sending of captured video is actually not possible with Java ME. There are some possible workarounds (like using multiple players and threads to alternatively record and send) but they're generally far from being perfect.

    Pit
    jappit,thanks

    So I think I hava to use symbian C++ to develop the live video chat instead... although I don't quite like developing using symbian C++...

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How can I create live video chat with J2ME?

    Yes, Symbian C++ would surely be a much more adequate technology for such a project, even if learning path is surely harder

    Pit

  5. #5
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    i need help for my themes

    please i need about for my N95 8GB..i found it difficult to install themes on my phone ..everytime i try to install themes,its say (certificate error contact application suplier) and the themes is (sis file) so am suprise it's not working..please what can i do to fix this?..i will really appreciate if you can help me out on this..

Similar Threads

  1. Software-only video decoder in J2ME
    By nmadrane in forum Mobile Java Media (Graphics & Sounds)
    Replies: 18
    Last Post: 2011-06-26, 19:17
  2. J2ME Chat
    By nagkumar in forum Mobile Java General
    Replies: 1
    Last Post: 2009-02-03, 13:17

Posting Permissions

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