Streamedian / html5_rtsp_player

Play RTSP stream from IP camera in browser in this HTML5 player without plugins
Apache License 2.0
2.58k stars 593 forks source link

How can I run the example #5

Closed BMo-design closed 7 years ago

BMo-design commented 8 years ago

Hi, I want to use your script to show the stream of my Xioami YI cam. However, I guess I need some help to rund your code.

I downloaded your files with the "npm install git://github.com/SpecForge/html5_rtsp_player.git" command. Then I navigated to the example folder in my terminal and executed "npm install". However, "npm install bp_event bp_log bp_statemachine" does nor work. There seems to be a problem with bp_log. I installed bp_logger instead.

Next, "webpack --config webpack.config.js" -> throw the error "ERROR in ./test.js Module build failed: Error: Couldn't find preset "es2015" relative to directory... ".

What do I have to do to compile your example?

victorgrenke commented 8 years ago

Hello

could you try to make
npm install in "html5_rtsp_player" folder instead "example" folder

it seems to me in this case it should work

let me know the result please

mburger81 commented 7 years ago

Hi @BMo-design, was you able to get it work?

We are trying to implement the lib in our project but there are several problems, as you we are not able to build the test.build.js file.

Some infos or code to share with us?

szhansen commented 7 years ago

hi,anybody can send me the file: webpack.config.js 94022640@qq.com thanks a lot. image

kreopt commented 7 years ago

all necessary files are in repository now