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
It doesn’t neither capture audio/video nor encode it. Just provides RTMP API similar to ActionScript.
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();
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.
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 ?
I agree that documentation is far from perfect.
Will work on this direction also.
Thanks for your feedback!
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