2023-10-13, 06:41 PM
(This post was last modified: 2023-10-13, 08:12 PM by zaudio. Edited 2 times in total.)
(2023-10-13, 12:07 AM)mcarlton00 Wrote: This feature already exists in the jellyfn-kodi addon. It's called native mode. On the Kodi side, we all genuinely hate that it exists, and any issues that come in related to it usually wind up sitting for a while because nobody wants to deal with it. I would guess that most of the other client devs aren't particularly interested in implementing it.
Ignoring whether they want to, most other clients can't make use of this feature. As far as I know, the native android tv player cannot, so now it only works with a third party app that we don't control. And each external app has it's own quirks and requires special code handling them. Maybe some of them support NFS but not SMB, or vice versa. Same with android (mobile). Basically impossible on iOS. Impossible on Roku. Impossible in a browser. So by definition, it's an extremely niche feature that is only functional in a very small minority of cases, and in 95% of use cases where people are already using native mode in the kodi addon it's completely pointless and provides no benefit over normal http streaming. Basically the only cases where it would be even remotely useful is if the storage is local and the server is remote (on a VPS or something), or when the network is being a potato and can't keep up (what sounds like is happening here). My guess is that your NAS simply doesn't have the power necessary to process that data being transmitted fast enough, which is unfortunately one of the side effects of using a NAS as a server.
hmm... I have something else to try. I had my Docker managing resources for my Jellyfin container. I'll try it tonight with manually allocating High CPU and 2Gb of RAM. I had thought with direct play it did not need much (indeed container resource monitor shows only about 3% cpu during playback); but maybe these occasional glitches I get will go away with forced higher resources. Do we know if the server buffers much data for the direct play stream it provides ? I am assuming it is doing something to provide the http steam...