Coder Social home page Coder Social logo

Comments (4)

Cameron2920 avatar Cameron2920 commented on May 28, 2024 2

Hi @markandrus,

I stumbled across test/lib/mockwebrtc.js and I was able to get it working on node by using a node-webrtc client (I ended up using this one electron-webrtc). My goal is to record a call on a node server, but the problem is that none of the node webrtc clients support media streams, so I think I'm out of luck. I haven't completely given up yet, so I'll let you know if I make any progress.

from twilio-video.js.

markandrus avatar markandrus commented on May 28, 2024

Hi @Cameron2920,

Thanks for the report. In the future, I'd love to see this library used from Node, e.g. with some server-side WebRTC library. Until then, depending on what you are trying to do, you may wish to simply "fake" WebRTC support in your Node build. For an example of this, see test/lib/mockwebrtc.js. Note that the implementation there may not be suitable for all cases (e.g., the dummy SDP is passes around may cause a setRemoteDescription error if passed to remote Clients).

What would you like to achieve with Node?

from twilio-video.js.

markandrus avatar markandrus commented on May 28, 2024

@Cameron2920 have you tried https://github.com/vmolsa/webrtc-native? It supports MediaStreams I believe.

from twilio-video.js.

Cameron2920 avatar Cameron2920 commented on May 28, 2024

I hadn't seen that one yet, but I'm having problems building that library on my computer. I've decided that recording a call will be much easier with https://github.com/meetecho/janus-gateway and then letting twilio handle the peer to peer connections. I'll let you know if I ever do get the twilio video library working on node, but for now I am okay with closing this issue.

Thanks for the help, @markandrus!

from twilio-video.js.

Related Issues (20)

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.