RTC Client API ACM Sample Registry Configuration

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following example registry settings show the registry path and keys for a typical ACM driver registry entry.

; Configure ACM_G729 FormatTag
; Note that G729 frame_duration = 20ms in this example [HKEY_LOCAL_MACHINE\Comm\RTC\ACM\G729]
        "PayloadType"   = dword:12
        "FrameDuration" = dword:A
        "CodecRank"     = dword:1
        "Driver"        = "g729.acm"
[HKEY_LOCAL_MACHINE\Comm\RTC\ACM\G729\WaveFormat]
            "FormatTag"      = dword:44
            "Channels"       = dword:1
            "SamplesPerSec"  = dword:1F40
            "AvgBytesPerSec" = dword:3E8
            "BlockAlign"     = dword:A 
            "BitsPerSample"  = dword:0
            "bSize"          = dword:2
; Configure ACM_G729 Prefix
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CODEC_G729]
   "Prefix"="ACM"
   "Dll"="g729.acm"
   
; Cofigure Codec Preference

The following example registry settings show the registry path and keys for defining the preferred codec.

[HKEY_LOCAL_MACHINE\Comm\RTC\Codec]
    "PreferredAudioCodec"=dword:12   ; 0=pcmu, 12=729
    "UsePreferredCodec"=dword:1

See Also

Concepts

RTC Client API Audio Codec Registry Settings