ChihChengYang / wfs.js

html5 player for raw h.264 streams
BSD 2-Clause "Simplified" License
380 stars 139 forks source link

Stream RTSP #7

Open Ken-LiuL opened 6 years ago

Ken-LiuL commented 6 years ago

Currently I am working on livestream for RTSP stream like rtsp://xxx , is that possible to use this library as the tool? Can I directly set up a node Websocket server and channel that stream to the frontend by using this library?

ChihChengYang commented 6 years ago

This js library uses for frontend and just receives data from Websocket. If you would like to use rtsp streaming, you need to create a rtsp client first (e.g. live555,ffmpeg, or your own code...) to receive data then packeting data into Websocket in server side as this project doing.

Ken-LiuL commented 6 years ago

I have implemented a rtsp server , combined with your repo, it can play rtsp stream now, however there are some lag and choppy, if you are interested in this, maybe I can push the request, and you can have a look at this example, and then could improve the performance of this repo

gaopeipeiok commented 4 years ago

I am interested in your project, can you help me and show me how did you play rtsp stream

sergey-suzdaltsev commented 4 years ago

You can try the Yellostone project