Skip to content

DDVTECH/StreamCrafter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamcrafter

In-browser compositor and broadcaster

NPM

Install

npm install --save @optimist-video/streamcrafter

Usage

import React, { Component } from 'react'

import { StreamCrafter } from '@optimist-video/streamcrafter'
import '@optimist-video/streamcrafter/dist/index.css'

class Example extends Component {
  render() {
    return <StreamCrafter
      ingestUri={"http://localhost:8080/webrtc/live"}
      sceneWidth={1280}
      sceneHeight={720} 
    />
  }
}

Props:

  • ingestUri (string): the WHIP endpoint the StreamCrafter should stream towards.
  • sceneWidth (integer): Width in pixels of scenes. Defaults to 1280
  • sceneHeight (integer): Height in pixels of scenes. Defaults to 720

Run your own MistServer CDN

This will at some point contain instructions for:

  • Installing MistServer
  • Enabling HTTPS
  • Configuring a stream
  • Use the StreamCrafter with your own MistServer instance
  • View stream / embed the player
  • Load Balance multiple MistServer nodes

License

GPLv2 © DDVTech