# Change bitrate of client side stream

**URL:** https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021
**Category:** mediasoup libraries
**Created:** [May 15, 2020, 10:08am UTC](https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021 "2020-05-15T10:08:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![creativenoobie](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@creativenoobie](https://mediasoup.discourse.group/u/creativenoobie)
#### Post date: [May 15, 2020, 10:08am UTC](https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021/1 "2020-05-15T10:08:53Z")

</div>

Hey,

Thank for this awesome library.

I just wanted to know how can I change bitrate of video streams? This article suggest better optimisation: [http://www.rtcbits.com/2018/10/measuring-webrtc-video-quality-for.html](http://www.rtcbits.com/2018/10/measuring-webrtc-video-quality-for.html)

I shall be grateful if I could optimise the streams client side by reducing bitrates and I would personally avoid using server side CPU to achieve the same.

Thank you in advance!

---

<div class="post-metadata">

### Author: ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)
#### Post date: [May 15, 2020, 10:15am UTC](https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021/2 "2020-05-15T10:15:13Z")

</div>

There are various ways to change bitrate in client side. Please read the API doc and the WebRTC API.

---

<div class="post-metadata">

### Author: ![creativenoobie](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@creativenoobie](https://mediasoup.discourse.group/u/creativenoobie)
#### Post date: [May 15, 2020, 10:36am UTC](https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021/3 "2020-05-15T10:36:09Z")

</div>

I went through docs including codecs and as far I can understand I need to change RTP Codec Parameters, Am I right? [https://mediasoup.org/documentation/v3/mediasoup/rtp-parameters-and-capabilities/#RtpCodecParameters](https://mediasoup.org/documentation/v3/mediasoup/rtp-parameters-and-capabilities/#RtpCodecParameters)

If so, I am unable to find anything related to changing bitrate.

---

<div class="post-metadata">

### Author: ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)
#### Post date: [May 15, 2020, 10:40am UTC](https://mediasoup.discourse.group/t/change-bitrate-of-client-side-stream/1021/4 "2020-05-15T10:40:41Z")

</div>

> [@creativenoobie](#):
>
> If so, I am unable to find anything related to changing bitrate.

Because you have ignored the “read the WebRTC API” response I wrote above.

- [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup-client/api/#producer-rtpSender)

and then:

- `producer.rtpSender.setParameters(...)`

and then read the corresponding API in the WebRTC 1.0 spec.
