Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ios/android/sdk): delegate transcription chunk received event #14516

Merged

Conversation

Calinteodor
Copy link
Contributor

No description provided.

ios/app/src/ViewController.m Outdated Show resolved Hide resolved
react/features/mobile/external-api/middleware.ts Outdated Show resolved Hide resolved
react/features/mobile/external-api/middleware.ts Outdated Show resolved Hide resolved
@Calinteodor Calinteodor force-pushed the transcription-chunk-recieved-sdk branch 3 times, most recently from 7f2b755 to 655e643 Compare March 27, 2024 13:38
@@ -255,6 +255,10 @@ protected void onReadyToClose() {
finish();
}

protected void onTranscriptionChunkReceived(HashMap<String, Object> extraData) {
JitsiMeetLogger.i("Transcription chunk received: " + extraData);
Copy link
Member

Choose a reason for hiding this comment

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

Don't put this here. Put it in the main activity, and commented out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see that all the other events like CONFERENCE_TERMINATED or READY_TO_CLOSE are here and MainActivity extends JitsiMeetActivity.

Copy link
Member

Choose a reason for hiding this comment

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

READY_TO_CLOSE is special because it terminates the activity. The rest shouldn't really be there...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we leave it as it is right now and do a separate PR where we tackle all the events after this?

react/features/mobile/external-api/middleware.ts Outdated Show resolved Hide resolved
react/features/subtitles/functions.web.ts Outdated Show resolved Hide resolved
@Calinteodor Calinteodor force-pushed the transcription-chunk-recieved-sdk branch from b6d9f8e to e4824b0 Compare March 28, 2024 10:01
@Calinteodor Calinteodor force-pushed the transcription-chunk-recieved-sdk branch from 4c71b93 to 4587d93 Compare March 28, 2024 11:22
saghul
saghul previously approved these changes Mar 28, 2024
@Calinteodor Calinteodor merged commit 5247fbd into jitsi:master Mar 28, 2024
8 checks passed
liumengyuan1997 pushed a commit to liumengyuan1997/jitsi-meet that referenced this pull request Jun 19, 2024
…itsi#14516)

* feat(subtitles): created separate helpers for delegating transcription chunks events 
on web and mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants