Giter VIP home page Giter VIP logo

Comments (9)

hthetiot avatar hthetiot commented on June 10, 2024 2

@veeyka
You need to learn webrtc to do that, that not this repository job to teach you how.

Here is 2 samples below that will help you to achieve what you looking for, you need to click "view source on github" and find the javascript to see how it is made on each samples.

Generally WebRTC sample is a good place to start leaning based on samples: https://webrtc.github.io/samples/

  1. Change resolution of the camera

Use getUserMedia video contraints for that.

Example:

navigator.mediaDevices.getUserMedia({audio: true, video: {width: 320})

Doc: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
Sample: https://webrtc.github.io/samples/src/content/getusermedia/resolution/

  1. Change the bitrate:

More complicated, see source.
Sample: https://webrtc.github.io/samples/src/content/peerconnection/bandwidth/

P.s I don't recommend asking questions that can be answered via a simple Google search "getUserMedia resolution" on open source repository that have nothing to do with the scope of the project responsibilities. I replied to save time to maintainer that would most likely have closed the issue without replying as he should.

from node-webrtc.

veeyka avatar veeyka commented on June 10, 2024 1

you guys are funny this repo hasnt been committed to in years the maintainer has moved on with their life fr

Year I have seen worse abandoned repo, just wanted to help noob not really care about the state of the repo.

Still @BrycensRanch close this issue please.

thanks dude you helped me alot . yes . this lib is abandoned . but not webrtc . i went to a good place to learn about webrtc and now i know that how to works. thanks alot

from node-webrtc.

veeyka avatar veeyka commented on June 10, 2024

@veeyka You need to learn webrtc to do that, that not this repository job to teach you how.

Here is 2 samples below that will help you to achieve what you looking for, you need to click "view source on github" and find the javascript to see how it is made on each samples.

Generally WebRTC sample is a good place to start leaning based on samples: https://webrtc.github.io/samples/

  1. Change resolution of the camera

Use getUserMedia video contraints for that.

Example:

navigator.mediaDevices.getUserMedia({audio: true, video: {with: 320})

Doc: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia Sample: https://webrtc.github.io/samples/src/content/getusermedia/resolution/

  1. Change the bitrate:

More complicated, see source. Sample: https://webrtc.github.io/samples/src/content/peerconnection/bandwidth/

P.s I don't recommend asking questions that can be answered via a simple Google search "getUserMedia resolution" on open source repository that have nothing to do with the scope of the project responsibilities. I replied to save time to maintainer that would most likely have closed the issue without replying as he should.

thanks dude. good

from node-webrtc.

hthetiot avatar hthetiot commented on June 10, 2024

@veeyka please close the issue now, so thr maintainer can save time and work on thr projet instead.

from node-webrtc.

BrycensRanch avatar BrycensRanch commented on June 10, 2024

you guys are funny this repo hasnt been committed to in years the maintainer has moved on with their life fr

from node-webrtc.

hthetiot avatar hthetiot commented on June 10, 2024

you guys are funny this repo hasnt been committed to in years the maintainer has moved on with their life fr

Year I have seen worse abandoned repo, just wanted to help noob not really care about the state of the repo.

Still @BrycensRanch close this issue please.

from node-webrtc.

BrycensRanch avatar BrycensRanch commented on June 10, 2024

i cant, I'm not a maintainer 🤷‍♂️

from node-webrtc.

hthetiot avatar hthetiot commented on June 10, 2024

i cant, I'm not a maintainer 🤷‍♂️

Sorry wrong @, I was targeting @veeyka that created the issue and should be able to close as a good practice.

from node-webrtc.

hthetiot avatar hthetiot commented on June 10, 2024

Glad I helped @veeyka, good luck for the future.

from node-webrtc.

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.