How set video calling using agora in flutter? - flutter

I want to set channels dynamically because its very hard to tell other to join this channel.
how i can join a channel problematically?

I believe that you can use firebase dynamic links to do this. Where you send a particular invite link to the person and when that link is clicked it automatically fills the channel name.
You can refer this on how to implement this using firebase dynamic links: https://stackoverflow.com/a/61558367

Related

Agora. How can I listen for an user joining or leaving a Video Call Agora

I am making a Flutter application using Agora.
The app has the ability to make a video call through Agora. To connect to Video Call, rtcToken, appId and ChannelName are used from the console of Agora from the server (Generate comes from the server.). For now, 2 users can make a video call with each other through these 3 fields.
Question: is it possible to know the users who joined and left videoCall without sending a request to our server from mobile?
If this is not possible, then how can I tell the server from the mobile that users have joined or left?
Of course, it can be done via Rest api or socket. but the request to the Rest API may not go through (For example, the phone may be turned off). I wonder if the socket will hurt the server. It would be nice to have other solutions.
Thanks a lot for the answer
How did I solve the problem?
Agora itself could not solve the problem. Had to use web-socket. To know if the user is in the channel:
client.sessionController.value.isInChannel
This is what I used in web-socket.
check this agora documentation.
it shows channel methods for joining and leaving channel by the user.
https://api-ref.agora.io/en/video-sdk/flutter/6.x/API/rtc_api_overview_ng.html

Appending to a list of messagingStyle notification using flutter_local_notifications

I have a messaging style notification where I need to append messages to a list of messages but I have no context about the messages which have already been shown using .show().
I can get information about the active notifications using getActiveNotifications() but there is no information about the icons or other assets which were also used in those notifications. The ActiveNotification class does not provide any such information about the notification.
I'm able to append content to simple notifications that don't contain any media but have not been able to do so for notification styles like the BigPictureStyle or the MessagingStyle notification since I'm not able to access the media used in previous notifications.
Is it possible to somehow get information about these additional details as well? Or better yet, is there a better way to achieve the above in Flutter using flutter_local_notifications.

how to create a private channel with stream chat flutter sdk?

I have an ecommerce app created with flutter ( under development),,
so I heard about the Stream_chat_flutter SDK ,, It is a really simple and easy solution to deal with, So my question is I have a user and a seller in my app and I want to make channel conversation between the seller and this particular user so when this user want to send a message to this seller in this time the channel will be created and the seller will be notified and get the message , How can I implement this with your Sdk?
note: that the seller can be contacted by many users .
(I have a authentication system with firebase.)
Capture from the app
Capture from the app
Channels are unique either by specifying a channel ID or a list of members in the create request.
If you want a private one on one channel between one user and a seller, use this:
client.channel("messaging", extraData: {"members": ["user_id", "seller_id"]});
See here for more info.
You can specify as many members as needed to create a group chat.

PhoneRTC in Ionic

I successfully manage to run the demo but in my case I want to make a video chat to make each one of clients to see each other but in the demo you can just see the caller or callee. How can I use phonertc just like the messenger app.. Thanks
Group chat is not given as a feature in phoneRTC but, the base is available to create group calls. Please refer to their own documentation (the last paragraph)

how can I integrate WhatsApp into my ios app?

I want to develop an iphone app ,in which user can send a common message (Broadcast Message) to unlimited (Select All Contacts) and send to all at one time (In single attempt ) .It's possible to share images or text you want through Whatsapp in a iOS app?
Any idea regarding this?
There's also a WhatsAppKit on Github now: Check Link
There is no way you can use Whats app into App up till now. If so than also i will suggest not to rely on that.
If you want to make an feature for to broadcast a text message or image the best way is to implement your own. You can do the following:
Use xmpp Protocol
Implement push notification to notify for new broadcast messages
Create API for sending/receiving text messages & image & call it when you get notification
For more guidance refer this : http://quickblox.com/developers/SimpleSample-chat_users-ios