The ReST interface

The video consumer

  • GET /player.html : default web application page
  • GET /channels : JSON list of available channels
  • POST /channels/<stream_id> with payload ipaddr=<sourceip>&port=<sourceport> : create the streaming resource <stream_id> and launch the streaming instance; it returns a JSON describing the resource attributes with which initialize the plugin player
  • UPDATE /channels/<stream_id> : heartbeat request, to be called frequently on <stream_id>

The video distributor

  • GET /mysources.html: My source html page
  • POST /mysources/<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


channel1_mockup.png (21.9 KB) Luca Baldesi, 06/12/2017 07:56 AM

my_sources_mockup.png (22.7 KB) Luca Baldesi, 06/12/2017 07:56 AM

player_mockup.png (21.5 KB) Luca Baldesi, 06/12/2017 07:56 AM