Skip to content

VIDCS-3685: Connection Service integration with FCM for notifications push #542

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

goncalocostamendes
Copy link
Contributor

Providing sample integrating a connection service with the vonage webrtc functionalities

@goncalocostamendes goncalocostamendes changed the title VIDCS-3685: Connection Service VIDCS-3685: Connection Service integration with FCM for notifications push May 9, 2025
Comment on lines 3 to 8
This application provides a completed version of the OpenTok [Basic Video Chat tutorial](https://tokbox.com/developer/tutorials/android/) for Android (differing only in some additional validation checks). Upon deploying this sample application, you should be able to have two-way audio and video communication using OpenTok.

Main features:
* Connect to an OpenTok session
* Publish an audio-video stream to the session
* Subscribe to another client's audio-video stream
Copy link

@juliobecerragomez juliobecerragomez May 13, 2025

Choose a reason for hiding this comment

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

Shouldn't we improve this README? I was expecting to find an introduction about the connection services and FCM (and how the app supports it).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I am working on it still. Should be pushed still today


private FcmEventSender() {}

// IMPORTANT: This network operation should NOT run on the main thread!

Choose a reason for hiding this comment

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

I assume there is one or several blocking calls, that's why you create a new thread. That said, isn't there any really asynchronous alternative?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are now using ExecutorService for async calls

@VZaphod
Copy link

VZaphod commented May 14, 2025

Does the microphone and camera capture work in background with the latest android SDKs?
Once the Connection Service launches the connection and the notification should launch another service with the Camera and Mic permissions.

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.

3 participants