maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Calling with PC using N900 with gstreamer (https://talk.maemo.org/showthread.php?t=74064)

laasonen 2011-06-16 20:35

Calling with PC using N900 with gstreamer
 
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?

lidow 2011-06-17 08:35

Re: Calling with PC using N900 with gstreamer
 
What about using SIP or GTalk or even Skype instead?

laasonen 2011-06-17 15:14

Re: Calling with PC using N900 with gstreamer
 
Quote:

Originally Posted by lidow (Post 1030699)
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

Estel 2011-06-18 16:41

Re: Calling with PC using N900 with gstreamer
 
I'm waiting for result, very interesting job You're doing :)

int_ua 2012-02-24 15:04

Re: Calling with PC using N900 with gstreamer
 
So, any further success? :)


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

vBulletin® Version 3.8.8