在javascript中可以不使用麦克风进行通话吗? [英] Is it possible to call without microphone in javascript?

查看:269
本文介绍了在javascript中可以不使用麦克风进行通话吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将没有麦克风的声音发送到另一台设备。

是否可以发送没有麦克风的语音?

i希望通过javascript或web rtc将我的电脑声音发送到另一台电脑但是不使用任何麦克风



我尝试过:



i尝试过webrtc带麦克风的音频调用它工作正常,但没有麦克风它不工作请帮助



谢谢

Send voice without microphone to another device.
Is it possible send voice without microphone?
i want to send my pc sound to another pc via javascript or web rtc but without use of any microphone

What I have tried:

i tried webrtc with audio calling with microphone it works fine but without microphone its not working please help

thanks

推荐答案

需要麦克风来捕获语音,如果没有麦克风,机器如何捕获声音?所以,这个问题有没有的答案。



但是,如果您想捕获系统音频,那么您可以。您可以选择并选择扬声器播放的内容并尝试捕捉它。



选择相机,麦克风和扬声器来自您的网络应用程序  | 网络  |  Google开发者 [ ^ ]

捕获音频& HTML5中的视频 - HTML5 Rocks [ ^ ]

Navigator.getUserMedia() - Web API | MDN [ ^ ]



在这种情况下,您需要了解的是如何捕获音频节点哪个不是需要只是一个麦克风,可以是任何生成音频的过程,可以捕获)。



javascript - 使用jS或html5以编程方式记录网页的音频输出? - 堆栈溢出 [ ^ ]
Microphone is required to capture the voice, how can the machine capture the sound if there is no microphone? So, there is no answer to this question.

However, if you wanted to capture the system audio then you can. You can select and chose what Speakers are playing and try and capture that.

Choose Cameras, Microphones and Speakers from Your Web App  |  Web  |  Google Developers[^]
Capturing Audio & Video in HTML5 - HTML5 Rocks[^]
Navigator.getUserMedia() - Web APIs | MDN[^]

In this case, what you need to look into is how to capture the Audio Node (which does not need to be a microphone only, and can be any process generating audio, that can be captured).

javascript - Programatically record audio output from web page using jS or html5? - Stack Overflow[^]


这篇关于在javascript中可以不使用麦克风进行通话吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆