I am trying to implement group calling using Azure Communication Services, using only azure-communication-calling which provides the CallClient. When I access the group Id from Call, that is returned after CallClient.startCall, through Call.info.groupId it's blank.
My question is, how do I get the group Id so that other users can join. Or is there a way to call CallClient.startCall that initiates the call as a group call?
Asked
Active
Viewed 278 times
0
muremwa
- 35
- 6
1 Answers
1
My question is, how do I get the group Id so that other users can join. Or is there a way to call CallClient.startCall that initiates the call as a group call?
According to documentation:
The
groupIdparameter requires data to be in GUID format. We recommend using randomly generated GUIDs that aren't considered personal data in your systems.
To start a new group call or join an ongoing group call, use the join method and pass an object with a groupId.
const context = { groupId: '<GUID>'};
const call = callAgent.join(context);
To generate GUID, you can refer to How to create a GUID / UUID
Updated references: CallInfo interface, Call Automation overview, Learn Azure Communication Services and Learn Azure Communication Services Day 7 – Joining a Group Call
Ecstasy
- 1,866
- 1
- 9
- 17
-
1Thank you. This was very useful. I found [this blog series](https://www.thoughtstuff.co.uk/learn-azure-communication-services) which explains this concept further, especially [this post](https://blog.thoughtstuff.co.uk/2021/03/learn-azure-communication-services-day-7-joining-a-group-call/). – muremwa Jun 14 '22 at 10:20