Active Topics

 


Reply
Thread Tools
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#1
I allways have wanted to make a call with desktop computer using my N900. I decided to try this with gstreamer today. I managed to send the callers voice with this command to internet:
Code:
gst-launch pulsesrc device=sink.hw0.monitor ! audioconvert ! queue ! nokiaaacenc bitrate=128000 output-format=1 ! tcpserversink host=10.0.0.240 port=5000
And record it with my PC to file with this command:
Code:
gst-launch-0.10 tcpclientsrc host=10.0.0.240 port=5000 ! filesink location=call.aac
But when I'm trying to direct the audio to pulseaudio I can hear only once some strange sound once:
Code:
gst-launch-0.10 tcpclientsrc host=10.0.0.240 port=5000 ! mad ! pulsesink
Any help?
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 

The Following User Says Thank You to laasonen For This Useful Post:
Posts: 151 | Thanked: 93 times | Joined on Sep 2009 @ sofia, bulgaria
#2
What about using SIP or GTalk or even Skype instead?
 
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#3
Originally Posted by lidow View Post
What about using SIP or GTalk or even Skype instead?
I'm using GTalk/XMPP, but its useless when someone is calling me with their phone or when I'm trying to call someone who doesn't have XMPP or isn't online.

If I have understood right I can't get the same number to SIP that I have on my phone. So I couldn't answer with the device I want.

Managed to get the output working, but there seems to be ~1s delay I'll try to use UDP.
Code:
gst-launch-0.10 tcpclientsrc host=10.0.0.240 port=5000 ! decodebin ! audioconvert ! audioresample ! pulsesink
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers

Last edited by laasonen; 2011-06-17 at 15:22.
 

The Following User Says Thank You to laasonen For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#4
I'm waiting for result, very interesting job You're doing
 
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#5
So, any further success?
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:26.