         return true
     }
 
+    /**
+     Stop streaming microphone audio to Speech to Text
+     */
     func stopStreaming() {
         captureSession?.stopRunning()
         captureSession = nil

    private var socket: SpeechToTextWebSocket?
    private var captureSession: AVCaptureSession?

    init?(
        authStrategy: AuthenticationStrategy,
        settings: SpeechToTextSettings,

        self.socket = socket
    }

    /**
     Start streaming microphone audio to Speech to Text.

     - returns: `true` if the `AVCaptureSession` could be configured to stream microphone audio
        to the Speech to Text service; false, otherwise.
     */
    func startStreaming() -> Bool {

        settings.contentType = .L16(rate: 44100, channels: 1)
