OpenELEC.tv icon indicating copy to clipboard operation
OpenELEC.tv copied to clipboard

break up of video streams

Open wwortel opened this issue 10 years ago • 0 comments

problem: streaming .m3u8 type content from a source with appr. 60 ms latency produces brake ups. solution: change the network section in advancedsettings.xml: 2 50000000 6.0 Effects: mode 2 > buffering only on ethernet traffic (the box is plenty fast to process the data without further buffering); factor 6 > allow for buffering with much higher speed than the average speed. The original value only allows very little buffering.

advancedsetings.xml now gets set up in the read-only filesystem. I changed the kodi package.mk to have a symbolic link from where kodi expects the file to //storage/.config/advancedsettings.xml. Allows for easy change and experimentation.

Also found somewhere that interface speed can be higher by setting: echo '4096 1048576 2097152' > /proc/sys/net/ipv4/tcp_rmem echo '4096 524288 2097152' > /proc/sys/net/ipv4/tcp_wmem echo 1 > /proc/sys/net/ipv4/route/flush echo 2097152 > /proc/sys/net/core/rmem_max echo 2097152 > /proc/sys/net/core/wmem_max echo 262144 > /proc/sys/net/core/rmem_default echo 262144 > /proc/sys/net/core/wmem_default Am setting those in autostart.sh.

wwortel avatar Dec 28 '14 10:12 wwortel