View on GitHub

aws-sdk-swift

TranscribeStreamingClient

public class TranscribeStreamingClient 

Inheritance

TranscribeStreamingClientProtocol

Initializers

init(config:)

public init(config: AWSClientRuntime.AWSClientConfiguration) 

init(region:)

public convenience init(region: Swift.String? = nil) throws 

Properties

clientName

public static let clientName = "TranscribeStreamingClient"

Methods

startMedicalStreamTranscription(input:completion:)

Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.

public func startMedicalStreamTranscription(input: StartMedicalStreamTranscriptionInput, completion: @escaping (ClientRuntime.SdkResult<StartMedicalStreamTranscriptionOutputResponse, StartMedicalStreamTranscriptionOutputError>) -> Void)

startStreamTranscription(input:completion:)

Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application. The following are encoded as HTTP/2 headers:

public func startStreamTranscription(input: StartStreamTranscriptionInput, completion: @escaping (ClientRuntime.SdkResult<StartStreamTranscriptionOutputResponse, StartStreamTranscriptionOutputError>) -> Void)

See the SDK for Go API Reference for more detail.