# Bitrate Command

**URL:** <https://extensions.streamer.bot/t/bitrate-command/81>\
**Category:** Approved\
**Tags:** youtube, obs, twitch\
**Created:** [June 28, 2023, 2:34am UTC](https://extensions.streamer.bot/t/bitrate-command/81 "2023-06-28T02:34:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://extensions.streamer.bot/uploads/default/original/1X/8c1c6d09fd393c18f49e18a311f47e0b4331362c.png) [@system](https://extensions.streamer.bot/u/system)\
**Post date:** [June 28, 2023, 2:34am UTC](https://extensions.streamer.bot/t/bitrate-command/81/1 "2023-06-28T02:34:42Z")

</div>

# Description

Saves the current bitrate when the StreamStatus Event is emitted by the OBS websocket, by assigning an Action to the Event.

_OBS WS v4.9_

## Import Code

```auto
TlM0RR+LCAAAAAAABADNVLFu2zAQ3Qv0H1QB2cyAlChZ7JYURYYCLVAXWYoMR/IUC5UlV6ScBIH/vaRkwbKtDEYaIJOoe8d3vHePfP74IQjCDTamqKvwc8BmXaCCFbq/8JMsbAMWA1WvVlDpsIdBWZduXMZv/x8Ez/3HQYX2+7jkQnMqiWIyI1zkjAhUnKDKI51lwHXCeq5u098WW1+vastyH8UKZImezzYt7uPD4X5cL4KvG6xsQIKFbRBWCwu2NSPi+6Zu10Mu6bPHOJQP8GR+tr71HEozqtK4duvVVdfpKarqSrVN4+hOsRN1DhTqUjQaW1Sw46azA3ADTeE7/77r03S9XfeTCA9z135yxp6q1KGmbhuFUxXKTu+wlqbT5PKPG7Qhjo0YVEc1+pFKLQRIoUhOlSKcISViPqeEpVkmBSaUJ/Ro4wMW90svEL08OoB9Wvv6LIoO48O8DozQH6LS+Oip9tHtsLw71v7G03QDuBuPrCxhbVCP0B7czqZdnMVzBTrJSZJLIDxLOIFUSAJC5lGWCk2j5NUuHq7YlGu/LMGb+6asJZTvwLYv++l/OXZ0MW53pJ35Jqk05tCW9nbnZjppW8kimsdA0iTihHPNCMRUkSxOOaQQyYzF59uWvca2s5fktfjoy4a/lu7B7ccUDA9wYYKL3frim1ybY1UbzNHt0FdK1W033kk5UpanImWc0HieEq6z2D3MqEkMDLjTJWGanS0HPVcN9haX2H/6zP4mDuD2H6QtbArkBgAA

```

## Installation

In Streamer.bot in select `Import` from the top left.  
Copy the `Import Code` and paste it into the `Import String`.

 ![bitrate-command-import](https://extensions.streamer.bot/uploads/default/original/1X/824bcc6588880ae992bec1c3bcbd830409ce6677.png)

## Configuration

Assign the `Action` `OBS Event - StreamStatus` to a `StreamStatus` `Event` in the `OBS` tab.

 ![bitrate-command-obs-event](https://extensions.streamer.bot/uploads/default/original/1X/c61281affcd8b50021efd9bfba8b332deeeb1184.png)

Next create a `Command` called `!bitrate` set to `Exact` and tied to the `!bitrate` `Action.

 ![bitrate-command-command](https://extensions.streamer.bot/uploads/default/original/1X/dab97fa235ac3bf382f755a5908cb470c6fe9165.png)

Chat will now be able to use `!bitrate` in chat and have the current bitrate displayed.

# Contributors

- [WaldoAndFriends](https://www.twitch.tv/WaldoAndFriends)
