OpenELEC.tv
OpenELEC.tv copied to clipboard
break up of video streams
problem: streaming .m3u8 type content from a source with appr. 60 ms latency produces brake ups.
solution: change the network section in advancedsettings.xml:
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.