(repost - used wrong account)
I might be misunderstanding, but isn’t the mediasoup-broadcaster-demo supposed not produce any sound? Looking into MediaStreamTrackFactory.cpp it definitely looks like that:
auto fakeAudioCaptureModule = FakeAudioCaptureModule::Create();
if (!fakeAudioCaptureModule)
{
MSC_THROW_INVALID_STATE_ERROR("audio capture module creation errored");
}
factory = webrtc::CreatePeerConnectionFactory(
networkThread,
workerThread,
signalingThread,
fakeAudioCaptureModule,
webrtc::CreateBuiltinAudioEncoderFactory(),
webrtc::CreateBuiltinAudioDecoderFactory(),
webrtc::CreateBuiltinVideoEncoderFactory(),
webrtc::CreateBuiltinVideoDecoderFactory(),
nullptr /*audio_mixer*/,
nullptr /*audio_processing*/);
and then in the fake_audio_capture_module.h
// This class implements an AudioCaptureModule that can be used to detect if
// audio is being received properly if it is fed by another AudioCaptureModule
// in some arbitrary audio pipeline where they are connected. It does not play
// out or record any audio so it does not need access to any hardware and can
// therefore be used in the gtest testing framework.
But when I run the application it grabs the computer’s microphone:
(I can also hear myself )
I am running the mediasoup-broadcaster-demo on Ubuntu 18.04.04.