View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#55
so i have no idea what i actually want to do with the stream on the n9 side.
i suspect that what i want to do is change nokia application behaviour, which is impossible. possibly what i want to do is pulse-magic, though, so if anyone knows what i want, lemme know.

getting the stream to the n9 was simple. my goal is to have the phone app use my the stream {from my laptop's microphone} instead of the n9's microphone.

laptop-microphone => n9-loudspeaker
laptop:
gst-launch-0.10 pulsesrc device=alsa_input.pci-0000_00_1b.0.analog-stereo ! audioconvert ! audio/x-raw-int,channels=1,depth=16,width=16,rate=44100 ! rtpL16pay ! udpsink host=$n9ip port=3200

n9:
gst-launch-0.10 -v udpsrc port=3200 ! "application/x-rtp,media=(string)audio, clock-rate=(int)44100, width=16, height=16, encoding-name=(string)L16, encoding-params=(string)1, channels=(int)1, channel-positions=(int)1, payload=(int)96" ! rtpL16depay ! audioconvert ! pulsesink
 

The Following User Says Thank You to wolke For This Useful Post: