Added

  • New interfaces to support live transcription and translation.

    • New interface class named ZMVideoSDKLiveTranscriptionLanguage defined in ZMVideoSDKUserHelper.h

      @property (nonatomic, assign, readonly)int languageID;
      @property (nonatomic, copy, readonly)NSString *languageName;
    • New interface class named ZMVideoSDKLiveTranscriptionHelper defined in ZMVideoSDKUserHelper.h

      -(BOOL)canStartLiveTranscription;
      -(ZMVideoSDKLiveTranscriptionStatus)getLiveTranscriptionStatus;
      -(ZMVideoSDKErrors)startLiveTranscription;
      -(ZMVideoSDKErrors)stopLiveTranscription;
      -(NSArray<ZMVideoSDKLiveTranscriptionLanguage*> *)getAvailableSpokenLanguages;
      -(ZMVideoSDKErrors)setSpokenLanguage:(int)languageID;
      -(ZMVideoSDKLiveTranscriptionLanguage*)getSpokenLanguage;
      -(NSArray<ZMVideoSDKLiveTranscriptionLanguage*> *)getAvailableTranslationLanguages;
      o-(ZMVideoSDKErrors)setTranslationLanguage:(int)languageID;
      -(ZMVideoSDKLiveTranscriptionLanguage*)getTranslationLanguage;
    • New interface in ZMVideoSDKUser

      - (ZMVideoSDKLiveTranscriptionHelper*)getLiveTranscriptionHelper;
    • New callback in ZMVideoSDKDelegate

      - (void)onLiveTranscriptionStatus:(ZMVideoSDKLiveTranscriptionStatus)status;
      - (void)onLiveTranscriptionMsgReceived:(NSString*)message user:(ZMVideoSDKUser *)user type:(ZMVideoSDKLiveTranscriptionOperationType)type;
      - (void)onLiveTranscriptionMsgError:(ZMVideoSDKLiveTranscriptionLanguage*)spokenLanguage transcriptLanguage:(ZMVideoSDKLiveTranscriptionLanguage*)transcriptLanguage;
    • New enum named ZMVideoSDKLiveTranscriptionStatus

      ZMVideoSDKLiveTranscription_Status_Stop = 0,
      ZMVideoSDKLiveTranscription_Status_Start = 1,
    • New enum named ZMVideoSDKLiveTranscriptionOperationType

      ZMVideoSDKLiveTranscription_OperationType_None = 0,
      ZMVideoSDKLiveTranscription_OperationType_Add,
      ZMVideoSDKLiveTranscription_OperationType_Update,
      ZMVideoSDKLiveTranscription_OperationType_Delete,
      ZMVideoSDKLiveTranscription_OperationType_Complete,
      ZMVideoSDKLiveTranscription_OperationType_NotSupported,
  • Support custom PCM files for video SDK speaker test.

    •     New interface class named ZMVideoSDKExtendParams defined in ZMVideoSDK.h

      @property (nonatomic, copy) NSString *speakerTestFilePath;
    •   New property in ZMVideoSDKInitParams

      @property (retain, nonatomic) ZMVideoSDKExtendParams *extendParams;
  • New optional field in JWT payload to allow setting the data center region preference for the session. Specify the data center location used by the participant, separated by commas.

Valid geo regions:

US,AU,CA,IN,CN,BR,MX,HK,SG,JP,DE,NL

Payload=
{
  ...
  "geo_regions": "SG,HK,AU"
  ...
}

Changed & Fixed

  • Upgrade the minimum supported Xcode version to macOS 10.10.

  • Fixed an issue where the SDK crashes when cleaning up after sending the raw audio or video data.