> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# July 25, 2023

> The latest updates to Daily's real-time audio and video APIs.

## Overview

Highlights from the last few weeks include:

* `react-native-daily-js` adds support for screen sharing'
* In `react-native-daily-js` and `daily-js`, you can now modify a user's admin permissions from within a call using the new `canAdmin` permission
* `react-native-daily-js` and `daily-js` both add support for an IP proxy and the ability to provide your own TURN server infrastructure

## daily-js

### 0.48.0

#### Admin permissions

Admin permissions can now be configured prior to joining a meeting or dynamically from within a meeting. Start learning about this new capability in the [reference docs](/reference/daily-js/instance-methods/update-participant#param-update-permissions).

#### Advanced firewall controls

`daily-js` now supports an IP proxy and the ability to override Daily's TURN servers with your own. These new features will help customers who have users in a locked down network environment. Rather than provide an extensive allow list, these new features can help simplify the network requirements for your customers' environment.

[Contact us](https://live.daily.co/talk-to-us) to learn more.

#### Upcoming: Refactored local media controls

Starting in the next `daily-js` version (planned to be 0.49.0), new underlying logic will power the local media controls. You can test this logic yourself in the current version of `daily-js` by specifying `dailyConfig: { v2CamAndMic: true }` wherever you provider your call options.

For more information on this change, see this [README](https://github.com/daily-co/daily-js#refactoring-of-logic-around-gathering-and-updating-local-media).

If you have questions or find any issues in your testing, please let us know at ([help@daily.co](mailto:help@daily.co)).

#### Release notes

For more information, check out the [release notes](https://github.com/daily-co/daily-js/releases/tag/daily-js-2023-07-25-0.48.0).

## react-native-daily-js

### 0.46.0

#### Screen sharing support 🎉

`react-native-daily-js` now supports screen sharing for both iOS and Android clients. To learn more, check out the [reference docs](/reference/react-native/instance-methods/start-screen-share).

#### Admin permissions

Admin permissions can now be configured prior to joining a meeting or dynamically from within a meeting. Start learning about this new capability in the [reference docs](/reference/react-native/instance-methods/update-participant#param-update-permissions).

#### Advanced firewall controls

`react-native-daily-js` now supports an IP proxy and the ability to override Daily's TURN servers with your own. These new features will help customers who have users in a locked down network environment. Rather than provide an extensive allow list, these new features can help simplify the network requirements for your customers' environment.

[Contact us](https://live.daily.co/talk-to-us) to learn more.

#### Upcoming: Refactored local media controls

Starting in the next `react-native-daily-js` version (planned to be 0.47.0), new underlying logic will power the local media controls. You can test this logic yourself in the current version of `react-native-daily-js` by specifying `dailyConfig: { v2CamAndMic: true }` wherever you provider your call options.

For more information on this change, see this [README](https://github.com/daily-co/daily-js#refactoring-of-logic-around-gathering-and-updating-local-media).

If you have questions or find any issues in your testing, please let us know at ([help@daily.co](mailto:help@daily.co)).

#### Release notes

For more information, check out the [release notes](https://github.com/daily-co/react-native-daily-js/releases/tag/react-native-daily-js-2023-07-25-0.46.0).

## Daily Prebuilt

* For mobile devices, added a confirmation step when stopping a recording. This aligns the UX between the desktop and mobile clients and prevents users from mistakenly stopping a recording.
* Fixed an issue where chat would incorrectly identify a user as being offline.
* Fixed an issue where Chrome users would sometimes see their computer go to sleep while in a call and sending media. Note: this is a Chrome regression, which will be fixed in Chrome M116. In the meantime, Prebuilt has added a patch to prevent this issue from occurring.
* Fixed an issue with the breakout rooms feature where reassigning the host role would fail at times.
* Fixed an issue with private rooms where clicking "Request to join" would not actually request to join.
* Fixed an issue for mobile users where an emoji reaction wasn't sent under specific circumstances.
* Fixed an issue where the layout would not transition back to a participant focused view if a user selected "bandwidth saving" mode while screen sharing.

## Media Services

#### Features

* Cloud recordings that are started by [meeting tokens](/reference/rest-api/meeting-tokens/create-meeting-token#body-properties-start-cloud-recording-opts) can now specify recording options through the `sro` token property.
* The VCS baseline composition now has more [override points](https://github.com/daily-co/daily-vcs/tree/main/compositions/daily-baseline/components/overrides). Host a `.js` file on your own server that exports the `decorate*` function that is being overwritten and specify that file url through `session_assets` for your recording:
  ```javascript theme={null}
  call.startRecording({
    layout: {
      preset: 'custom',
      composition_id: 'daily:baseline',
      session_assets: {
        'components/overrides/decorateVideoGridItem.js': '[YOUR FILE URL HERE]',
      },
    },
  });
  ```
* A new VCS layout hook called, `useContentSize`, is available. It allows a VCS layout function to discover the size of its nested contents after the first pass through the tree. Containers can then adapt to their content size while imposing min/max limits to text flows. An [example composition](https://github.com/daily-co/daily-vcs/blob/d6c1287b5795b456f69b40901949260d08182ca7/js/example/stretchbox.jsx#L97) in available in the VCS repository.

#### Improvements

* `fontWeight` of a [VCS Text component](/docs/vcs/components/text) can now either be a string or a number.
* With VCS, larger rectangles with rounded corners should now more closely match how video layers are rendered.

#### Bugfixes

* VCS no longer allows fractional pixel units for attributes like `cornerRadius`.

## REST API

#### Features

* `videoBitrate` and `audioBitrate` have been added to the REST APIs that start [live streaming](/reference/rest-api/rooms/live-streaming/start#body-video-bitrate) and [start recording](/reference/rest-api/rooms/recordings/start#body-video-bitrate).

#### Improvements

* [Rate limiting](/docs/rest-api#rate-limits) has been added to the `/logs` endpoint (100 requests per 5 seconds).

#### Bugfixes

* Fixed a bug where the `/logs` endpoint, given a `userSessionId`, would return logs from only one meeting session. We now return logs for all meeting sessions for a given `userSessionId`.
* Extra input validations have been added to various endpoints.

## Additional

* The oldest supported version of `daily-js` is now 0.40.0.
