# How to record audio at 16khz?

**URL:** <https://discourse.lynckia.com/t/how-to-record-audio-at-16khz/378>\
**Category:** Uncategorized\
**Created:** [January 29, 2017, 6:04pm UTC](https://discourse.lynckia.com/t/how-to-record-audio-at-16khz/378 "2017-01-29T18:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohit\_Aggarwal](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Rohit\_Aggarwal](https://discourse.lynckia.com/u/Rohit_Aggarwal)\
**Post date:** [January 29, 2017, 6:04pm UTC](https://discourse.lynckia.com/t/how-to-record-audio-at-16khz/378/1 "2017-01-29T18:04:46Z")

</div>

Hi: By default, Licode records audio at 8khz. Is there a way to record audio at 16khz?

Thanks!

---

<div class="post-metadata">

**Author:** ![Francesco\_Durighetto](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@Francesco\_Durighetto](https://discourse.lynckia.com/u/Francesco_Durighetto)\
**Post date:** [January 30, 2017, 12:46pm UTC](https://discourse.lynckia.com/t/how-to-record-audio-at-16khz/378/2 "2017-01-30T12:46:04Z")

</div>

this is because the default audio codec is PCM, which can handle up to 8khz.  
you should comment pcm on your rtp\_media\_config.js and uncomment opus, which samples at 48khz.
