Results 1 to 2 of 2
Hello... I am going nuts trying to figure this out, any help would be appreciated.
I am using a PC to telnet into a Lucid Lynx Ubuntu system, and trying ...
- 06-09-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 1
Recording audio over a telnet connection
Hello... I am going nuts trying to figure this out, any help would be appreciated.
I am using a PC to telnet into a Lucid Lynx Ubuntu system, and trying to record audio via a microphone which is connected to the Ubuntu system, and play it back on the PC. The microphone works when recording and playing directly on the Ubuntu system (so I know it's not hardware), but not when recording over the telnet connection. Playing other audio files does work over the telnet connection (so once again, I know it's not hardware), it's just the recording that doesn't work.
So basically it's just the audio-in over the telnet connection that Ubuntu isn't liking.
I tried removing PulseAudio (as I had a Fedora system that I had to do this with also, and that was the fix for that system), but apparently recording doesn't work at all in Ubuntu without it, as the microphone wouldn't work directly on the system anymore after in removed it. So I reinstalled it, but I am still stuck.
I cannot use any other programs to accomplish this - and I don't think I have to, I believe something is just messed up somewhere that is not allowing my microphone to pick up sound over the telnet connection, but I don't know what it is.
Any ideas?
- 06-10-2010 #2Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
When you use telnet or ssh (should be using), you are becoming a console of the machine you telnet into. All the commands you type until exit are run on the remote system, and affect only the remote system's hardware. When you attempt a playback, it would play back to the remote machine's sound card.
There are tricks if using ssh to redirect outputs of files or devices to other ports, which if in the right format for whatever you have listening to that port on your machine, may get a desired effect. maybe you could get something like scp to copy or redirect a stream to your /dev/dsp (or similar) device. I really don't know since I haven't tried anything this elaborate.
I do use remote desktop serving via freeNX, which includes linking sound servers. You might have better luck going that route.


Reply With Quote