2021-01-26, 13:57
Hi everyone,
I'm not sure this question is for this forum but I will try to ask and if it's not, can a moderator please move it to the right place?
I have an Amazon Fire TV stick 4k and I'm trying to use my local NAS (TrueNAS SMB share), and my local SQL database to watch content on Kodi through a IPsec VPN connection, which I have set up on my pfsense firewall.
I use this VPN on Linux, android, iOS, MacOS and Windows with no problems for quite a long time. The connection is very reliable and is tested during several years.
I have it set on the FireTV stick using StrongSwan and custom settings for the encryption, I use AES128-GCM for better speed.
In general, I have set up everything and it's working. Locally I have no issues and all is working as expected. I'm using settings in advancesettings.xml file to setup my sql database and setting the buffer size and bandwidth usage.
this is the portion for the buffer:
The problem is the buffering even on 1080p content sometimes when I'm out of home. Now, if I test the speed when my VPN is activated, I get around 80 Mb/s which is not bad at all giving the processor on the stick. I was expecting that that would be enough to watch even 4k content with no issues.
When I try to play 4k content, I see that the stick never jumps over 25 Mb/s speed on playing the movie, I guess until the buffer is full and then drops down to around 15 Mb/s. During the playback I'm watching the processor usage and I can see that it never gets more then 50 % per core, which makes me think that it's not the bottleneck. There is plenty of bandwidth left for Kodi to use and there is enough processor left for the VPN to use. The VPN server also has plenty of bandwidth and nobody else is using it except me at the moment of testing. Both ends have 1Gb/s internet speeds and I'm sure this is not the issue.
If playing 1080p content then the bandwidth usage is lower and looks like there are no issues. I did a test using my mobile phone, which at the moment of testing had a 4g connection with around 20 Mb/s, and were not able to watch 1080p without buffering. Again Kodi was not using all the available bandwidth, It was using around 8 Mb/s, which is unacceptable.
I'm not sure where the problem is and what else I could try to change to improve the situation. Do you guys have any advice for me? Is there anything else I can try?
Thanks in advance.
I'm not sure this question is for this forum but I will try to ask and if it's not, can a moderator please move it to the right place?
I have an Amazon Fire TV stick 4k and I'm trying to use my local NAS (TrueNAS SMB share), and my local SQL database to watch content on Kodi through a IPsec VPN connection, which I have set up on my pfsense firewall.
I use this VPN on Linux, android, iOS, MacOS and Windows with no problems for quite a long time. The connection is very reliable and is tested during several years.
I have it set on the FireTV stick using StrongSwan and custom settings for the encryption, I use AES128-GCM for better speed.
In general, I have set up everything and it's working. Locally I have no issues and all is working as expected. I'm using settings in advancesettings.xml file to setup my sql database and setting the buffer size and bandwidth usage.
this is the portion for the buffer:
1 139460608 20 :
<advancedsettings>
<cache>
<buffermode>1</buffermode>
<memorysize>139460608</memorysize>
<readfactor>20</readfactor>
</cache>
</advancedsettings>
The problem is the buffering even on 1080p content sometimes when I'm out of home. Now, if I test the speed when my VPN is activated, I get around 80 Mb/s which is not bad at all giving the processor on the stick. I was expecting that that would be enough to watch even 4k content with no issues.
When I try to play 4k content, I see that the stick never jumps over 25 Mb/s speed on playing the movie, I guess until the buffer is full and then drops down to around 15 Mb/s. During the playback I'm watching the processor usage and I can see that it never gets more then 50 % per core, which makes me think that it's not the bottleneck. There is plenty of bandwidth left for Kodi to use and there is enough processor left for the VPN to use. The VPN server also has plenty of bandwidth and nobody else is using it except me at the moment of testing. Both ends have 1Gb/s internet speeds and I'm sure this is not the issue.
If playing 1080p content then the bandwidth usage is lower and looks like there are no issues. I did a test using my mobile phone, which at the moment of testing had a 4g connection with around 20 Mb/s, and were not able to watch 1080p without buffering. Again Kodi was not using all the available bandwidth, It was using around 8 Mb/s, which is unacceptable.
I'm not sure where the problem is and what else I could try to change to improve the situation. Do you guys have any advice for me? Is there anything else I can try?
Thanks in advance.