• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Problem receiving sound from microphone, when more than one exists in windows.

New Here ,
Jun 16, 2013 Jun 16, 2013

Copy link to clipboard

Copied

Hi all.

I need some help with a problem I've been having for a long time, and cannot solve.

I am using NetConnection and a VideoDisplay in order to stream a video (with sound) from a user's PC webcam, to my Flash Media Server.

I'm having no problem with my video (the picture) I'm getting.

The problem is with the sound -

I see that when the user has more than one microphone in Windows (and in Microphone.names array) - I'm getting no sound, and no microphone activity, even though the users's microphone is OK in windows.

I found no way of fixing this.

I even tried attaching all of the microphones to the stream, but this does not help:

for (i = 0; i < allMicNames_array.length; i++)

{

   nsPublish.attachAudio(Microphone.getMicrophone(i));

}

This was my original code:

mic = Microphone.getMicrophone();

nsPublish.attachAudio(mic);

Help anyone ?

Thanks, Koby.

Views

458

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines