Wiki » History » Version 2

« Previous - Version 2/13 (diff) - Next » - Current version
Luca Baldesi, 05/04/2017 04:11 PM


PeerStreamer-ng (next generation) is intended as a follow up of the project Peerstreamer; its goals are the following:
  • Simplifying the code, by removing the old, useless or un-maintainable code and dropping the more third-party dependencies as possible
  • Focus on specific user cases; HTTP interface, RTP content flow
  • Support a full fledged friendly user interface
  • Being the most lightweight and portable as possible

The design

The HTTP flow (a.k.a. the ReST interface)

The video consumer

  • GET /player.html : default web application page
  • GET /channels.json : JSON list of available channels, produced through a call to the SERF client
  • GET /player.html?active=<channel_name> : default web application page, with the video plugin initialized for the <channel_name> channel
  • UPDATE /player.html?active=<channel_name> : heartbeat request, to be called frequently

The video distributor

  • GET /mysources.html: My source html page
  • POST /mysources?name=<channel_name>: Create a new distribution overlay
  • GET /mysources/<channel_name>: get channel parameters and statistics web page
  • DELETE /mysources/<channel_name>: destroy the indicated distribution overlay