Coder Social home page Coder Social logo

Comments (2)

mkhahani avatar mkhahani commented on August 20, 2024

You need to edit the config.js file and set your server IP:

{ip: '192.168.1.100', announcedIp: null}

from mediasoup-sample-app.

bhaskarvgurram avatar bhaskarvgurram commented on August 20, 2024

This is the error I am getting when I click publish

(node:31538) UnhandledPromiseRejectionWarning: Error: port bind failed due to address not available [udp:192.168.1.100, attempt:1] at Channel._processMessage (/Users/bhaskargurram/RA/mediasoup-sample-app/node_modules/mediasoup/lib/Channel.js:284:19) at Socket.Channel._socket.on (/Users/bhaskargurram/RA/mediasoup-sample-app/node_modules/mediasoup/lib/Channel.js:101:13) at Socket.emit (events.js:189:13) at addChunk (_stream_readable.js:284:12) at readableAddChunk (_stream_readable.js:265:11) at Socket.Readable.push (_stream_readable.js:220:10) at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) (node:31538) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

Changed WebRtcTransport listenIps in config.js and it is working

from mediasoup-sample-app.

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.