Kodi Community Forum
C++ PVR with inputstream.adaptive - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312)
+---- Thread: C++ PVR with inputstream.adaptive (/showthread.php?tid=317517)



C++ PVR with inputstream.adaptive - Kartman - 2017-06-30

Hi, I am trying to build a "native" pvr addon which could open stream with inputstream adaptive interface.

I use a python addon version for doing that right now but I want to move to "native' for better epg integration.

For now I can't find out how I can implement this. Do I simply need to add inputsream add-ons parameter on the channel.strStreamURL or something else?

Some guidances will be very helpful.

thanks


RE: C++ PVR with inputstream.adaptive - MatthewLundberg - 2017-07-01

I wouldn't recommend using strStreamURL at all. See here: https://forum.kodi.tv/showthread.php?tid=259830


RE: C++ PVR with inputstream.adaptive - Kartman - 2017-07-02

So, I need to use ReadLiveStream to provide the decrypted data to the "backend" but It seems that I have no way to have this data from inputstream.adaptive.

I try to call "plugin://inputstream.adaptive/?" from OpenLiveStream but haven't find yet how to do it.

Edit: To report back, I haven't found a solution so I will stick with a not devs friendly but usable workaround I use. On OpenLiveStream I call my python plugin with jsonrpc, which take care to launch the video with inputstream.adaptive.