Skip to main content
September 29, 2006
Answered

Microphone rate capture doesn't work correctly on MAC

  • September 29, 2006
  • 3 replies
  • 521 views
Hi everyone,

We have a sound issue with Mac users that use our videoconference app.

Here's the problem: publisher of stream(audio+video or audio only) can change is microphone capture rate(in kHz) using Microphone.setRate(). If, and only if, the OS of the receiver user is Mac the sound will be ugly(like a bear speaking in a headphone) when the rate capture is at 8 and 11kHz. When the rate capture is 5kHz, the publisher seem to speak like Speedy Gonzalez(Buggs Bunny cartoon). Sound is correct when the capture use 22 and 44kHz.

This work perfectly on PC and this "thing" only happen to Mac user. The problem is not related to bandwidth(40mBits available) or performance(G5, iMac had same bug). Video is fluid it's only the sound at capture rate of 5, 8 and 11kHz that bug.

We use FMS and Flash Player 9 on all computer either Mac or PC.


Thanks for your help!!!
    This topic has been closed for replies.
    Correct answer video_conferencing
    There is a problem with the Flash player on Mac, but it can be fixed by setting the buffer on a netstream. Player for Mac version has always been like this. You can try netstream.setBufferTime(.01). This will solve your problem. Flash player on Mac requires you to set the buffer time although very small.

    3 replies

    Inspiring
    October 6, 2006
    Great!! It's not a Hack. Its a practical solution for Mac.
    video_conferencingCorrect answer
    Inspiring
    October 6, 2006
    There is a problem with the Flash player on Mac, but it can be fixed by setting the buffer on a netstream. Player for Mac version has always been like this. You can try netstream.setBufferTime(.01). This will solve your problem. Flash player on Mac requires you to set the buffer time although very small.
    October 6, 2006
    great hack!!! this really solve all my problems!!!!!!!!!

    // patch pour les sons bugger sur mac
    if(System.capabilities.os == "MacOS")
    this.nsReceiver.setBufferTime(0.01);
    September 30, 2006
    Yup... that's always been a problem with the Mac version of Flashplayer. 5 and 8hHz sampling rates aren't properly supported. I thought that 11khz worked, but since you're having problems I guess it's not fully supported either.

    There's no fix that I know of, other than increasing your sampling rate to 22khz
    October 2, 2006
    thanks for answer...