wfsjs v1.1.2
wfs.js - html5 player for raw h.264 streams.
A javascript library which implements websocket client for watching and focusing on raw h.264 live streams in your browser that works directly on top of a standard HTML5 element and MediaSource Extensions.
It works by transmuxing H264 NAL unit into ISO BMFF (MP4) fragments.
Also,Implement a demo server to push video streams.
Build
git clone https://github.com/ChihChengYang/wfs.js.git
wfs.js
setup node.js/npm dev environement
cd wfs.js
npm install
npm run build
demo server
Setup go's dev environement
go get "github.com/gorilla/websocket"
go get "github.com/satori/go.uuid"
./server/build_lite.sh
Demo server serves with raw h.264 files, yet that can be easily transfered and connected to RTSP or other sources (h.264 streaming).
Demo
run ./demo/wfs_server
open a browser e.g. Chrome , 127.0.0.1:8888