Release of decentralized video broadcasting platform PeerTube 2.0

Published issue Peer Tube 2.0, a decentralized platform for organizing video hosting and video broadcasting. PeerTube offers a vendor-independent alternative to YouTube, Dailymotion and Vimeo, using a content distribution network based on P2P communication and linking visitor browsers. Project achievements extend licensed under AGPLv3.

PeerTube is based on the use of a BitTorrent client webtorrent, launched in a browser and using technology WebRTC to organize a direct P2P communication channel between browsers, and a protocol Activity Pub, which allows you to combine disparate video servers into a common federated network in which visitors participate in the delivery of content and have the ability to subscribe to channels and receive notifications about new videos. The web interface provided by the project is built using the framework Angular.

The PeerTube federated network is formed as a community of interconnected small video hosting servers, each of which has its own administrator and can adopt its own rules. Each server with video plays the role of a BitTorrent tracker, which hosts the user accounts of this server and their videos. The user ID is in the form "@user_name@server_domain". Browsing data is transmitted directly from the browsers of other visitors viewing the content.

If no one is watching the video, the return is organized by the server to which the video was originally uploaded (using the protocol webseed). In addition to distributing traffic between users watching videos, PeerTube also allows hosts launched by authors to host videos for the first time to cache other authors' videos, forming a distributed network of not only clients, but also servers, as well as providing fault tolerance.

To start broadcasting via PeerTube, the user only needs to upload a video, a description, and a set of tags to one of the servers. After that, the movie will be available on the entire federated network, and not just from the primary download server. To work with PeerTube and participate in the distribution of content, a regular browser is enough and no additional software is required. Users can track activity in selected video channels by subscribing to feeds of interest on federated social networks (such as Mastodon and Pleroma) or via RSS. To distribute video using P2P communications, the user can also add a special widget with a built-in web player to his site.

Currently, more than 300 servers maintained by various volunteers and organizations. If a user is not satisfied with the rules for placing videos on a particular PeerTube server, he can connect to another server or run your own server. For quick server deployment, a pre-configured Docker image (chocobozzz/peertube) is provided.

В new release:

  • Changes have been made that break compatibility. Removed old system implementation assurances digitally signing JSON LD (Linked Dat) documents. Configuration parameter email.object has been renamed to email.subject;
  • Support for plugins and themes has been stabilized. Each PeerTube instance can have its own theme (the administrator uploads the themes, after which they become available for activation by users);
  • The ability to connect handlers for filtering out users during registration has been added to the plugin development API (filter:api.user.signup.allowed.result);
  • PeerTube node management tools have been expanded in the administrator's web interface. As part of the work to create a new directory of PeerTube nodes (joinpeertube.org) added additional information fields describing the supported node: category, language of communication, Code of Conduct, moderation rules, information about the owner and administrator, information about the equipment and funding of the node. The specified information is also posted on the page for connecting the user to the node and in the “About” section;
  • Added the ability to automatically track other nodes and publicly accessible registries;
  • Added a page with the most liked videos;
  • A section with statistics has been added to the node information page;
  • The video tab now supports case-insensitive search;
  • Added automatic playback mode for the next recommended video;
  • Added support for subtitles in the form of simple text files;
  • Theme substitution operations have been accelerated;
  • The ability to enable broadcasting using HLS (HTTP Live Streaming) has been added to the admin panel.

Source: opennet.ru

Add a comment