Comments (4)
FYI, I am rewriting this module from scratch with better code and more features but for the meantime there is no internal way in code to shut it down. What I used in the past is spawning Livecam as a ChildProcess and shutting the process down when I am done streaming.
from livecam.
Uh nice. I'm looking forward to that.
Do you have some example code on how to span/stop livecam as child process? I've never worked with child processes.
from livecam.
Forget that. I figured it out. But I have another question: How do I embed the video in an html file? Would i just put the UI in or use the Gstreamer Broadcast? (If gstreamer broadcast: How do I embed it? html video tag?)
from livecam.
the html to play back the broadcast is embedded in the module as well. you can find it here: https://github.com/sepehr-laal/livecam/blob/e229dee6efbfe58aba29fde82c79ccf008e08510/livecam.js#L327
if you want to host it separately, you need to replace @WEBCAM_ADDR@
and @WEBCAM_PORT@
yourself somehow.
from livecam.
Related Issues (7)
- Video not showing up in windows HOT 3
- Is anyone using this on the raspberry pi? HOT 1
- Video d'ont display HOT 1
- Streaming over internet HOT 1
- Showing empty screen in windows HOT 6
- Server not starting HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livecam.