PeerTube 2.3 and WebTorrent Desktop 0.23 available

Published issue Peer Tube 2.3, 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 on 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:

  • Added support for global search (disabled by default and requires administrator activation).
  • The administrator is given the ability to define the banner displayed on the pages of the current instance of PeerTube.
  • The tools for building federated networks have been expanded: A setting has been added for transferring videos to other networks that are not included in public lists. Implemented support for sorting video files by screen resolution in reverse order. Sending full descriptions of video objects through ActivityPub is provided.
  • Moderators are given the ability to bulk delete comments for a given account and disable accounts while viewing thumbnails. Added support for predefining common deletion reasons.
  • Optimized the use of all available screen space when displaying the thumbnail grid.
  • Added video counter and channel information on the "My videos" page.
  • Simplified menu navigation in the admin interface.
  • Provided the ability to restrict access to RSS feeds with new videos for certain channels and accounts.
  • Plugin alpha release proposed auto block videos, which allows you to block videos based on public block lists.
  • Following the general trend in the use of inclusive terms, the "videos blacklist" function has been renamed to "videos blocks/blocklist".
  • For image processing instead of binding library sharp module involved
    jimp (JavaScript Image Manipulation Program), written entirely in JavaScript.

Additionally formed new release WebTorrent Desktop 0.22, a torrent client that supports video streaming and allows you to view video and audio content without waiting for it to be fully downloaded, downloading new data as needed. WebTorrent Desktop also allows you to change the position inside files that have not yet been fully downloaded (changing the position automatically changes the priority in downloading blocks). It is possible to connect to both WebTorrent-based browser peers and BitTorrent peers using generic programs such as Transmission or uTorrent. Magnet links, torrent files, peer detection by DHT (Distributed Hash Table), PEX (Peer exchang) and lists from tracker servers are supported. Streaming is supported using AirPlay, Chromecast and DLNA protocols.

New version remarkable support for multi-track audio, improved codec detection, file verification notification, support for MPEG-Layer-2, Musepack, Matroska (audio) and WavePack formats, the start of publishing rpm packages for Linux and assemblies for arm64 architecture. Release 0.22 is based on the Electron 9 platform, but update 0.23 has already been published, in which the switch to the test version of the Electron 10 platform was made.

Recall that WebTorrent is an extension of the BitTorrent protocol that allows you to organize a decentralized content distribution network that functions by linking the browsers of users viewing content. The project does not require an external server infrastructure and browser plugins to work. To connect site visitors to a single content delivery network, it is enough to place a special JavaScript code on the site that uses WebRTC technology for direct data exchange between browsers.

Source: opennet.ru

Add a comment