python-sdk: TTS: Handshake Status 403 Forbidden

voices = service.list_voices().get_result()
print(json.dumps(voices, indent=2))

voice = service.get_voice('zh-CN_ZhangJingVoice').get_result()
print(json.dumps(voice, indent=2))

service.synthesize_using_websocket(#SSML_text,
                                   "你好, 需要什么帮忙吗?",
                                   test_callback,
                                   accept='audio/wav',
                                   voice="zh-CN_ZhangJingVoice"
                                  )

Getting the voice does show that particular Chinese voice model. Synthesizing causes a handshake error - English voice works.

I assume it’s because the Chinese voice isn’t showing up from the list voices function.

Why is this so??

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

oh yes, my bad.