RTC Accent SDK
Supported Accents
- South African
- Filipino
- Indian
- Latin American
RTC Accent Device SDK
Supported OS:
- Mac (armv8a, x64)
- Windows (armv8a, x64), (MT, MTd, MD, MDd)
- Linux (armv8a, x64)
- IOS
- Android
RTC Accent Server SDK
Supported OS:
- Linux (armv8a, x64)
Difference Between Device and Server SDK
Both RTC Accent Device SDK and RTC Accent Server SDK have identical headers and API usage. The difference between the device and server SDK comes to internal voice isolation technology optimized for on device versus server audio processing.
Code Snippet
try
{
globalInit(L"");
ModelInfo ncModelInfo;
ncModelInfo.path = L"/path/to/the/ac-model.kef";
NcSessionConfig ncCfg =
{
inRate,
frameDurationMillis,
outRate,
&ncModelInfo,
false,
nullptr
};
std::shared_ptr<Nc<SamplingFormat>> ncSession = Nc<SamplingFormat>::create(ncCfg);
while(frameAvailable)
{
ncSession->process(inFrame, inFrameSize, outFrame, outFrameSize);
}
// ncSession is a shared_ptr. Free pointer before globalDestroy()
ncSession.reset();
globalDestroy();
}
catch(std::exception& ex)
{
// Handle exception
}Updated about 8 hours ago
