jigar-joshi / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

How to run the "call" example with microphone as voice input? #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've built libjingle 0.6.1 with linphone support in Ubuntu11.04, 64bit.

The exmaple "call" works normally with gmail talk when I specify --voiceinput 
and --videoinput, I can see the video and hear the hypnotic "1 2 3 4 5" :-) All 
log is recorded in attachment success.log

But when I just run "call", it will log in, but any voice call will terminate 
immediately. All log is recorded in attachment failure.log. From the log, alsa 
complains "sound card HDA ATI HDMI does not seems to be capable of anything", 
and XML reply from server shows "<ses:unsupported-applications/>".

So how to make "call" work with microphone?

Original issue reported on code.google.com by endlessr...@gmail.com on 7 Oct 2011 at 8:04

GoogleCodeExporter commented 9 years ago
attachments, failure.log and success.log

Original comment by endlessr...@gmail.com on 7 Oct 2011 at 8:06

Attachments:

GoogleCodeExporter commented 9 years ago
Your session-initiate message is missing the payload-type, which means you need 
to specify the supported codecs when you initiate the linphone media engine.

Original comment by jun...@google.com on 13 Oct 2011 at 1:36

GoogleCodeExporter commented 9 years ago
Currently, call_main.cc only creates FileMediaEngine but does nothing for other 
cases (when there is no voiceinput/voiceoutput). MediaEngineFactory should be 
called to Create, then Init the LinPhoneMediaEngine.

Original comment by aasi...@gmail.com on 15 Oct 2011 at 11:07