voicePitch property

double? voicePitch
final

The vocal pitch of the local user, in Hertz.

When the following two conditions are met at the same time, the vocal pitch of the local user will be returned:

  • Calls RTCVideo.enableAudioPropertiesReport, and sets the value of enableVoicePitch to true.
  • The local user's voice is included in the locally captured audio data. In other situations, 0 will be returned.

Implementation

final double? voicePitch;