Skip to content

Conversation

@diegolmello
Copy link
Member

@diegolmello diegolmello commented Jul 22, 2021

Proposed changes

Updates Jitsi SDK to 3.6.0.
All forks were updated.

Issue(s)

Depends on:
RocketChat/react-native-jitsi-meet#9
RocketChat/jitsi-maven-repository#2
RocketChat/jitsi-meet-ios-sdk-releases#5
RocketChat/jitsi-meet#14

How to test or reproduce

Starting a call

  • Go to any room actions
  • Tap Voice call/Video call (we should test both)

Joining from message

  • Start a call from web
  • A "Call started by" message should be sent to the room
  • Join by tapping "Click to join"
  • Known issue: During development, I found that if you start this process from mobile and try to join on the web, it won't work. We need to test that and check if there's an open issue on the web repo.

Joining from push notification

  • Start a call from web
  • A push notification should be sent to your device
  • Join by tapping the push notification

Test Jitsi features

  • We need to test Jitsi features making sure everything is working properly (mute, turn off cam, etc)
  • Some of them might be flaky or not work because of Jitsi itself, but it's good to be aware of

Dark mode

  • Enable dark mode on your device
  • Everything should be visible

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

libre_build = !(isPlay.toBoolean())
jitsi_url = isPlay ? "https://github.com/RocketChat/jitsi-maven-repository/raw/master/releases" : "https://github.com/RocketChat/jitsi-maven-repository/raw/libre/releases"
jitsi_version = isPlay ? "2.10.2" : "2.10.0-libre"
jitsi_url = isPlay ? "http://github.com/RocketChat/jitsi-maven-repository/raw/3.7.0/releases" : "https://github.com/jitsi/jitsi-maven-repository/raw/libre/releases"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not actively maintaining libre, so I just changed the URL to match, but there's no point to test at this time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https instead

const { route } = this.props;
const { userInfo } = this.state;

if (isIOS) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm calling Jitsi on iOS the old way and Android using props.
For some reason I didn't understand, Android is not working this way anymore.

onConferenceJoined={this.onConferenceJoined}
style={sharedStyles.container}
style={StyleSheet.absoluteFill}
options={options}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what triggers the call on Android from now on.

ios/Podfile Outdated
abstract_target 'defaults' do
# force use our own JitsiMeetSDK
pod 'JitsiMeetSDK', :git => 'https://github.com/RocketChat/jitsi-meet-ios-sdk-releases.git'
pod 'JitsiMeetSDK', :git => 'https://github.com/RocketChat/jitsi-meet-ios-sdk-releases.git', :branch => '3.7'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remove this branch and reinstall pods before merging

Copy link
Contributor

@gerzonc gerzonc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@ankar84
Copy link
Contributor

ankar84 commented Aug 13, 2021

  • Known issue: During development, I found that if you start this process from mobile and try to join on the web, it won't work. We need to test that and check if there's an open issue on the web repo.

Yeap, it's a front-end bug, that will be fixed in next release, I guess

RocketChat/Rocket.Chat#22845

@ankar84
Copy link
Contributor

ankar84 commented Aug 13, 2021

Known issue

  • Sometimes Jitsi's "End call" button doesn't work (it just grey out)
  • When that happens, I needed to tap several times or wait until the call was ended
  • I was unable to find how to reproduce that 100%, but we need to test that and evaluate if it's a critical issue (if it happens too often, if the call is ended properly, etc)

And that's really strange. I didn't get that kind of bug using Jitsi meet application which on same 3.7.0 SDK version.

But I will wait RCRN Experimental beta to test it with our production Jitsi deployment and left a feedback for sure!

@diegolmello diegolmello changed the title Chore: Update Jitsi to 3.7.0 Chore: Update Jitsi to 3.6.0 Aug 27, 2021
@diegolmello
Copy link
Member Author

diegolmello commented Aug 27, 2021

Downgraded to Jitsi SDK 3.6.0 and there's no ghost users or black screen.

@ankar84
Copy link
Contributor

ankar84 commented Aug 27, 2021

Downgraded to Jitsi SDK 3.6.0 and there's no ghost users or black screen.

Good to know that! Wait to test public beta with Jitsi SDK 3.6.0!
And thanks a lot for your hard work again!

# Conflicts:
#	ios/Pods/Pods.xcodeproj/project.pbxproj
#	ios/Pods/Target Support Files/Pods-NotificationService/Pods-NotificationService.debug.xcconfig
#	ios/Pods/Target Support Files/Pods-NotificationService/Pods-NotificationService.release.xcconfig
# Conflicts:
#	ios/Pods/Pods.xcodeproj/project.pbxproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants