# Set Raw Audio bitrate

**URL:** <https://devforum.zoom.us/t/set-raw-audio-bitrate/87659>\
**Category:** Windows\
**Tags:** raw-data\
**Created:** [May 1, 2023, 6:30pm UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659 "2023-05-01T18:30:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tyler](https://devforum.zoom.us/u/tyler)\
**Post date:** [May 1, 2023, 6:30pm UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/1 "2023-05-01T18:30:43Z")

</div>

**Description**  
I am using the onOneWayAudioRawDataReceived delegate to record raw audio. I can see the AudioRawData object has a bit rate property (I’m consistently getting 32k in my tests).

I have two questions:

- Does this bitrate change throughout the call?
- Is it possible to set the bitrate?

**Which Windows Meeting SDK version?**  
v5.11.1.6653

**Device (please complete the following information):**

- OS: Windows 11

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 2, 2023, 3:02am UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/2 "2023-05-02T03:02:49Z")

</div>

Hi @tyler

this should be consistently 32khz throughout the meeting. Currently there is no setter for the sampling rate.

---

<div class="post-metadata">

**Author:** ![tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tyler](https://devforum.zoom.us/u/tyler)\
**Post date:** [May 2, 2023, 3:25pm UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/3 "2023-05-02T15:25:33Z")

</div>

And what is the encoding?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 3, 2023, 4:02am UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/4 "2023-05-03T04:02:30Z")

</div>

The encoding is in PCM  
16 bit

---

<div class="post-metadata">

**Author:** ![tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tyler](https://devforum.zoom.us/u/tyler)\
**Post date:** [May 17, 2023, 12:43am UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/5 "2023-05-17T00:43:36Z")

</div>

To give further context on this to anyone else having this issue, these arguments on ffmpeg did it for me:

```auto
ffmpeg.exe -f s16le -ar 32k -ac 1 -i input.pcm output.wav

```

Edited: For single-channel audio only. This wasn’t tested for multi channel.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 16, 2023, 10:44am UTC](https://devforum.zoom.us/t/set-raw-audio-bitrate/87659/6 "2023-06-16T10:44:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
