Share via


Release notes for DAXKit SDK 1.4.2

New in version 1.4.2

Notify the client app what recording device is used when recording starts [2050316]

  • We've added an audioInputDevice parameter to the didStartRecording delegate method. The AudioInputDevice object describes the type of device (built-in microphone or other) and the name of the device.
/// Type of audio input device used for the recording
@objc public enum AudioInputDeviceType: Int {
    /// The device's built-in microphone.
    case builtInMic
    /// An input device recognized by the system, but not the built-in microphone.
    case other
}

/// Structure representing audio input device used for the current recording
objc public class AudioInputDevice: NSObject {
    public let type: AudioInputDeviceType
    public let name: String
}

Distinguish true interruptions from other recording changes [2021153]

  • The recordingInterrupted method of the RecordingDelegate protocol receives a reason parameter of type RecordingInterruptionReason. We've added a new reason, incompatibleInputDevice, used when the audio route changes but iOS doesn't provide DAXKit with a new input device. Previously this was reported as a regular audioInterruption, but this isn't the case as it's unrecoverable.
objc public enum RecordingInterruptionReason: Int {
    ...
    /// The input device is not compatible with the current recording configuration.
    case incompatibleInputDevice
}

Resolved issues

Resolved a crash that could occur when starting recording [2021153, 1944544, 1979672, 1996122]

  • Also improved the stability of the start recording call on the iOS simulator.

Known issues

  • When the phone is connected via USB, DAXKit sometimes fails to create a transcript. [2078490]
  • When updating to DAXKit 1.4.2 from any version earlier than 1.4.0, QA and staging users from previous versions will lose any recordings that weren't uploaded to the servers. Mitigation step: Inform QA and staging users of apps that they should confirm they have uploaded all recordings they want to save before updating the app. [1941109]
  • When updating to DAXKIT 1.4.2 from any version earlier than 1.4.0, QA and Staging users can't add to existing encounters. Recordings won't get uploaded. Mitigation step: Inform QA and staging users of apps that they can only test this scenario in production.