Ramadurai Jayaraman
Ramadurai Jayaraman

Reputation: 91

Display user name on remote videos on Group chatting, Raise hand feature on Group chatting

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

Upvotes: 2

Views: 1127

Answers (1)

Ekaansh Arora
Ekaansh Arora

Reputation: 1314

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.

Upvotes: 3

Related Questions