2025-03-10, 03:04 AM
What does having the setting AllowRemoteStreaming set to true actually do, and does it need to be set to true to connect remotely with the NextPVR Android Client from the Play Store?
2025-03-10, 03:04 AM
What does having the setting AllowRemoteStreaming set to true actually do, and does it need to be set to true to connect remotely with the NextPVR Android Client from the Play Store?
2025-03-10, 02:28 PM
Pretty sure it does need to be set true for remote access. You also need to have pin changed from the default 0000
2025-03-10, 10:17 PM
(2025-03-10, 02:28 PM)sub Wrote: Pretty sure it does need to be set true for remote access. You also need to have pin changed from the default 0000 Weird, but after further testing, it may not need to be set to true. I've got it set to false, and NextPVR Android Client still works (made sure to reboot the server with the updated config file, and configured the Android Client from scratch to make sure). The problem was that I was using a 12-character alphanumeric PIN (not the password, to be sure, that's separate), and, while this worked fine with Kodi, it did not work with the Android Client. Not sure if it's the number of characters or the upper/lowercase letters or what. Maybe you have an idea what the PIN character limitations are? Once I know, I can go in to all my Kodi instances and change it to something else that's still secure, but also works with the Android Client.
2025-03-11, 09:27 PM
(2025-03-10, 10:17 PM)mmortal03 Wrote: Weird, but after further testing, it may not need to be set to true. I've got it set to false, and NextPVR Android Client still works (made sure to reboot the server with the updated config file, and configured the Android Client from scratch to make sure). Maybe you are running a reverse proxy. I tried to remote today with Kodi and when it is false, I couldn't connect. The logs had 2025-03-11 14:17:25.203 [DEBUG][17] Remote connection not allowed. Pin login failed. A reverse proxy to NextPVR can make it like you are running on localhost. Martin
2025-03-12, 06:15 AM
(2025-03-11, 09:27 PM)mvallevand Wrote: Maybe you are running a reverse proxy. I tried to remote today with Kodi and when it is false, I couldn't connect. The logs had That isn't something I'm doing intentionally, if it's acting that way. My NextPVR server is simply running on a Windows computer that is connected by Ethernet to my router, and my router is port forwarding port 8866. The NextPVR Android Client was connected over LTE data (WiFi was turned off). Not sure if any of the other settings would change your test results (maybe some of these overlap)?: <AllowRemoteAPI>true</AllowRemoteAPI> <AllowRemoteStreaming>false</AllowRemoteStreaming> <AllowRemoteTranscode>true</AllowRemoteTranscode> <AllowUnauthenticatedStreaming>false</AllowUnauthenticatedStreaming> I'm willing to help get to the bottom of it, but I do believe my main issue still comes down to some sort of PIN character limitation of the NextPVR Android Client, because changing it to a short, all numeric PIN got it working for me (but I'd obviously not like to have my PIN that is exposed to the Internet be a short, all numeric PIN, so I'm hoping to find out what the PIN limitations are).
2025-03-12, 12:23 PM
Sorry I was thinking Allow Remote Access in the web settings. AllowRemoteStreaming seems to be a remnant from v4 as I noted here https://forums.nextpvr.com/showthread.ph...#pid596913 when I tested it I don't think it did anything. Since I had a remote server set up I tested again today and it still doesn't do anything.
AllowUnauthenticatedStreaming = true with AllowRemoteAPI = true does much the same thing for the /live and /stream interfaces for streaming without a SID from the API. I wouldn't enable that without other network protection since anyone can stream any file type on your system. Martin
2025-03-12, 08:52 PM
Thanks, that makes sense, though the forum says I can't view that thread. Hopefully sub can get back with us here on the PIN limitations in the Android Client.
2025-03-12, 09:02 PM
Yes sorry that was a link to the private forum where I reported this.
The only use case I can think of would be for users that wants to use any NextPVR remote client and and want VLC on the local LAN only with no security. Martin
2025-03-12, 10:14 PM
I can't see any limitation in the Android app regarding length or alphanumeric, but don't use a ~ or : character in the pin number,
(2025-03-12, 10:14 PM)sub Wrote: I can't see any limitation in the Android app regarding length or alphanumeric, but don't use a ~ or : character in the pin number, I just had more time to test this. The longest PIN that worked for me was nine characters long (alphanumeric with a symbol). Maybe it's something specific to the server or the server platform (I'm using Windows), rather than the Android client? To be sure, Kodi on Android will connect with a longer than nine character PIN, so it's still something that only seems to be impacting the Android Client. |
|