Answer the question
In order to leave comments, you need to log in
Is it possible to use a microphone as a source of two audio streams?
Good afternoon!
I need to connect vue-speech-streaming to a site to transcribe text. I also want to use WebRTC broadcasts on the site. Is it possible to create two audio streams - one for google speech, the other for webRTC from the same microphone? Will the browser allow this? Two streams because I still don’t know how to pull the audio stream out of webRTC (I’m connecting a third-party service).
Answer the question
In order to leave comments, you need to log in
You can, but there can be problems if the stream comes from another device through a P2P connection. For example, video cannot be processed in canvas webgl context - I don’t know for sure about audio, but keep in mind if anything :) You can capture media from the device via getUserMedia as many times as you like, the stream itself can also be cloned more than once.
If this is an attempt to form an object identifier to be called in a jquery selector then:
var modal = "#modal" + String($(this).attr("id"));
$(modal).doStuff(...)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question