RTMP – microphone and camera access on J2ME Lite

Just happened to bump on a site today, that offers RTMP api for J2ME. The Api lets J2ME play back streaming video /audio from RTMP servers. The best part is that it even allows publishing from camera/mic to RTMP server. That is something flash lite is really missing on. Although the Api is really priced high, but i guess its worth it. Here is the developer’s guide page, that demonstrates the code. I guess Adobe should notice that.

February 4, 2010   Posted in: Flash Lite, Java, Mobile

6 Responses

  1. Andrei - February 7, 2010

    It doesn’t neither capture audio/video nor encode it. Just provides RTMP API similar to ActionScript.

  2. Rajdeep - February 7, 2010

    Hello Andrei,

    Take a look at Example 4.5 – Publish audio source as live stream.

    This is what the developer’s page snippet looks like:

    MyMicrophone mic = new MyMicrophone();
    stream.attachAudio(mic);
    stream.publish(“streamName”, NetStream.LIVE);
    mic.start();

  3. Andrei - February 7, 2010

    Hi Rajdeep,

    I am the library developer :)
    The library provides RTMP Client side API only.

    The idea is that you need to wrap audio capture and encoding functionality in the IMicrophone interface (the same for video capture).

    But again neither capture nor encoding functionality is not available in the library.

    Regards, Andrei.

  4. Rajdeep - February 7, 2010

    well then i am sure the code snippet provided, under “Publish audio source as live stream” –

    MyMicrophone mic = new MyMicrophone();
    stream.attachAudio(mic);
    stream.publish(“streamName”, NetStream.LIVE);
    mic.start();

    seems to me as a customer misguidance. Because that is what myself and my fellow J2ME developers can make out from it. Perhaps a better documentation ?

  5. Andrei - February 7, 2010

    I agree that documentation is far from perfect.
    Will work on this direction also.

    Thanks for your feedback!

  6. Rajdeep - February 7, 2010

    Welcome :) I will update that to others. A very nice work though in bringing RTMP to J2ME. Keep up the good work.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word