You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It returns bad request. I'm sure that my encoding and audio data is fine. The same audio data and encoding is accepted by emotion detection API and processed correctly.
The text was updated successfully, but these errors were encountered:
Thanks a lot. It my mistake. It is returning success now. However,
a) when I try it with "interaction analytics, I did not get it to recognize. "speakerIds" is given without quotes. Is this ok?
b) Also, though I give 1 as the value for "speakers", it returns multiple speakers.
Here are my parameters
diarizationurl = "https://proxy.api.deepaffects.com/audio/generic/api/v1/async/analytics/interaction"
querystring = {"apikey":DEEP_AFFECTS_OFFICIAL_KEY, "webhook":RUN_SVC_BASEURL +"/initanalyticsresp"}
payload["languageCode"] = "en-US"#Deepaffects language codes are not known
payload["speakers"] = 1
payload[speakerIds] = [usergivenname]
payload ["sampleRate"] = 48000
payload ["metrics"] = ["all"]
Hi,
I tried the speaker enrollment API
on end point
"https://proxy.api.deepaffects.com/audio/generic/api/v2/sync/diarization/enroll?apikey=" + DEEP_AFFECTS_OFFICIAL_KEY
with payload
payload = {}
payload["content"] = audiodata
payload["sampleRate"] = 48000
payload["languageCode"] = "en-US"
payload["speakerId"] = username
payload["encoding"] = encodingstring
It returns bad request. I'm sure that my encoding and audio data is fine. The same audio data and encoding is accepted by emotion detection API and processed correctly.
The text was updated successfully, but these errors were encountered: