Released: 2026-05-19 Updated: 2026-05-21
Summary: Add support for voice translator.
Added
-
Add support for voice translator.
- New interface in
ZMVideoSDKVoiceInterpretationHelper.h.
@interface ZMVideoSDKVoiceInterpretationLanguage : NSObject @property (nonatomic, assign, readonly) int languageID; @property (nonatomic, copy, readonly) NSString* languageName; @end @interface ZMVideoSDKVoiceInterpretationVoiceInfo : NSObject @property (nonatomic, assign, readonly) int voiceTypeID; @property (nonatomic, copy, readonly) NSString* voiceTypeName; @property (nonatomic, copy, readonly) NSString* voiceSampleFileUrl; @end @interface ZMVideoSDKVoiceInterpretationHelper : NSObject - (BOOL)isVoiceInterpretationEnabled; - (BOOL)isVoiceInterpretationReady; - (BOOL)isVoiceInterpretationStarted; - (ZMVideoSDKErrors)startVoiceInterpretation; - (ZMVideoSDKErrors)stopVoiceInterpretation; - (ZMVideoSDKVoiceInterpretationLanguage* _Nullable)getMySpeakingLanguage; - (NSArray<ZMVideoSDKVoiceInterpretationLanguage*>* _Nullable)getMySpeakingLanguageList; - (ZMVideoSDKErrors)setMySpeakingLanguage:(ZMVideoSDKVoiceInterpretationLanguage* _Nullable)language; - (ZMVideoSDKVoiceInterpretationLanguage* _Nullable)getTranslatedLanguage; - (NSArray<ZMVideoSDKVoiceInterpretationLanguage*>* _Nullable)getTranslatedLanguagesList; - (ZMVideoSDKErrors)setTranslatedLanguage:(ZMVideoSDKVoiceInterpretationLanguage* _Nullable)language; - (float)getAudioBalanceForOriginalAndTranslatedVoice; - (ZMVideoSDKErrors)setAudioBalanceForOriginalAndTranslatedVoice:(float)balance; - (ZMVideoSDKVoiceInterpretationVoiceInfo* _Nullable)getTranslatedVoiceStyle; - (NSArray<ZMVideoSDKVoiceInterpretationVoiceInfo*>* _Nullable)getTranslatedVoiceStyleList; - (ZMVideoSDKErrors)setTranslatedVoiceStyle:(ZMVideoSDKVoiceInterpretationVoiceInfo* _Nullable)voiceInfo; @end- New interface in
ZMVideoSDK.
- (ZMVideoSDKVoiceInterpretationHelper*)getVoiceInterpretationHelper; - New interface in