googleapis / google-cloud-dotnet

Google Cloud Client Libraries for .NET
https://cloud.google.com/dotnet/docs/reference/
Apache License 2.0
917 stars 362 forks source link

Speaker Identification (diarization) option and response missing from CloudSpeech SDK #2597

Closed Plasma closed 5 years ago

Plasma commented 5 years ago

Hello,

Per https://cloud.google.com/speech-to-text/docs/multiple-voices#enabling_speaker_diarization_in_a_request we can set enableSpeakerDiarization to receive information about who's speaking, but this option is not available on RecognitionConfig nor is speakerTag an accessible property in the response.

Thank you

jskeet commented 5 years ago

These features are only available in the v1p1beta1 API. We do generate that API, but we don't currently advertise it for C# (and there aren't samples etc).

If you use the Google.Cloud.Speech.V1P1Beta1 nuget package you should fine the properties you're looking for.

Plasma commented 5 years ago

Thank you!