/** * Can be called on RaspberryPi using ffmpeg * ffmpeg -ac 1 -f alsa -i hw:1,0 -ar 16000 -acodec pcm_s16le -f rtp rtp://192.168.0.8:7887 * avconv -f alsa -ac 1 -i hw:0,0 -acodec mp2 -b 64k -f rtp rtp://{IP of your laptop}:1234 * * Or using Kinect on windows * ffmpeg -f dshow -i audio="Réseau de microphones (Kinect U" -ar 16000 -acodec pcm_s16le -f rtp rtp://127.0.0.1:7887 */ protected void StartRTPClient() { var port = WSRConfig.GetInstance().rtpport; if (port < 0) { return; } WSRConfig.GetInstance().logInfo("RTPCLIENT", "Start RTPClient: " + port); rtpClient = new RTPClient(port); rtpClient.StartClient(); }