Share via


AudioTranscriptionOptions.AudioData Property

Definition

The audio data to transcribe. This must be the binary content of a file in one of the supported media formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm.

To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string.

Examples:

  • BinaryData.FromBytes(new byte[] { 1, 2, 3 }): Creates a payload of "AQID".
public BinaryData AudioData { get; set; }
member this.AudioData : BinaryData with get, set
Public Property AudioData As BinaryData

Property Value

Applies to