Date: Thu, 2 Jun 2016 18:25:27 -0400 From: Oleg Lelchuk <oleglelchuk@gmail.com> To: freebsd-current@freebsd.org Subject: Re: Streaming live tv over the udp protocol causes problems Message-ID: <CA%2BGqWgsw2maB_WzcQOUnqVfx42DWfJtFdTKuR_HVzL0wD2SDYg@mail.gmail.com> In-Reply-To: <CA%2BGqWgtVU9qrenUJf4yyQS9GETjavFKN3bpGrBVYHr0H6v6Mbw@mail.gmail.com> References: <CA%2BGqWgvraS4_wu5OO%2B_btG0JoDFzKsgTbPO%2Bk0p6D6s3kmDDWg@mail.gmail.com> <0ae227ae-0154-cc15-eb64-17984ae2012a@freebsd.org> <CA%2BGqWgtVU9qrenUJf4yyQS9GETjavFKN3bpGrBVYHr0H6v6Mbw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <oleglelchuk@gmail.com> 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 <allanjude@freebsd.org> 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 <clientip> -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 >> " >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BGqWgsw2maB_WzcQOUnqVfx42DWfJtFdTKuR_HVzL0wD2SDYg>