Share via


RTC Client API ACM Sample Registry Configuration (Windows CE 5.0)

Send Feedback

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_CURRENT_USER\Software\Microsoft\RTC\ACM\G729]
        "PayloadType"   = dword:12
        "FrameDuration" = dword:A
        "CodecRank"     = dword:1
        "Driver"        = "g729.acm"
[HKEY_CURRENT_USER\Software\Microsoft\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_CURRENT_USER\Software\Microsoft\RTC\Codec]
    "PreferredAudioCodec"=dword:12   ; 0=pcmu, 12=729
    "UsePreferredCodec"=dword:1

See Also

RTC Client API ACM Registry Settings

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.