codeName one : conversation full duplex

26 views
Skip to first unread message

silver...@gmail.com

unread,
May 7, 2018, 8:21:59 AM5/7/18
to CodenameOne Discussions
Hi
I want to implement a full duplex audio conversation solution between a mobile device and a remote camera? I'm looking for a tutorial to do it for two weeks. Is it possible to do this using codeName one?

I use :
IDE : eclipse
os : ubuntu 14.04
test with:
-Simulator
-device android ios

Shai Almog

unread,
May 8, 2018, 12:21:22 AM5/8/18
to CodenameOne Discussions
Hi,
full duplex usually refers to audio. I'm not sure how well our media API's will work with full duplex, we have a low level media recording API that you can use.

The camera kit cn1lib essentially shows how you can interface directly to the low level OS native API's so you can use that as a template to expose anything you want in the underlying platform: https://www.codenameone.com/blog/camerakit-low-level-camera-api.html

silver...@gmail.com

unread,
May 8, 2018, 12:21:17 PM5/8/18
to CodenameOne Discussions
Hi
I do not want to capture an audio to save it to a file.
To be more specific I am looking to implement an audio call solution like what is done in Skype. Where two distant people can call each other using the Internet. However, I want to use CodeName one to do it.
So I'm looking for a tutorial to get there.
To be more specific I am looking to implement an audio call solution like what is done in Skype. Where two distant people can call each other using the Internet. However, I want to use CodeName one to do it.
So I'm looking for a tutorial to get there.

Shai Almog

unread,
May 9, 2018, 12:24:43 AM5/9/18
to CodenameOne Discussions
Hi,
yes I assumed as much. You would probably need to use a native interface here as audio streaming is very problematic especially on Android.
Right now the abstracted API's oversimplify this because when we wrote them this was a HUGE pain on Android.
Reply all
Reply to author
Forward
0 new messages