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

Flutter/faq update #2073

Merged
merged 2 commits into from
Mar 8, 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
19 changes: 16 additions & 3 deletions docs/flutter/v2/how-to-guides/debugging/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,30 @@ Navigator.of(context).push(MaterialPageRoute(
)));
```

### Issues while using `hmssdk_flutter` with flutter 3.0.x
### Issues while using hmssdk_flutter with flutter 3.0.x

Flutter versions 3.0.0 to 3.0.5 had issues related to Platform View.

Refer: [Android Platform View issue](https://github.com/flutter/flutter/issues/107313) & [Flutter Platform View bug](https://github.com/flutter/flutter/issues/103630)

These were resolved in Flutter versions 3.3.0 & above. Please update the Flutter version to 3.3.0 or above.

### Issues while using hms_room_kit or hmssdk_flutter with flutter 3.16.x - 3.19.x

With the release of Flutter version 3.16, platform views functionality has been disrupted. Specifically, the HMSVideoView component fails to render video on Android versions prior to 10. Checkout this
issue in detail [here](https://github.com/flutter/flutter/issues/141068).

These platform view issues persist in subsequent Flutter releases, including version 3.19.x

As of the latest development in the Flutter master branch, the above issues have been addressed and resolved. Future releases of Flutter are expected to incorporate these fixes automatically.

In the interim, users encountering platform view issues in Flutter versions 3.16 and 3.19 are advised to revert to version 3.13.x.
Please refer to the official Flutter documentation and release notes for updates on this issue

### Is there any limit to the number of HMSVideoView on-screen at a time

`HMSVideoView` internally uses `SurfaceView` in android and `UiKitView` in iOS. It is recommended to render at most 3 to 4 videos on a Single page/screen of the app and rest should be paginated for optimum performance.
Though `HMSTextureView` has no such limits in theory but it's best to render only the videos which are on-screen and reuse the views wherever possible.

### Do you have any implementation with popular State Management libraries?

Expand Down Expand Up @@ -140,7 +153,6 @@ Not much, just turn on a flag in dashboard, and show a proper UI when a video ge

### Getting Jitpack error: Could not find WebRTC-m104-hms-1.3.aar


This occurs intermittently when Jitpack gets down, to fix this permanently you can update the HMSSDK to latest version. In case you can't update
the HMSSDK version then please wait till Jitpack is up again.

Expand All @@ -149,7 +161,8 @@ the HMSSDK version then please wait till Jitpack is up again.

### How do I implement Raise Hand, Polls in application?

You can do using [peer metadata](/flutter/v2/how--to-guides/interact-with-room/peer/peer-metadata-update#use-cases).
HMSSDK exposes first class API's for polls and hand raise. Refer to hand raise docs [here](/flutter/v2/how-to-guides/interact-with-room/peer/large-room), for polls
checkout the docs [here](/flutter/v2/how-to-guides/interact-with-room/room/polls)

### Why do I see videos getting stuck or frozen?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ flutter pub get

2 ways of upgrade version

1. Find the latest version of `hmssdk_flutter` at [here](https://pub.dev/packages/hmssdk_flutter) and update pubspec.yaml file.
1. Find the latest version of `hmssdk_flutter` [here](https://pub.dev/packages/hmssdk_flutter) and update pubspec.yaml file.
2. Using the following command in terminal:

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/javascript/v2/release-notes/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ description: Release Notes for 100ms JavaScript SDK
| @100mslive/hls-player | [![npm version](https://badge.fury.io/js/%40100mslive%2Fhls-player.svg)](https://badge.fury.io/js/%40100mslive%2Fhls-player) |
| @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-03-05
## 2024-03-07

Released: `@100mslive/[email protected].0`, `@100mslive/[email protected].0`, `@100mslive/[email protected].0`, `@100mslive/[email protected].0`
Released: `@100mslive/[email protected].1`, `@100mslive/[email protected].1`, `@100mslive/[email protected].1`, `@100mslive/[email protected].1`

### Added:
- Roomkit Prebuilt: Revamped HLS Streaming layout for mweb - Portrait and Landscape
Expand Down
Loading