项目作者: rishiraj824

项目描述 :
A Deno server for Chalk It Out (https://chalk-it-out.surge.sh). Uses Mux Videos Livestreaming and Websockets
高级语言: TypeScript
项目地址: git://github.com/rishiraj824/chalk-it-out-deno-server.git
创建时间: 2020-05-29T03:43:47Z
项目社区:https://github.com/rishiraj824/chalk-it-out-deno-server

开源协议:

下载


About the Server

This is an attempt at creating a Web API + Web Socket server in Deno while using ABC - abc@v1.0.0-rc2/mod.ts"">https://deno.land/x/abc@v1.0.0-rc2/mod.ts.

The /live-stream route helps in creating a live-stream, using the MUX API and returns back a Playback ID.
Further events from the client are sent using websockets to the Deno socket port and pushed to the RTMP using an ffmpeg sub-process.

You can finally consume the stream using an HLS player on http://stream.mux.com/:playback_id.m3u8.

Read more about the project here.

Run the server using:

deno run --allow-write --allow-read --allow-net --allow-env --allow-run --unstable ./server.ts

Run the client:

https://github.com/rishiraj824/chalk-it-out