NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients v
« Previous 1 2 3
Androi testing community testing help requested

 
  • 0 Vote(s) - 0 Average
Androi testing community testing help requested
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#1
2017-12-18, 12:03 AM (This post was last modified: 2017-12-20, 01:56 PM by mvallevand.)
Hi, I am considering writing an Android client or Android web client for NextPVR but before I spend too much time I thought I'd reach out to the community to see how well the built in Android h/w media player libraries work on various Android devices that you might be using.

To start off I have built a demo application that should autodetect your NextPVR server and show a list of channels for live tv playback. This application is based on Googles ExoPlayer demo and doesn't really do much more than that, although it allow there is a list of other file formats for capability testing.

To access my dev Android apk go http://xnewa.netai.net/ and download demo-noExtensions-debug.apk.tmp or download it directly http://xnewa.netai.net/demo-noExtensions-debug.apk.tmp Sorry I had to call it .tmp because my web host doesn't like apk files. If you access the web page in Chrome on your Android device you should be able to download the tmp file and with appropriate setting changes to load an unknown source directly install it.

So far I have tested on several devices

1. Lenovo tablet Mediatek MT6165 h264 and mpeg2 video, and ac3 and mpeg2 audio. This was a pleasant surprise because it doesn't work with Kodi.
2. Moto G3 phone has h264 and mpeg2 video but now ac3 or mpeg2 audio
2. Samsung A5 phone has h264 video but no mpeg2 video and no ac3 or mpeg2 audio
4. Amlogic S905x Android box great h264 and mpeg2 video, and for ac3 and mpeg2 audio.
5. Amazon FTV1 h264 and mpeg2 video. No mpeg2 audio, ac3 passthrough only.
6. Xiaomi Mi Box h264 and mpeg2 video, and ac3 and mpeg2 audio

I might be able to add support for ac3 and mpeg2 audio but mpeg2 video support will be a challenge.

Any help that can be provided would be appreciated. I am especially interested in things like 1080i playback mpeg2 video and AAC audio which I don't have here.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#2
2017-12-18, 04:55 AM
I downloaded and installed the apk on a Nexus 5 phone. ExoPlayer ran and populated the screen. However there was nothing in the NexPVR list when expanded. There were other lists that were populated like YouTubeDASH, Widevine DASH:MP4.H264 etc...

I was able to access the NPVR server with the modern web client, stream live TV and videos using the Chrome web browser, from this device.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#3
2017-12-18, 12:40 PM (This post was last modified: 2017-12-18, 01:24 PM by mvallevand.)
Did you have wifi enabled? It Des not work over a data connection? Also the NextPVR Discovery port 16891 needs to be open for UDP.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#4
2017-12-19, 12:07 AM
mvallevand Wrote:Did you have wifi enabled?
Wifi is enabled.
mvallevand Wrote:It Des not work over a data connection?
This phone used to have a data plan but I'm just using it with wifi only.
mvallevand Wrote:Also the NextPVR Discovery port 16891 needs to be open for UDP.
I did not have port 16891 open so opened port 16891 for UDP and TCP in the router and tried again (after rebooting router) with the same results. Also tried a rooted Samsung Tab A with android 6.0.1 and it does not populate the NexPVR tab of ExoPlayer either.

Sorry, not much help.
jimbojones
Offline

Member

Posts: 54
Threads: 11
Joined: Jul 2012
#5
2017-12-19, 03:02 AM
Tested on lg g4 all stock,

installed fine ,npvr and channels appeared straight away , all channels are mpeg2 whether hd or not, only thing that would work was ac3 audio on one hd channel, hope this is of use,

cheers james
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#6
2017-12-19, 03:20 AM
Thanks for testing. If you feel like testing more if you could see your way to getting me your Android ligcat file I might see what is going on. The only other thing I could see going wrong would be in the channel list from the NextPVR web server at http://server IPConfusederver port/channels

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#7
2017-12-19, 04:24 PM
"http://myserver:8866/channels" reported back with this message.

"This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rsp stat="fail"><err code="8" msg="Invalid Session"/></rsp>"
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#8
2017-12-19, 06:31 PM
VCR58 Wrote:"http://myserver:8866/channels" reported back with this message.

"This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rsp stat="fail"><err code="8" msg="Invalid Session"/></rsp>"

To me that would suggest that your local wifi LAN is using a public IP web.log would probably help debug this if you feel that is not the case.

If i develop this further I would support remote security but that will come much later on.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#9
2017-12-19, 06:38 PM (This post was last modified: 2017-12-19, 09:10 PM by mvallevand.)
jimbojones Wrote:Tested on lg g4 all stock,

installed fine ,npvr and channels appeared straight away , all channels are mpeg2 whether hd or not, only thing that would work was ac3 audio on one hd channel, hope this is of use,

cheers james

Thanks James it helps confirm my belief that phones are not great target clients. I expect tablets and Android/AndroidTV boxes will work out better.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#10
2017-12-20, 12:26 AM
mvallevand Wrote:To me that would suggest that your local wifi LAN is using a public IP web.log would probably help debug this if you feel that is not the case.
I was outside my LAN as you suspected.

So, I tried the link when I got home and this time I got a web page with a player control. Here is a screenshot.

[ATTACHMENT NOT FOUND]

I captured the Web.log file after restarting the web server and then trying the channels link. I'm still searching for the android ligcat file. Do you know where to look for it?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Samsung Tizen client testing mvallevand 55 6,463 2024-12-21, 04:00 PM
Last Post: erik123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode