Skip to content

Commit

Permalink
Merge pull request #696 from opentok/develop
Browse files Browse the repository at this point in the history
v2.26.0
  • Loading branch information
jeffswartz authored Oct 20, 2023
2 parents 1d4af9c + 11b3f67 commit a9b3f06
Show file tree
Hide file tree
Showing 8 changed files with 7,881 additions and 10,815 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace

android/.gradle
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# 2.26.0 (September 2023)

- [Update]: Update OpenTok Android SDK and OpenTok iOS SDK to version 2.26.1.

See the release notes for the OpenTok [ioS SDK](https://tokbox.com/developer/sdks/ios/release-notes.html)
and the [Android SDK](https://tokbox.com/developer/sdks/android/release-notes.html).

For Android, this version of the library requires a mininum Android API level of 23.

There are changes to iOS 14 networking affecting relayed sessions — see the list of
[known issues](https://tokbox.com/developer/sdks/ios/release-notes.html#known-issues)
in the OpenTok iOS SDK release notes.

- [Fix]: Fixes an issue in which applications could not connect to a session when
the `proxyUrl` option for OTSession was set. - issue #645

- [Fix]: Fixes an issue a stream is not destroyed immediately after unmounting an OTSession component or when the `OTSession.disconnect()` method is called. - issues #685 and #686

# 2.25.4 (October 2023)

- [Fix]: Fixes TypeScript definitions - issue #690.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you've installed this package before, you may need to edit your `Podfile` and
target '<YourProjectName>' do
# Pods for <YourProject>
pod 'OTXCFramework', '2.25.1'
pod 'OTXCFramework', '2.26.1'
end
```
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:${_reactNativeVersion}" // From node_modules
implementation 'com.opentok.android:opentok-android-sdk:2.25.1'
implementation 'com.opentok.android:opentok-android-sdk:2.26.1'
}
11 changes: 0 additions & 11 deletions android/src/main/java/com/opentokreactnative/OTSessionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1157,17 +1157,6 @@ public void onStreamHasAudioChanged(Session session, Stream stream, boolean Audi
printLogs("onStreamHasAudioChanged");
}

@Override
public void onStreamHasCaptionsChanged(Session session, Stream stream, boolean hasCaptions) {
WritableMap eventData = Arguments.createMap();
if (stream != null) {
eventData.putMap("stream", EventUtils.prepareJSStreamMap(stream, session));
}
eventData.putBoolean("hasCaptions", hasCaptions);
sendEventMap(this.getReactApplicationContext(), session.getSessionId() + ":" + sessionPreface + "onStreamHasCaptionsChanged", eventData);
printLogs("onStreamHasCaptionsChanged");
}

@Override
public void onStreamHasVideoChanged(Session session, Stream stream, boolean Video) {

Expand Down
2 changes: 1 addition & 1 deletion opentok-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,swift}"

s.dependency 'React'
s.dependency 'OTXCFramework','2.25.1'
s.dependency 'OTXCFramework','2.26.1'
end
Loading

0 comments on commit a9b3f06

Please sign in to comment.