Skip to content

Commit

Permalink
Update changelog and sdk version to 1.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Jan 24, 2023
1 parent af164b6 commit 1f73724
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### 1.36.0
- Introduce [CameraManager.useOrientationEventListener](https://voximplant.com/docs/references/reactnative/voximplant/hardware/cameramanager#useorientationeventlistener) API to use Android orientation event listener to rotate video frames

### 1.35.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.34.0 and Voximplant iOS SDK 2.46.11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String getName() {
//region React methods
@ReactMethod
public void init(ReadableMap settings) {
Voximplant.subVersion = "react-1.35.0";
Voximplant.subVersion = "react-1.36.0";
ClientConfig config = Utils.convertClientConfigFromMap(settings);
mClient = Voximplant.getClientInstance(Executors.newSingleThreadExecutor(), mReactContext, config);
mClient.setClientIncomingCallListener(this);
Expand Down
2 changes: 1 addition & 1 deletion ios/RNVIClientModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)stopObserving {
RCT_EXPORT_METHOD(initWithOptions:(NSDictionary *)options) {
VILogLevel logLevel = [RNVIUtils convertLogLevelFromString:[options objectForKey:@"logLevel"]];
[VIClient setLogLevel:logLevel];
[VIClient setVersionExtension:@"react-1.35.0"];
[VIClient setVersionExtension:@"react-1.36.0"];
BOOL h264RecoveryMode = [[options objectForKey:@"h264RecoveryMode"] boolValue];
if (h264RecoveryMode) {
RTCInitFieldTrialDictionary(@{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-voximplant",
"version": "1.35.0",
"version": "1.36.0",
"description": "VoxImplant Mobile SDK for embedding voice and video communication into React Native apps.",
"nativePackage": true,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion react-native-voximplant.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/voximplant/react-native-voximplant'
s.source = {:path => './ios/'}
s.summary = 'RN voximplant'
s.version = '1.35.0'
s.version = '1.36.0'
s.dependency 'VoxImplantSDK', '2.46.11'
s.dependency 'React'
end
10 changes: 5 additions & 5 deletions src/hardware/CameraManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ export default class CameraManager {
}

/**
* ANDROID ONLY.
*
* Use OrientationEventListener to detect the device rotation and to rotate camera frames according to device orientation.
* Use OrientationEventListener on Android to detect the device rotation and to rotate camera frames according to device orientation.
*
* By default, Display rotation is used to determine the device rotation.
*
* The way how the device orientation is detected, affects camera frames rotation on local and remote side if auto-rotate is disabled on a mobile phone:
* 1. OrientationEventListener will detect landscape orientation
* 2. Display rotation will always report portrait orientation
*
* OrientationEventListener will detect landscape orientation
* Display rotation will always report portrait orientation
* The method should be called in idle camera state, i.e. video is currently not sending in a call.
*
* ANDROID ONLY
* @param {boolean} use - True, if OrientationEventListener should be used to detect the device orientation, otherwise Display rotation is used.
* @memberOf Voximplant.Hardware.CameraManager
*/
Expand Down

0 comments on commit 1f73724

Please sign in to comment.