     private let serviceURLFull = "https://stream.watsonplatform.net/speech-to-text/api"
     private let url = "wss://stream.watsonplatform.net/speech-to-text/api/v1/recognize"
     
+    // Set this to receive updates about the websocket activity
+    var delegate: WatsonSocketDelegate?
+    
     var audioUploadQueue: NSOperationQueue!
     
     // The format for continuous PCM based recognition requires OGG

        let command : String = "{\"action\": \"start\", \"content-type\": \"\(self.format.rawValue)\"}"
        socket.writeString(command)
        
        audioUploadQueue.suspended = false
        
//        if let audioData = self.audioData {
//            

        let result = Mapper<SpeechToTextResponse>().map(text)
        
        Log.sharedLogger.info(result?.transcription())
        
        delegate?.onMessageReceived()
        
//        if let callback = self.callback {
//            
