Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release PR #2288

Merged
merged 18 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/android/v2/release-notes/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import AndroidSdkVersionShield from '@/common/android-sdk-version-shield.md';
| Package | Version |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| live.100ms:room-kit | [![](https://img.shields.io/badge/dynamic/xml.svg?label=100ms-Prebuilt&color=blue&query=%2F%2Fmetadata%2Fversioning%2Flatest&url=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Flive%2F100ms%2Froom-kit%2Fmaven-metadata.xml)](https://jitpack.io/#100mslive/room-kit)
|
|
| live.100ms:android-sdk: | <AndroidSdkVersionShield /> |
| live.100ms:video-view: | <AndroidSdkVersionShield /> |
| live.100ms:hls-player: |<AndroidSdkVersionShield /> |
Expand All @@ -24,7 +24,6 @@ import AndroidSdkVersionShield from '@/common/android-sdk-version-shield.md';
* `setNoiseCancellationEnabled` now takes a mandatory `HMSActionResultListener` because it may not have been enabled if it's either off from the dashboard or the library isn't added and it was unclear if it was enabled. It is also renamed to `enableNoiseCancellation`
* `getNoiseCancellationEnabled` renamed to `isNoiseCancellationEnabled`
* `isNoiseCancellationAvailable` renamed to `isNoiseCancellationSupported`
*


## Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ iOS SDK provides support for creating Picture in Picture mode experience for vid

## How Picture in Picture works during a video call

When your app goes into the background, it can no longer access camera and publish it to other peers in the room. Also, you can't see video of other particiapants in the call if your app is in the background. Both of these issues are resolved by implementing PiP mode for video calling in your app.
When your app goes into the background, it can no longer access camera and publish it to other peers in the room. Also, you can't see video of other participants in the call if your app is in the background. Both of these issues are resolved by implementing PiP mode for video calling in your app.

### How to add PiP support

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ setBlur(blur) {}
/**
* Sets the virtual background using the provided media URL.
* @param {HMSEffectsBackground} url - The media URL to set as the virtual background.
* Alternatively, the background image can be downloaded beforehand and passed to setBackground as objectURL
* @returns {void}
*/
setBackground(url) {}
Expand Down Expand Up @@ -77,7 +78,22 @@ stop() {}

```

Callbacks supported by the plugin:

On initialization, after the required resources are downloaded by the plugin:

```
const effectsPlugin = new HMSEffectsPlugin(<key>, () => console.log("Plugin initialised"));

```

On resolution change (on device rotation or when the video aspect ratio changes):

```
effectsPlugin.onResolutionChange = (width: number, height: number) => {
console.log(`Resolution changed to ${width}x${height}`)
}
```

## Instantiate Virtual Background

Expand Down
12 changes: 12 additions & 0 deletions docs/javascript/v2/release-notes/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ description: Release Notes for 100ms JavaScript SDK
| @100mslive/hms-noise-cancellation | [![npm version](https://badge.fury.io/js/%40100mslive%2Fhms-noise-cancellation.svg)](https://badge.fury.io/js/%40100mslive%2Fhms-noise-cancellation) |
| @100mslive/hms-video-react(deprecated) | [![npm version](https://badge.fury.io/js/%40100mslive%2Fhms-video-react.svg)](https://badge.fury.io/js/%40100mslive%2Fhms-video-react) |

## 2024-06-14
Released: `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`

### Added:
- `onResolutionChangeCallback` in HMSEffectsPlugin
- Roomkit Prebuilt: Noise cancellation is controlled by layout and template settings

### Fixed:
- Roomkit Prebuilt: Closed Captions are draggable
- Roomkit Prebuilt: Minimised inset AV toggle buttons for mweb


## 2024-06-05
Released: `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`, `@100mslive/[email protected]`

Expand Down
Loading