Like to suggest P2PSP (abbriviation for “Peer-to-Peer Streaming Protocol”) protocol support in a VFS (Virtual File System) addon for Kodi and/or maybe a PVR client addon for Kodi.
Another option could be to extend the existing IPTV Simple Client for Kodi PVR so that it also supports the P2PSP protocol or that it could use a new VFS addon for P2PSP clients.
Code is available on GitHub: https://github.com/P2PSP
P2PSP is an application layer protocol designed for the real-time streaming of multimedia content over the Internet. P2PSP is free, open, Creative Common Attribution-sharealike 4 International licensed. Among our objectives are deployment of streaming video services, real-time video recording and transmission tools, social streaming, application-layer IP multicast on the global Internet, secure communications, etc. and P2PSP.org is a nonprofit organization that develops, among other things, the P2PSP protocol.
P2PSP.org is also this year on for the second time on GSoC (Google Summer of Code):
https://summerofcode.withgoogle.com/orga…352283648/
http://p2psp.org/en/news/77-gsoc-2017-ideas-page
The P2PSP is an application layer protocol for the real-time streaming of multimedia content over the Internet, i.e., where the users playback the stream in a synchronized way. It can be used to build a variety of live streaming services that ranges from small hangouts to large IPTV systems. Unlike in the traditional CS (Client/Server) and CDN (Content Delivery Network) based video streaming, P2P peers contribute with their upload bandwidth to the system. For this reason, in general, P2P systems are much more scalable than those based on the client/server architecture.
P2P video streaming technology has been an intensive research field of in the last years and several proposals have appeared. P2PSP is another proposal to add to a long list of solutions. However, before describe it, we would highlight some of its features making it attractive, specially for the open-source community:
- The P2PSP is not aware of the broadcasted content, the bit-rate, the format, etc. You can transmit any type of stream you need without having to modify the protocol at all.
- The P2PSP has an application layered architecture. The number of layers used depends on the final requirements.
- The most basic layer (the broadcasting layer) is simple enough to run the peer process in systems with very low computing resources (for instance, to run several threads or to fork processes is not needed). The rest of layers add functionality to the protocol, such as parallel streaming, system integrity and information privacy. Of course, layers can be modified or new ones can be added to fulfill the requirements, always keeping the interface between them.
- If native IP multicast is available (even locally, as happen in most of the local networks), P2PSP can use it, having the same performance as IP multicast.
- Under unannounced peer churn, the P2PSP provides methods for error concealment in the received stream.
- Peers can be hosted in private networks, even if they are behind symmetric NATs.
- P2PSP provides Multiresolution (both, spatially and temporally) and bandwidth-adaptive streaming services by using simulcast, scalable video coding and multiple description video coding.
You can know all details of the protocol in P2PSP protocol http://p2psp.org/en/p2psp-protocol