matrix-org / matrix-org/matrix-js-sdk
Unable to place Group call [audio]
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
Hi , I'm currently exploring the use of matrix-js-sdk for implementing group audio calls. While the library is powerful, I'm finding some gaps in the documentation for this specific feature. Particularly, I haven't encountered detailed information on group call events and their corresponding state [transitions.Is](http://transitions.is/) it possible to achieve full-fledged group audio call functionality solely with matrix-js-sdk, or are there additional considerations or dependencies involved? Can I implement the group audio in my react application by only using the matrix-js-sdk package ? if so, kindly let me know. Thanks.
"const createGroupCall = useCallback(() => {
let placeCallFunc = (x: any) => {
if (x === null) return false;
console.log('value of x', x);
x.updateParticipants();
x.initLocalCallFeed();
x.placeOutgoingCalls();
return true;
};
if (client) {
let c = client.getGroupCallForRoom(currentRoom);
placeCallFunc(c) ||
client
.createGroupCall(
currentRoom,
sdk.GroupCallType.Voice,
false,
sdk.GroupCallIntent.Ring,
true,
{
maxPacketLifeTime: 300,
maxRetransmits: 10,
ordered: true,
protocol: 'udp',
},
)
.then((c) => {
placeCallFunc(c);
console.log('test grpc', c);
playRinging();
setGroupCallState(c.state);
console.log(c.state);
});
}
}, [client]); "
This is the glimpse of the code I'm using for the implementation and I'm unable to move forward with this due to lack of documentation and any events relevant for this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the group-call APIs shown in the issue, including getGroupCallForRoom, createGroupCall, updateParticipants, initLocalCallFeed, and placeOutgoingCalls. Document the relevant group-call events, state transitions, and whether a React application needs dependencies beyond matrix-js-sdk. Done means a newcomer can determine the supported setup and implementation flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- audio-video-rtc, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100