Comments (9)
@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/
- 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/
- 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.
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 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/
- 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/
- 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.
@veeyka please close the issue now, so thr maintainer can save time and work on thr projet instead.
from node-webrtc.
you guys are funny this repo hasnt been committed to in years the maintainer has moved on with their life fr
from node-webrtc.
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.
i cant, I'm not a maintainer 🤷♂️
from node-webrtc.
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.
Glad I helped @veeyka, good luck for the future.
from node-webrtc.
Related Issues (20)
- Nonstandard APIs (RTCAudioSource) : Multiple tracks created from same source, all tracks do not get audio. only latest track gets audio. HOT 1
- Forcing a fixed samplerate when using `nonstandard.RTCAudioSink`
- streaming video and audio with dely
- `npm i -S wrtc` —> `node-pre-gyp` error HOT 4
- Does it support v4l2 source? HOT 1
- Is this still maintained? HOT 1
- Is Programmatic Video not the real media stream?
- Error in Build from Source
- electron >= 20 crashes if receiving a buffer with simple-peer
- ncmake build failed for wrtc (darwin arm64) HOT 1
- is TURNS (Turn over TLS) supported? HOT 1
- 'npm install wrtc' always failed with http error 503, but wget the tarball succeeded.
- High CPU usage on raspberry pi HOT 2
- Is this repo stale / abandoned? HOT 3
- Cannot download binaries - Darwin m2 Pro 14.0 HOT 4
- i am unable to install on nodejs windows 10 HOT 2
- Is there an easy way to use it for node 18|20 HOT 1
- The dependency to `msdmo.dll` for Windows is not documented HOT 1
- No longer able to install modul wrtc on Macos (M3 Pro) HOT 3
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 node-webrtc.