Your GStreamer installation is missing a plug-in.

28 views
Skip to first unread message

Usman Khawar

unread,
Mar 9, 2021, 3:01:16 PM3/9/21
to kaldi-help
Following is the complete response message
{"status": 5, "message": "Your GStreamer installation is missing a plug-in.", "id": "795d5237-9f1b-4a05-9be8-003b3a4c403c"}
<Response [200]>



I am trying to write a script file that establishes a connection to Gstreamer server

Script file
import requests
import base64
from datetime import datetime
import json

f = open('../test/data/english_test.wav')
recording = base64.b64encode(f.read())
current_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S')

payload = {'audio_clip': {'device':'0005', 'time':current_time, 'recording':{'filename':'output.raw', 'content_type':'audio/x-raw-int', 'content':recording}}}
headers = {'content-type':'application/json'}
response = requests.post('http://localhost:8888/client/dynamic/recognize', data=json.dumps(payload), headers=headers)
print response.text
print response


Any help regarding which plugin is missing?

Reply all
Reply to author
Forward
0 new messages