Sign inSign up

extreamapp/extreamer-incoming

By extreamapp

•Updated almost 6 years ago

Incoming RTMP stream server

Image
0

1.8K

extreamapp/extreamer-incoming repository overview

⁠Extreamer

⁠Manager API

  • RESTful API for managing streams and their consumers
  • App Engine serverless functions
  • Data stored in Firestore
⁠Commands
  • Create RTMP stream

    • Payload

      {
        "activation": "datetime",
        "duration": "number of days",
        "max_bitrate": "integer",
        "name": "string",
        "dedicated": true
      }
      

      If dedicated is set to true then we create a dedicated node in the cluster. Otherwise, we will use a shared node.

    • Returns:

      {
        "id": "uuid",
        "inbound_url": "an RTMP URL",
        "outbound_url": "a DASH manifest URL",
        "expiration": "datetime",
        "options": {
          ...
        }
      }
      
  • Update RTMP stream

    • Payload

      {
        "activation": "datetime",
        "duration": "number of days",
        "max_bitrate": "integer",
        "name": "string",
        "dedicated": true
      }
      

      If dedicated is set to true then we create a dedicated node in the cluster. Otherwise, we will use a shared node.

    • Returns:

      {
        "id": "uuid",
        "inbound_url": "an RTMP URL",
        "outbound_url": "a DASH manifest URL",
        "expiration": "datetime",
        "options": {
          ...
        }
      }
      
  • Upload VOD file

    • Payload (multipart/form-data)

      file=BINARY_CONTENT
      name=string
      activation=datetime
      duration=integer
      breakpoints[]=array of bitrate versions
      
    • Returns:

      {
        "id": "uuid",
        "outbound_url": "a DASH manifest URL",
        "expiration": "datetime"
      }
      

⁠Inbound Content

  • A node.js docker container with node-media-server
    • Single-tenant - docker container created for each RTMP creation

⁠Encoder

  • App Engine node.js / ffmpeg API to create a stream and push it to Outbound shaka packager

⁠Outbound Content

Tag summary

Content type

Image

Digest

Size

185 MB

Last updated

almost 6 years ago

docker pull extreamapp/extreamer-incoming