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

Chat message while one to one video call is going on #158

Closed
RuhaanSharma opened this issue Jul 28, 2020 · 6 comments
Closed

Chat message while one to one video call is going on #158

RuhaanSharma opened this issue Jul 28, 2020 · 6 comments

Comments

@RuhaanSharma
Copy link

RuhaanSharma commented Jul 28, 2020

I have created one to one video call implementation using Agora and flutter.
Now my client need that both caller can send chat message to each other too while they are active in video call.
Please let me know how can I achieve sending text in agora when 2 users have already joined the channel and video call is going on.

@LichKing-2234
Copy link
Contributor

you can use our RTM SDK.
https://pub.dev/packages/agora_rtm

@RuhaanSharma
Copy link
Author

RuhaanSharma commented Jul 29, 2020

But this will require to establish a new connection using AgoraRtmClient.
1). I was wondering if it is possible by means using the connection already established between 2 users via AgoraRtcEngine ?
2). What about the scenario, 2 users are not in direct chat. But one user must listen to messages from any number of users even when that user is offline in the app ?

@plutoless
Copy link
Contributor

1). currently AgoraRtcEngine only transfer stream data, using RTM is a more reliable way to do p2p/channel messaging
2). RTM support offline message, so he will be able to receive the message once he comes back online. you may also achieve this via push notification

@RuhaanSharma
Copy link
Author

RuhaanSharma commented Aug 15, 2020

AgoraIO/Agora-Flutter-RTM-SDK#34

I am facing same issue in your demo app.
1). Should I avoid using AgoraRtmClient if users are not receiving offline message yet ?
2). I am unable to find pricing document any where on agora site for using same. Can you please provide details about pricing as well ?
3). Is there a way to get chat history between 2 peers ?

@LichKing-2234
Copy link
Contributor

LichKing-2234 commented Aug 16, 2020

@RuhaanSharma

RTM SDK is free at present. and the history of messages is close beta.

@RuhaanSharma
Copy link
Author

@LichKing-2234
So for my purpose user can send offline message and can see chat history, RTM SDK will not be able to provide these features at the moment.
I will look forward to any other solution at the moment.
Thanks for clearing my doubts and letting me go on another path.

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

No branches or pull requests

3 participants