Skip to content

Commit

Permalink
Release 1.10.8: Develop to main (#1404)
Browse files Browse the repository at this point in the history
# Description

- Release 1.10.8: Develop to main

### Pre-launch Checklist

- [x] The [Documentation] is updated accordingly, or this PR doesn't
require it.
- [x] I have updated the `ExampleAppChangelog.txt` file with relevant
changes.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making, or this PR is
test-exempt.
- [x] All existing and new tests are passing.

<!-- Links -->

[Documentation]: https://www.100ms.live/docs
  • Loading branch information
ygit authored Jul 10, 2024
2 parents 025704b + e0b2478 commit 55c5af3
Show file tree
Hide file tree
Showing 39 changed files with 1,091 additions and 427 deletions.
8 changes: 4 additions & 4 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ lint:
disabled:
- osv-scanner
enabled:
- [email protected].0
- [email protected].1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected].145
- [email protected].176
- [email protected]
- trufflehog@3.78.2
- trufflehog@3.79.0
- [email protected]
- [email protected]
- [email protected].0
- [email protected].1
- [email protected]
- [email protected]
- [email protected]
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ Integrate Real Time Audio and Video conferencing, Interactive Live Streaming, an

With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture (PiP), one-to-one Video Call Modes, Audio Rooms, Video Player and much more, add immersive real-time communications to your apps.

| Package | Version |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| @100mslive/react-native-room-kit | [![npm](https://img.shields.io/npm/v/@100mslive/react-native-room-kit)](https://www.npmjs.com/package/@100mslive/react-native-room-kit) |
| @100mslive/react-native-hms | [![npm](https://img.shields.io/npm/v/@100mslive/react-native-hms)](https://www.npmjs.com/package/@100mslive/react-native-hms) |
| Package | Version |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| @100mslive/react-native-room-kit | [![npm](https://img.shields.io/npm/v/@100mslive/react-native-room-kit)](https://www.npmjs.com/package/@100mslive/react-native-room-kit) |
| @100mslive/react-native-hms | [![npm](https://img.shields.io/npm/v/@100mslive/react-native-hms)](https://www.npmjs.com/package/@100mslive/react-native-hms) |
| @100mslive/react-native-video-plugin | [![npm](https://img.shields.io/npm/v/@100mslive/react-native-video-plugin)](https://www.npmjs.com/package/@100mslive/react-native-video-plugin) |

📖 Read the Complete Documentation here: https://www.100ms.live/docs/react-native/v2/foundation/basics

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.facebook.react.modules.core.DeviceEventManagerModule
import com.reactnativehmssdk.HMSManager.Companion.REACT_CLASS
import live.hms.video.error.HMSException
import live.hms.video.factories.noisecancellation.AvailabilityStatus
import live.hms.video.sdk.HMSActionResultListener
import java.util.UUID

@ReactModule(name = REACT_CLASS)
Expand Down Expand Up @@ -1517,8 +1518,19 @@ class HMSManager(
)
return
}
hmsSdk.setNoiseCancellationEnabled(true)
promise?.resolve(true)

hmsSdk.enableNoiseCancellation(
true,
object : HMSActionResultListener {
override fun onError(error: HMSException) {
promise?.reject(error.code.toString(), error.message)
}

override fun onSuccess() {
promise?.resolve(true)
}
},
)
}

@ReactMethod
Expand All @@ -1542,8 +1554,18 @@ class HMSManager(
)
return
}
hmsSdk.setNoiseCancellationEnabled(false)
promise?.resolve(true)
hmsSdk.enableNoiseCancellation(
false,
object : HMSActionResultListener {
override fun onError(error: HMSException) {
promise?.reject(error.code.toString(), error.message)
}

override fun onSuccess() {
promise?.resolve(true)
}
},
)
}

@ReactMethod
Expand All @@ -1567,7 +1589,7 @@ class HMSManager(
)
return
}
val isEnabled = hmsSdk.getNoiseCancellationEnabled()
val isEnabled = hmsSdk.isNoiseCancellationEnabled()
promise?.resolve(isEnabled)
}

Expand All @@ -1593,7 +1615,7 @@ class HMSManager(
return
}

val availability: AvailabilityStatus = hmsSdk.isNoiseCancellationAvailable()
val availability: AvailabilityStatus = hmsSdk.isNoiseCancellationSupported()
val isAvailable =
if (availability == AvailabilityStatus.Available) {
true
Expand Down
26 changes: 13 additions & 13 deletions packages/react-native-hms/example/android/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ GEM
base64
nkf
rexml
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.943.0)
aws-sdk-core (3.197.0)
aws-partitions (1.949.0)
aws-sdk-core (3.200.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.83.0)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-kms (1.87.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.152.1)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-s3 (1.155.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
Expand Down Expand Up @@ -112,7 +112,7 @@ GEM
google-apis-firebaseappdistribution_v1 (~> 0.3.0)
google-apis-firebaseappdistribution_v1alpha (~> 0.2.0)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.64.0)
google-apis-androidpublisher_v3 (0.66.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-core (0.15.0)
addressable (~> 2.5, >= 2.5.1)
Expand All @@ -130,7 +130,7 @@ GEM
google-apis-core (>= 0.15.0, < 2.a)
google-apis-playcustomapp_v1 (0.16.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-storage_v1 (0.39.0)
google-apis-storage_v1 (0.40.0)
google-apis-core (>= 0.15.0, < 2.a)
google-cloud-core (1.7.0)
google-cloud-env (>= 1.0, < 3.a)
Expand Down Expand Up @@ -160,9 +160,9 @@ GEM
httpclient (2.8.3)
jmespath (1.6.2)
json (2.7.2)
jwt (2.8.1)
jwt (2.8.2)
base64
mini_magick (4.12.0)
mini_magick (4.13.1)
mini_mime (1.1.5)
multi_json (1.15.0)
multipart-post (2.4.1)
Expand All @@ -172,7 +172,7 @@ GEM
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (5.0.5)
public_suffix (6.0.0)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
Expand Down
26 changes: 13 additions & 13 deletions packages/react-native-hms/example/ios/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ GEM
base64
nkf
rexml
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.943.0)
aws-sdk-core (3.197.0)
aws-partitions (1.949.0)
aws-sdk-core (3.200.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.83.0)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-kms (1.87.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.152.1)
aws-sdk-core (~> 3, >= 3.197.0)
aws-sdk-s3 (1.155.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
Expand Down Expand Up @@ -109,7 +109,7 @@ GEM
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.64.0)
google-apis-androidpublisher_v3 (0.66.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-core (0.15.0)
addressable (~> 2.5, >= 2.5.1)
Expand All @@ -123,7 +123,7 @@ GEM
google-apis-core (>= 0.15.0, < 2.a)
google-apis-playcustomapp_v1 (0.16.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-storage_v1 (0.39.0)
google-apis-storage_v1 (0.40.0)
google-apis-core (>= 0.15.0, < 2.a)
google-cloud-core (1.7.0)
google-cloud-env (>= 1.0, < 3.a)
Expand Down Expand Up @@ -153,9 +153,9 @@ GEM
httpclient (2.8.3)
jmespath (1.6.2)
json (2.7.2)
jwt (2.8.1)
jwt (2.8.2)
base64
mini_magick (4.12.0)
mini_magick (4.13.1)
mini_mime (1.1.5)
multi_json (1.15.0)
multipart-post (2.4.1)
Expand All @@ -165,7 +165,7 @@ GEM
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (5.0.5)
public_suffix (6.0.0)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
Expand Down
20 changes: 10 additions & 10 deletions packages/react-native-hms/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ PODS:
- HMSHLSPlayerSDK (0.0.2):
- HMSAnalyticsSDK (= 0.0.2)
- HMSNoiseCancellationModels (1.0.0)
- HMSSDK (1.12.0):
- HMSSDK (1.13.0):
- HMSAnalyticsSDK (= 0.0.2)
- HMSWebRTC (= 1.0.6169)
- HMSWebRTC (1.0.6169)
- HMSWebRTC (= 1.0.6170)
- HMSWebRTC (1.0.6170)
- libevent (2.1.12)
- OpenSSL-Universal (1.1.180)
- Permission-Camera (3.4.0):
Expand Down Expand Up @@ -293,11 +293,11 @@ PODS:
- React-Core
- react-native-document-picker (8.2.2):
- React-Core
- react-native-hms (1.10.7):
- react-native-hms (1.10.8):
- HMSBroadcastExtensionSDK (= 0.0.9)
- HMSHLSPlayerSDK (= 0.0.2)
- HMSNoiseCancellationModels (= 1.0.0)
- HMSSDK (= 1.12.0)
- HMSSDK (= 1.13.0)
- React-Core
- react-native-safe-area-context (3.4.1):
- React-Core
Expand Down Expand Up @@ -409,7 +409,7 @@ PODS:
- React-RCTText
- ReactCommon/turbomodule/core
- Yoga
- RNScreens (3.31.1):
- RNScreens (3.32.0):
- React-Core
- React-RCTImage
- RNShare (8.2.2):
Expand Down Expand Up @@ -633,8 +633,8 @@ SPEC CHECKSUMS:
HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb
HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3
HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02
HMSSDK: 137107663eedc276c22639b2ec941c1f14f75d23
HMSWebRTC: 8f51ba33a0e505e17ebf3d7b37bcdca266751a13
HMSSDK: 732458b0404d44a5852747a9e2577d5e5d13e15e
HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
Permission-Camera: 40f43388fa8a648dc6ced73f145ef329ab3ff3fe
Expand All @@ -653,7 +653,7 @@ SPEC CHECKSUMS:
react-native-avoid-softinput: 71a692888f0c1d426ad9045dc8325773583962cd
react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f
react-native-document-picker: cd4d6b36a5207ad7a9e599ebb9eb0c2e84fa0b87
react-native-hms: 803e2f90bf2abfeca108e2703ee33543b730e434
react-native-hms: 00e73186a187266eb3cab2b92e21a6767091ae50
react-native-safe-area-context: 9e40fb181dac02619414ba1294d6c2a807056ab9
react-native-simple-toast: 8ee5d23f0b92b935ab7434cdb65159ce12dfb4b7
React-perflogger: 5a890ca0911669421b7611661e9b58f91c805f5c
Expand All @@ -676,7 +676,7 @@ SPEC CHECKSUMS:
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNPermissions: eac721f71748c4472d6e876038270b75397d6ee7
RNReanimated: 39e61976e5b5c8a891ea8916fb264ae176e8765d
RNScreens: b940b46ae5987e138c4fadb6b264d09177932b4d
RNScreens: afdbd43bcd6c81559917054da18ad101b4395000
RNShare: d82e10f6b7677f4b0048c23709bd04098d5aee6c
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
Expand Down
Loading

0 comments on commit 55c5af3

Please sign in to comment.