C++ PVR with inputstream.adaptive

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