Comments (7)
What follows is the sequence that we followed.
Stack Overflow kernel link: https://stackoverflow.com/questions/49538514/sound-driver-snd-aloop-kernel-module-setup-issue-with-aws-ec2-ubuntu-16-04-ins
Add generic kernel
sudo apt-get update
sudo apt-get -y install linux-image-extra-virtual
Change default kernel
sudo vim /etc/default/grub
sudo update-grub
sudo reboot now
List available kernels
grep -A200 submenu /boot/grub/grub.cfg |grep menuentry
Check selected kernel
uname -srm
Download snd-aloop module
sudo apt install linux-extra-utils
Load snd-aloop
sudo modprobe snd-aloop
modprobe snd-aloop pcm_substreams=1
Check whether loopback devices are setup
aplay -l
Set up .asoundrc in /home/
See also https://www.programmersought.com/article/91613472462/.
pcm.!default { type plug slave.pcm "hw:Loopback,0,0" }
from puppeteer-stream.
I was able to solve this by creating an ALSA loopback device.
@lakshaytalkstocomputer can you share your solution? A proof of concept repository would be really helpful! Thanks!
from puppeteer-stream.
not a problem with puppeteer-stream but rather with the chrome extension api
https://bugs.chromium.org/
from puppeteer-stream.
A mention to particular bug or issue number would be helpful, Thanks!
from puppeteer-stream.
I’m not sure if there’s already one
I’ve only found this post https://stackoverflow.com/questions/51411243/chromes-tabcapture-api-not-recording-all-audio-on-tab but there isn’t a solution.
So I would suggest you to open a new issue on the chromium bug tracker.
from puppeteer-stream.
I was able to solve this by creating an ALSA loopback device.
from puppeteer-stream.
We ( me and @preetmishra )really did not do anything out of ordinary. We ran the script which had ALSA loopback device setup. and it automatically worked. One thing to note is that in ec2 we needed to change the kernel to generic one. AWS one doesnt work because we cannot install custom kernel module (snd-aloop) to it.
Please let me know if this information is any worth it, if you still need a repo i can do that. Also i would like to mention that audio in youtube videos were being recorded on ec2 but audio in webrtc calls were not and for that we dneeded to setup ALSA loopback.
from puppeteer-stream.
Related Issues (20)
- Chrome 115 issues? HOT 2
- What parameters should I configure to improve my video?
- Shutdown is taking more than 5 seconds HOT 7
- [QUESTION] How can I record only part of a page? HOT 1
- Allow configuring websocket port
- Recorder giving empty file
- Recorder giving an empty video file
- A solution for non-seekable video files. HOT 1
- Electron build fails to access stream extension workaround
- Want to run two recordings simultaneously HOT 4
- Advice for taking the last 10s of audio without FFMPEG or re-encoding HOT 1
- Option to specify the websocket port
- Using FFMPEG give an error HOT 1
- Close browser causes Protocol error HOT 6
- Wrong resolution in FFMPEG from the Pipe HOT 1
- Process hangs after recording finished
- Are transparent videos possible?
- videoConstraints Not works HOT 3
- [feature request] streaming part of the webpage
- Use it with an existing HTTP server.
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 puppeteer-stream.