Display user name on remote videos on Group chatting, Raise hand feature on Group chatting - agora.io

We have integrated agora rtc for group video chatting using vue js. Would like to display corresponding user name on remote videos . I am unable pass user name custome property through stream as like userid. How to solve this issue. is there any way to pass custom object to send through stream to remote users.
Raise hand feature also need to do. How to do .
Could you help me

I'd recommend using the Agora RTM SDK for your use case. It lets you send messages to other users.
Using RTM whenever you join an RTC channel you can send a channel message to RTM with your name. That way other users can receive and display your name.
For raise hand, you can send a message with a request (eg: {"raise": "true"}), the remote user can then accept/reject the request and send the corresponding message back. If accepted you, you read the message and unmute the local user using RTC method.
You can find a quickstart app for RTM here.

Related

Possibility to remove or change the Teams Notification when you request a Team via graph api

When you request a Team using graph api,you will get a notification (from Service Account )that you where added to this newly created Team.
It will make user confused.
Just wonder if there is a easy way to hide this notification or change it?
Currently you cannot edit the Teams Notification when you request a Team via graph api. You can edit the Teams notification when you send some messages to channel, By using the summary field. Pleases check the summary field property for chat-Message. Please Raise a [User Voice]https://microsoftteams.uservoice.com/forums/555103-public-preview/category/182881-developer-platform) to edit the Teams Notification when you request a Team via graph api.

Notify of Video Call

I am building a Video Chat application in React-Native, I have successfully implemented the Video Chat feature. Now I need a mechanisim to send notification to the user to join the Video Call.
I have read stackoverflow and also googled a lot, all the answers suggest to use Callkeep.
But Callkeep requires me to use Phone call account permission to use the module. I need the notification to be handled like in Instagram, with simple notification that User A is calling you with declined and answer button only.
You can use Firebase Cloud Messaging or a similar service to send and receive notifications for your calls. You can send the channel name as the payload to accept the notification and join the call.

Twilio integration

I am using twilio from salesforce (On a custom object) to call some numbers. Is there any way to send voicemails to those numbers without ringing there phone or with ring as least as possible .
Will appreciate your help .
Thanks!
Twilio developer evangelist here.
The voicemail of someone else's phone is not under control by Twilio. So you can't directly leave a voicemail without ringing them. You also cannot control the number of rings someone else's phone will make before going to voicemail.
Using Twilio, you could make calls to the numbers and play a message when they or their voicemail answers. This would either directly deliver the message to the user or record it on their voicemail.
[edit]:
After the discussion in comments below, here is an updated answer.
I'll give an overview of the system I think you need to build. I can't be more specific, because I have little details of your system or what you've tried.
I think you need to build in Twilio Client to your Salesforce application. You can watch a video on how to integrate Twilio Client with Salesforce.
You can use this to generate the calls to your customers and speak to them from within Salesforce.
To add to this, you also want to leave a message if you get a voicemail. You will need to do a few things to achieve this.
First, you will need to store the Call Sid of the call you made in the browser. You can get this from the parameters attribute of the Twilio.Connection.
You will need to add a button to your interface that is active when you are on an active call. This button needs to hook up to an endpoint in your Salesforce app. The button should send the Call Sid you saved from your connection to the app.
Within the Salesforce app, you will need to build the endpoint for the above. This will receive the Call Sid as an argument. This Call Sid is the parent call and represents your connection to the call. We need to get the Child Call, which is the other end. We do this by calling on the Calls resource passing the Call Sid as the ParentCallSid parameter. This will get you access to the child call.
You now need to redirect the child call using the REST API to another endpoint that has the TwiML to <Play> your recorded message for voicemail.
Then, when your user is on a call and it goes to voicemail, they should press the button in the interface. This will redirect the child call away and consequently hang up on the user in salesforce.
Let me know if this helps at all.

How to share my youtube-playlist with the end user, using You Tube data api version 3 objective c

i am developing an app on which i want, end user can access my youtube-playlist(and videos among them). i have the full access of the youtube channel, just want the users to access them. I am using objective c client library for youtube v3.
what i have done:
auth 2 authentication for end user
api call to youtube server using my client id and secret.
Currently i am getting Like, upload, watch history etc. of my channel from another user(end user) but only the id, not any link of video of related playlist.
When i login using my credential of youtube on my app i get all the video links, but when i login using another youtube id then i don't get the video links. can not figure it out why this is happening.
Basically i just want some suggestion or direction on the following:
is it possible to share my youtube-playlist to others(end user)?
if possible then can the user can access the videos of the channel? if so how?
Thank you.
I was misunderstanding the concept. Any playlist/video that is publically visible on youtube, then just the ID for corresponding playlist/video is needed.
One has to make the query request to youtube server based on the ID of the resource he want to fetch.
Basically my Client ID and Secret are using on my app to get the details use of the app, meaning how much api is calling(you can get it on the console of your project).

Building a GPS Tracking Web System

I'd like to develop a tracking system using an API of course (like the famous Orange API).
the idea is simple:
I send a SMS (from my Web interface) to the person i want to track
The person's mobile terminal (GPS like this) send me back automatically
the coordinates by SMS.
The sent information are displayed on the user's web interface.
The questions are simple:
How the terminal can send automatically the response?
How to indicate in the message that the information is for "user4655"?
How to make connection between the information and the database?
Thanks,
Regards.
* How the terminal can send automatically the response?
Ans: You set the gateway and the time intervals you want the device to send the sms to on the device itself.
* How to indicate in the message that the information is for "user4655"?
Ans: The gateway you use will have the API to determine that the number it is sent from. The device will use a registered phone number from either a sim or enabled by one of those cell providers.
* How to make connection between the information and the database?
Ans: I dont understand this. But I'm guessing you will have a database to keep track of the user data. You'll just probably need another table that is a child of the user, which has a list of the data and the time they came in.