Skip to content

Commit

Permalink
fix: transceiver setCodecPreferences
Browse files Browse the repository at this point in the history
  • Loading branch information
lambiengcode committed Jun 5, 2024
1 parent 314ce2a commit 5e4b956
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.4.0

* Vendor: Upgrade WebRTC SDK to M125.6422
* Fix: transceiver setCodecPreferences

## 1.3.19

* Refactor: use PlatformView for iOS
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ Flutter plugin of [Waterbus](https://docs.waterbus.tech). Build video call or on
<img src="https://github.com/waterbustech/waterbus-flutter-sdk/blob/migration/v2/.github/waterbus-sdk-banner.png?raw=true" width="100%"/>

<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg"/></a>
<img src="https://img.shields.io/github/issues/waterbustech/waterbus-flutter-sdk" alt="GitHub issues"><a href="https://chromium.googlesource.com/external/webrtc/+/branch-heads/6099"><img src="https://img.shields.io/badge/libwebrtc-124.6367.01-yellow.svg" alt="libwebrtc"></a><img src="https://img.shields.io/cocoapods/v/KaiRTC" alt="Cocoapods Version"><a href="https://github.com/lambiengcode"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&amp;logo=github" alt="PRs Welcome"></a>
<img src="https://img.shields.io/github/issues/waterbustech/waterbus-flutter-sdk" alt="GitHub issues"><a href="https://chromium.googlesource.com/external/webrtc/+/branch-heads/6099"><img src="https://img.shields.io/badge/libwebrtc-125.6422.02-yellow.svg" alt="libwebrtc"></a><img src="https://img.shields.io/cocoapods/v/KaiRTC" alt="Cocoapods Version"><a href="https://github.com/lambiengcode"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&amp;logo=github" alt="PRs Welcome"></a>

## ⚡ Current supported features

| Feature | Subscribe/Publish | Screen Sharing | Picture in Picture | Virtual Background | Beauty Filters | End to End Encryption |
| ------------------ | ----------------- | -------------- | ------------------ | ------------------ | -------------- | --------------------- |
| Android | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
| iOS | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
| MacOS | 🟢 | 🟢 | 🔴 | 🟢 | 🟢 | 🟢 |
| Web | 🟢 | 🟢 | 🟢 | 🟢 | 🟡 | 🟢 |
| iOS | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
| Web | 🟢 | 🟢 | 🟢 | 🟢 | 🟡 | 🟢 |
| MacOS | 🟢 | 🟢 | 🔴 | 🟢 | 🟢 | 🟢 |
| Linux | 🟢 | 🟢 | 🔴 | 🟡 | 🟡 | 🟢 |


🟢 = Available
Expand Down
3 changes: 3 additions & 0 deletions lib/utils/extensions/peer_extensions.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:waterbus_sdk/flutter_waterbus_sdk.dart';
import 'package:waterbus_sdk/stats/webrtc_audio_stats.dart';
import 'package:waterbus_sdk/stats/webrtc_video_stats.dart';
Expand All @@ -21,6 +22,8 @@ extension PeerX on RTCPeerConnection {
),
);

if (!kIsWeb) return;

final caps = await getRtpReceiverCapabilities(kind);
if (caps.codecs == null) return;

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: waterbus_sdk
description: Flutter plugin of Waterbus. Build video call or online meeting application with SFU model. Supports iOS, Android.
version: 1.3.19
version: 1.4.0
homepage: https://docs.waterbus.tech
repository: https://github.com/waterbustech/waterbus-flutter-sdk
issue_tracker: https://github.com/waterbustech/waterbus-flutter-sdk/issues
Expand Down Expand Up @@ -39,7 +39,7 @@ dependencies:
sdp_transform: ^0.3.2
h264_profile_level_id: ^0.2.1
dart_webrtc_plus: ^1.4.4+2
flutter_webrtc_plus: ^0.10.7+2
flutter_webrtc_plus: ^0.10.7+4
# flutter_webrtc_plus:
# path: /Users/lambiengcode/Documents/webrtc/flutter-webrtc

Expand Down

0 comments on commit 5e4b956

Please sign in to comment.