Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Androi testing community testing help requested

  1. #1
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,051

    Android NextPVR community testing help requested

    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
    Last edited by mvallevand; 2017-12-20 at 01:56 PM.

  2. #2
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    93
    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.

  3. #3
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,051
    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
    Last edited by mvallevand; 2017-12-18 at 01:24 PM.

  4. #4
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    93
    Quote Originally Posted by mvallevand View Post
    Did you have wifi enabled?
    Wifi is enabled.
    Quote Originally Posted by mvallevand View Post
    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.
    Quote Originally Posted by mvallevand View Post
    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.

  5. #5
    Join Date
    Jul 2012
    Location
    australia
    Posts
    41
    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

  6. #6
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,051
    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 IP:server port/channels

    Martin

  7. #7
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    93
    "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>"

  8. #8
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,051
    Quote Originally Posted by VCR58 View Post
    "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

  9. #9
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,051
    Quote Originally Posted by jimbojones View Post
    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
    Last edited by mvallevand; 2017-12-19 at 09:10 PM.

  10. #10
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    93
    Quote Originally Posted by mvallevand View Post
    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.

    Name:  Screenshot_20171219-174633.jpg
Views: 181
Size:  10.8 KB

    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?
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •