Skip to content

Guide: Managing Voice Chat #7620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/discord-social-sdk/core-concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To implement the Discord Social SDK, developers for all platforms will generally
- Implement [unified friends list](/docs/discord-social-sdk/development-guides/creating-a-unified-friends-list) and [relationships](/docs/discord-social-sdk/development-guides/managing-relationships).
- Use [rich presence](/docs/discord-social-sdk/development-guides/setting-rich-presence) for game activity updates.
- Set up [lobbies](/docs/discord-social-sdk/development-guides/managing-lobbies) for multiplayer interaction and [game invites](/docs/discord-social-sdk/development-guides/managing-game-invites).
- Manage [direct message](/docs/discord-social-sdk/development-guides/sending-direct-messages), [linked channels](/docs/discord-social-sdk/development-guides/creating-a-unified-friends-list), and [voice communication](/docs/discord-social-sdk/development-guides/joining-voice-chat).
- Manage [direct message](/docs/discord-social-sdk/development-guides/sending-direct-messages), [linked channels](/docs/discord-social-sdk/development-guides/creating-a-unified-friends-list), and [voice communication](/docs/discord-social-sdk/development-guides/managing-voice-chat).
5. Handle events & API calls:
- Listen for changes in friend lists, presence updates, and chat messages.
- Use Discord's APIs to update statuses, send messages, and manage connections.
Expand Down Expand Up @@ -144,7 +144,7 @@ Users can communicate via direct messages (DMs) and voice calls:
| Development Guides |
|------------------------------------------------------------------------------------------------|
| [Sending Direct Messages](/docs/discord-social-sdk/development-guides/sending-direct-messages) |
| [Joining Voice Chat](/docs/discord-social-sdk/development-guides/joining-voice-chat) |
| [Managing Voice Chat](/docs/discord-social-sdk/development-guides/managing-voice-chat) |

| Design Guidelines |
|-------------------------------------------------------------------------------|
Expand Down Expand Up @@ -270,7 +270,7 @@ Learn more about [Using the Discord HTTP API](/docs/discord-social-sdk/developme
| March 17, 2025 | initial release |

{/* Autogenerated Reference Links */}
[`Client`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a302dda8b19408696fa186e739c5c24c8
[`Client`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a91716140c699d8ef0bdf6bfd7ee0ae13
[`Client::Authorize`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ace94a58e27545a933d79db32b387a468
[`Client::GetDefaultCommunicationScopes`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a71499da752fbdc2d4326ae0fd36c0dd1
[`Client::GetDefaultPresenceScopes`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a7648bd1d2f7d9a86ebd0edb8bef12b5c
Expand Down
4 changes: 2 additions & 2 deletions docs/discord-social-sdk/development-guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ subpages:
- development-guides/sending-direct-messages.mdx
- development-guides/managing-lobbies.mdx
- development-guides/linked-channels.mdx
- development-guides/joining-voice-chat.mdx
- development-guides/managing-voice-chat.mdx
- development-guides/integrating-moderation.mdx
- development-guides/debugging-logging.mdx
- development-guides/using-with-discord-apis.mdx
Expand Down Expand Up @@ -64,7 +64,7 @@ If you are new to the Discord Social SDK, we recommend you start with the [Getti
<Card title="Linked Channels" link="/docs/discord-social-sdk/development-guides/linked-channels" icon="TextControllerIcon">
Connect game lobbies to Discord text channels.
</Card>
<Card title="Joining Voice Chat" link="/docs/discord-social-sdk/development-guides/joining-voice-chat" icon="VoiceNormalIcon">
<Card title="Managing Voice Chat" link="/docs/discord-social-sdk/development-guides/managing-voice-chat" icon="VoiceNormalIcon">
Add in-game voice communication.
</Card>
</Container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ Now that you have a unified friends list, you can build on your social features
{/* Autogenerated Reference Links */}
[`Client::GetRelationships`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad481849835cd570f0e03adafcf90125d
[`Client::SetUserUpdatedCallback`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a3559f375165acedc6d6677ef599b3a4a
[`UserHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1UserHandle.html#a3c4e8166cb923dbb7b778ef87b73fd34
[`UserHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1UserHandle.html#a587bcc838e42dc5c56f840a350070707
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ auto call = client->StartCallWithAudioCallbacks(lobbyId, receivedCallback, captu
icon="ChatIcon">
Enable private messaging between players.
</Card>
<Card title="Joining Voice Chat" link="/docs/discord-social-sdk/development-guides/joining-voice-chat"
<Card title="Managing Voice Chat" link="/docs/discord-social-sdk/development-guides/managing-voice-chat"
icon="VoiceNormalIcon">
Add in-game voice communication.
</Card>
Expand All @@ -320,7 +320,7 @@ auto call = client->StartCallWithAudioCallbacks(lobbyId, receivedCallback, captu
| May 22, 2025 | initial release |

{/* Autogenerated Reference Links */}
[`Client`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a302dda8b19408696fa186e739c5c24c8
[`Client`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a91716140c699d8ef0bdf6bfd7ee0ae13
[`Client::SendUserMessage`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a3cf9d2b1b5a4a61dcad995dfc1009703
[`Client::SetMessageCreatedCallback`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a28325a8e8c688a84ac851da4bc86e148
[`Client::StartCallWithAudioCallbacks`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#abcaa891769f9e912bfa0e06ff7221b05

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ activity.SetSupportedPlatforms(
| March 17, 2025 | initial release |

{/* Autogenerated Reference Links */}
[`Activity`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#ab87f0347d870044bb26d8f7e50cb4c1d
[`Activity`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#ae793d9adbe16fef402b859ba02bee682
[`Client::AcceptActivityInvite`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad12cf35065e4d2b303ee470af7c6ef37
[`Client::CreateOrJoinLobby`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a8b4e195555ecaa89ccdfc0acd28d3512
[`Client::RegisterLaunchCommand`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a024d7222931fdcb7d09c2b107642ecab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ See our guide on [Linked Channels](/docs/discord-social-sdk/development-guides/l

---

## Joining Voice Chat
## Managing Voice Chat

See our guide on [Joining Voice Chat](/docs/discord-social-sdk/development-guides/joining-voice-chat) for more information on how to start a voice call in a lobby.
See our guide on [Managing Voice Chat](/docs/discord-social-sdk/development-guides/managing-voice-chat) for more information on how to start a voice call in a lobby.

---

Expand All @@ -181,7 +181,7 @@ With your game able to create and manage lobbies, you can now implement addition
<Card title="Managing Game Invites" link="/docs/discord-social-sdk/development-guides/managing-game-invites" icon="InboxIcon">
Allow players to invite friends to join their game session or party.
</Card>
<Card title="Joining Voice Chat" link="/docs/discord-social-sdk/development-guides/joining-voice-chat" icon="VoiceNormalIcon">
<Card title="Managing Voice Chat" link="/docs/discord-social-sdk/development-guides/managing-voice-chat" icon="VoiceNormalIcon">
Add voice communication to your lobbies.
</Card>
<Card title="Linked Channels" link="/docs/discord-social-sdk/development-guides/linked-channels" icon="TextControllerIcon">
Expand All @@ -200,10 +200,10 @@ With your game able to create and manage lobbies, you can now implement addition
| March 17, 2025 | initial release |

{/* Autogenerated Reference Links */}
[`ChannelHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ChannelHandle.html#a251a2799d80ce466b4e7c0c7a05801fb
[`ChannelHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ChannelHandle.html#ac32096b2ef15c5c220e9b7b92253cc46
[`Client::CreateOrJoinLobby`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a8b4e195555ecaa89ccdfc0acd28d3512
[`Client::CreateOrJoinLobbyWithMetadata`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a5c84fa76c73cf3c0bfd68794ca5595c1
[`Client::LeaveLobby`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a8c78f797240b35d721383461a2e62926
[`Client::SendLobbyMessage`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a779e0483f51dc99f0db3dd761d22ab6f
[`Client::SetMessageCreatedCallback`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a28325a8e8c688a84ac851da4bc86e148
[`MessageHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1MessageHandle.html#a7e2aee125832ed2c66d6b2a265db1523
[`MessageHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1MessageHandle.html#ae25595b43bc74b0c4c92c5165d16382f
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,6 @@ Continue learning about the Discord Social SDK with these guides:
| March 17, 2025 | Initial release |

{/* Autogenerated Reference Links */}
[`RelationshipHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#a218a10c537a3a7bafecd4ef80050f98a
[`RelationshipHandle`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#a7da36b15ad0b7d38ba658a622e9ded77
[`RelationshipHandle::DiscordRelationshipType`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#a5fecfb79a4a2b6f3dc5f73b09d0c3881
[`RelationshipHandle::GameRelationshipType`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#aa60146eb72ede07e3e615565f61f97eb
Loading