Re: Streaming live tv over the udp protocol causes problems

From: Oleg Lelchuk <oleglelchuk_at_gmail.com>
Date: Thu, 2 Jun 2016 18:25:27 -0400
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_at_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_at_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_at_freebsd.org mailing list
>> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > To unsubscribe, send any mail to "
>> freebsd-current-unsubscribe_at_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_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org
>> "
>>
>
>
Received on Thu Jun 02 2016 - 20:25:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC