Giter VIP home page Giter VIP logo

Comments (4)

3p3r avatar 3p3r commented on July 26, 2024

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.

jagsus avatar jagsus commented on July 26, 2024

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.

jagsus avatar jagsus commented on July 26, 2024

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.

3p3r avatar 3p3r commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.