2013-10-22, 02:05 PM
First of all I think that NPVR is a fantastic software and has supplied me with livetv and entertainment in a very stasifying way!
I am using a NPVR backend server with softcam etc providing livetv to all my RaspberryPI, laptops etc but I dont have it on my ipad or my iphone. I would like this to work both on the local network and through VPN in any other place basically.
My idea from the beginning is very simple. I want to have a responsive site (iOS adapted) just parsing xml from http api (method=channel.list). That is the easy part. But what I also want to do is to have 2-3 different "view live" transcoding options mapped to each channel found. I would like to have them preset so I can just choose depending on the speed of the network I am currently on. Then I would just make a link to the iOS VLC player with vlc://http://host:port etc etc which then opens the stream in the VLC app.
I have already tried the first option which is to use NPVR native output, like "view live" in NEWA, which is very simple with the live?channel=x option but how can I proceed with transcoding options? I guess there is no way to send transcoding arguments in the url? How does the channel=x stuff work? How does VLC understand what to stream and how can I adapt it?
----
As a sidenote I would very much like to start understand the code in NPVR in order to do more advanced stuff in the future but I have no application programming experience, except for web, at all. So what developing environments are you using? What is the software I need to start digging in the code? I have looked through most of the code with some simple text/web editor but I dont understand how it is working together. I can't even see any http API calls in any of the plugins? And yes, I have read the sticky thread about "where to start with plugins" but I didn't get any brighter unfortunately I'm sure you think I'm a lost cause but I would appreciate any help very much! Thanks
I am using a NPVR backend server with softcam etc providing livetv to all my RaspberryPI, laptops etc but I dont have it on my ipad or my iphone. I would like this to work both on the local network and through VPN in any other place basically.
My idea from the beginning is very simple. I want to have a responsive site (iOS adapted) just parsing xml from http api (method=channel.list). That is the easy part. But what I also want to do is to have 2-3 different "view live" transcoding options mapped to each channel found. I would like to have them preset so I can just choose depending on the speed of the network I am currently on. Then I would just make a link to the iOS VLC player with vlc://http://host:port etc etc which then opens the stream in the VLC app.
I have already tried the first option which is to use NPVR native output, like "view live" in NEWA, which is very simple with the live?channel=x option but how can I proceed with transcoding options? I guess there is no way to send transcoding arguments in the url? How does the channel=x stuff work? How does VLC understand what to stream and how can I adapt it?
----
As a sidenote I would very much like to start understand the code in NPVR in order to do more advanced stuff in the future but I have no application programming experience, except for web, at all. So what developing environments are you using? What is the software I need to start digging in the code? I have looked through most of the code with some simple text/web editor but I dont understand how it is working together. I can't even see any http API calls in any of the plugins? And yes, I have read the sticky thread about "where to start with plugins" but I didn't get any brighter unfortunately I'm sure you think I'm a lost cause but I would appreciate any help very much! Thanks