From owner-freebsd-current@freebsd.org Thu Jun 2 22:25:29 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12A9EB68559 for ; Thu, 2 Jun 2016 22:25:29 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 947291691 for ; Thu, 2 Jun 2016 22:25:28 +0000 (UTC) (envelope-from oleglelchuk@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id n184so100174440wmn.1 for ; Thu, 02 Jun 2016 15:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=8EUquUJhRJRZcwA99KRcBsWGYcnQueVhkezoY5V7cY8=; b=AxRUebLF8rJ8MFa1MH/GsqimmTtn54UHjdfsJLomUVt4BNFmsTNM++nHgfjTQcgDdF wpZ0GQ18O0e17dDDG5JGOwI0F65O+X9MnF8sIs0dpTbEnNNkpRJTUTnBlP46R2cAodei Ili/q5vUGiL+YVqL+BCybza0g/WclGJtga1c/TijOwKDx9nzcmCveFunVHrQzTHVUvbL iEk5nP/hOAfUPI2pYWWUW8UoVuDq9UubzwJchHSV+BHxb3lxCHAORc5nnG6yBn8M3Vdb oc/dTXsgyaG+UEbA4DaPU9IvX/vewbCmo3PTCQduHtqZPQ83Y54EBrecVEd/a9hjJx5k ewVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=8EUquUJhRJRZcwA99KRcBsWGYcnQueVhkezoY5V7cY8=; b=VGdYFAYQqLnaafnO5kplrhsUMRTYQx+VN5O+ef1fkpnoL3mPje9MLP0fcgbpXyW6/s 9F/Mr0zLuhrjEi5EJqdXROqFPagmAvo3J5ORvRC/Kn/xgWByTAoN2A5Y2V9UdFzyS1M9 3vq67mhrocXquKWkwE0E1RnnMNb7hZv5q001FUDv2A8zkzCF2ALxZ9OdR72w60ZdsAKL zX3VwlObnYliqtFNDPpdeCc2gJ2KpBa4vFsVHXRqZxNpMaVwrOBD8HY8Z+vzgiIBAFaL y07+lbdz3t0h0rSbNRCeLCiucdiQqW5ESznyKACvRYLPJIzakadoe32B1E3Aqar9ob7X 10ug== X-Gm-Message-State: ALyK8tKEM4PyvbBZ+RmFiBig1B1VwWAaw+qimT9WsyM2+aGPOM3Vp7dwbefUf383n4yxYMoJbgNrbBVdf1MQ6g== MIME-Version: 1.0 X-Received: by 10.28.62.69 with SMTP id l66mr27598603wma.70.1464906327182; Thu, 02 Jun 2016 15:25:27 -0700 (PDT) Received: by 10.194.174.230 with HTTP; Thu, 2 Jun 2016 15:25:27 -0700 (PDT) In-Reply-To: References: <0ae227ae-0154-cc15-eb64-17984ae2012a@freebsd.org> Date: Thu, 2 Jun 2016 18:25:27 -0400 Message-ID: Subject: Re: Streaming live tv over the udp protocol causes problems From: Oleg Lelchuk To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 22:25:29 -0000 I just solved this problem! I had to tweak the tunables net.inet.udp.recvspace and kern.ipc.maxsockbuf . After setting them to a larger value, I had no more problems streaming live tv. But it's interesting that I never had to tweak those tunables on 10.3-STABLE. On Thu, Jun 2, 2016 at 5:49 PM, Oleg Lelchuk wrote: > I am a bit confused about this server/client thing. My networked tv tuner > Hdhomerun has a wired connection to my router. It has a program called > hdhomerun_config_gui. I open the program, choose a tv channel that I want > to watch, then vlc opens, but the video that starts streaming is broken. > Vlc shows me the message that the stream comes from udp://127.0.0.1:5000 > . So, in this particular case, the tv tuner is the server and my computer > is the client? If my computer is the client, then this is the output I get > from "iperf -f m -i 1 -s -u": > > Server listening on UDP port 5001 > Receiving 1470 byte datagrams > UDP buffer size: 0.04 MByte (default) > > As I said earlier, I had no problems streaming live tv on 10.3-STABLE. > > > On Thu, Jun 2, 2016 at 1:35 PM, Allan Jude wrote: > >> On 2016-06-01 23:03, Oleg Lelchuk wrote: >> > Hi. On 11-ALPHA1, when I use vlc to stream live tv over the udp >> protocol, I >> > see a garbled and choppy video. This issue doesn't occur on >> 10.3-STABLE. I >> > am puzzled as to the cause of this problem. >> > _______________________________________________ >> > freebsd-current@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-current >> > To unsubscribe, send any mail to " >> freebsd-current-unsubscribe@freebsd.org" >> > >> >> Are both machines FreeBSD? >> >> Can you try running iperf in udp mode, something like this: >> >> pkg install iperf >> >> client: iperf -f m -i 1 -s -u >> server: iperf -f m -i 1 -t 20 -c -u -b 100m >> >> And give us the results >> >> -- >> Allan Jude >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org >> " >> > >