| Reply | « Previous Thread | Next Thread » |
|
Can any one help me to do live conversation by using J2ME
Best Regards Manas |
|
Video, voice or text? One-to-one (person to person)? One-to-many? Many-to-many? In any case, you need an intermediate server as a relay, and most likely video and voice are out of the question with J2ME.
There's already existing "infrastructure" for these, but not accessible from J2ME: - regular mobile network voice calls - 3G network video calls - VoIP/SIP calls - and instant messaging services/apps With J2ME, you probably have to settle with yet another instant messaging app to compete with whatever is already out there (or connecting/linking to existing IM services). |
|
Thanks petrib for your reply. I have some question regarding to your reply.
How the existing infrastructure can be made accessible by J2ME? How can I set the intermediate server for relay and what software I need for that? Why video and voice are out of question in J2Me? Please give response as early as possible. Best Regards Manas |
|
The existing facilities (e.g., making and receiving video calls, for example) are not accessible to J2ME apps.
What kind of intermediate server (like for instant messaging) depends on what you're trying to do. Search the net for "Jabber" for example. Video and voice are out of the question in J2ME, because you cannot get control over the microphone, speaker(s) and camera. With J2ME, you are isolated from hardware by the Java virtual machine, and whatever APIs (JSRs) are supported, and what access/services they allow. Direct hardware access and manipulation is not possible from Java. |
|
Thanks for your reply. I have established a session with the callee from the caller end by sip protocol then captured voice and maked rtp packets from that voice data and then trying to sending and receiving rtp voice data packets.
So which type of server is suitable for that? If I use streaming server then is it needed to send rtp packets at first to the streaming server then to the callee. Actually what will be the technique can you explain me briefly? BestRegards Manas |
|
manas_cse, note that in Java ME you do not have real-time streaming out from the phone as you do not have access to the current recording unless you stop recording.
So it is hard (impossible?) to create real time voice conversations with Java ME. Hartti |
|
HI HARTTY
If i tried to loop on the record control at each time i take the voice and send it in socket connection to a socket server will it be possible? or iam placing a huge load on the application . and why streaming outside is not possible ?. Thanks a lot. Best Regards. |
| gabrielazwat |
| View Public Profile |
| Find all posts by gabrielazwat |
|
The send audio in short pieces approach will likely work, but the audio quality will be bad and if there is network problems (or slow network connection) something unexpected might happen (unless you take care of everything server-side for example)
Why is it not possible? Because it has not been implemented. Why it has not been implemented? Hard to say. Maybe because the MMAPI specification does not require that... Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Live Streaming with J2ME | deepanjanghosh16 | Mobile Java Media (Graphics & Sounds) | 3 | 2007-12-28 06:40 |
| nokia 6630 LIVE streaming in j2me | nilgosavi | Mobile Java Media (Graphics & Sounds) | 0 | 2005-11-10 14:22 |
| I am new to J2ME, are there any API's to support voice conversation control | haytham_afifi | Mobile Java General | 2 | 2004-08-15 23:10 |
| Vipera J2ME Mobile Network Operator goes live | maffeis | Mobile Java General | 0 | 2004-08-05 08:17 |
| J2ME Polish Version 1.0 RC6 | enough | Mobile Java General | 1 | 2004-07-20 12:25 |