Comments (8)
I think using the default source should work for now.
But that reload should be easy to prevent :D
from decentralized-video-chat.
I added the refresh because if you are using headphones as the default audio input, and then you unplug your headphone you lose microphone input. This was a quick fix, there is definitely a more elegant way to do this
from decentralized-video-chat.
We should probably check if there are any inout devices at all and if not, toggle the 'mute' button to reflect that, along with an error message if the user tries to unmute themselves.
from decentralized-video-chat.
We experimented some issues where the page would refresh by itself.
I can't tell for sure if the headphones where disconnecting accidentally of what there reseaons were.
However it happens systematically on one side (MacOS latest stable FF) when trying to share screen.
from decentralized-video-chat.
So I've just looked at this, but I really think fixing this causes more problems than it solves :/
For example, we would need to add and remove tracks, detect what track are available, add new error handlers and status text, etc.
I'd recommend just keeping it the way it is with the reloads, but adding the ability to join a room even if no video input is available and setting some state (video disabled, audio muted, etc.) in localstorage to solve #13
from decentralized-video-chat.
If that's the conclusion, I guess a message to the user would be helpful. Ex: "Microphone was unplugged. Reloading…".
from decentralized-video-chat.
Yeah this shouldn't be a problem :)
from decentralized-video-chat.
I would really like to see auto swapping of input and output. Checkout my branch audio-sucks to see some of what I did for detecting and switching to new tracks
from decentralized-video-chat.
Related Issues (20)
- Unable To Build (npm run build) HOT 25
- Simultaneous Conected HOT 1
- Features Request : Is it possible to record the video streams in each room as separate folder? HOT 11
- npm start doesnt work if i make any changes in the html files/any other files HOT 6
- Unable to connect to the same room HOT 7
- Video Camera not opening in live server HOT 1
- Webcam video not in proper resolution HOT 1
- Cannot GET error HOT 5
- webcam is not opening on live server HOT 1
- Call recording HOT 4
- Empty messages being sent in the chat HOT 1
- Can not call if custom setup for use case: user A have camera, but user B do not have camera HOT 1
- This project is currently inactive HOT 6
- username is required
- One two weeks ooms HOT 1
- Unable to install on CentOS 7 HOT 3
- Vlog
- How soon until group calls?
- Collab Suggestion For Metaverse Project.. HOT 5
- Cannot see the others' screen if I don't have a camera
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 decentralized-video-chat.