-
Notifications
You must be signed in to change notification settings - Fork 19
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
How can I know there are the id rooms? #14
Comments
There are two ways to create conversation. You can use join (when conversation wasn't exists then new one will be created), or use create (then you'll receive created signal with room id in signal content). If you want, you can write your own signal which will check if conversation with given name exists (details here) |
Thank you for quick reply. So, I have this: https://pastebin.com/Nm5QyRar
|
my mistake, return for example signal instead of void then spring context will be able to start. |
You could autowire org.nextrtc.signalingserver.repository.Conversations. This repository has method Optional findBy(String conversationId). You can use them to check if conversation exists or not |
Thank you. But what to do, if I get NullPointerException?
I want to check, if conversation is exist. Hmm... |
You are the best! |
I need to check, if id created this room to join them.
The text was updated successfully, but these errors were encountered: