tom-james-watson / p2p.chat

p2p video conferencing powered by WebRTC.
MIT License
686 stars 134 forks source link

How to run serverside app after bundling #13

Closed najtin closed 4 years ago

najtin commented 4 years ago

npm start runs the app with webpack-dev-server. There is the option to bundle the software. So i figured there must be a way to run the server side app after bundling, otherwise i don't understand what the bundle option is there for. I would be thankful if someone could explain it.

najtin commented 4 years ago

If i deplay the bundle (index.html dist/ img/) i get the following error after the creation of a room: grafik URL is http://localhost:XXXX/f4hkzZPxDLg/fjgfhjd?created=true Which does make sense, since it is just a static webpage.

tom-james-watson commented 4 years ago

Bundling is to produce static site files. The idea is to then serve the static site from something like netlify. The peer matching is done via a signal hub server which can be configured in the code.

I'm afraid to say that at this point the app is not being developed and is broken due to changes in browser APIs. I recommend looking elsewhere for now. I recommend meet.jit.si for an open source alternative.