Skip to content

Conversation

@harshs-dyte
Copy link

Creating a draft PR for review comments because commit comments will notify everyone watching the repo

@github-actions
Copy link

github-actions bot commented Jan 8, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/realtime/ @cloudflare/pcx-technical-writing, @cloudflare/realtime, @cloudflare/RealtimeKit, @roerohan, @ravindra-dyte


<RTKCodeSnippet id="web-react">

The [`meeting.self`](https://docs.realtime.cloudflare.com/web-core/reference/RTKSelf) represents the local user (you) in the meeting. It provides properties and methods to control your own audio, video, and screen sharing.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link needs to be a relative path to the RTKSelf page in developers.cloudflare.com


<RTKCodeSnippet id="web-web-components">

The [`meeting.self`](https://docs.realtime.cloudflare.com/web-core/reference/RTKSelf) represents the local user (you) in the meeting. It provides properties and methods to control your own audio, video, and screen sharing.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here as well


<RTKCodeSnippet id="mobile-react-native">

The [`meeting.self`](https://docs.realtime.cloudflare.com/mobile-core/reference/RTKSelf) represents the local user (you) in the meeting. It provides properties and methods to control your own audio, video, and screen sharing.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Comment on lines +747 to +748
// All participants (includes both joined and not joined)
val all: List<RtkParticipant> = meeting.participants.all
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed as the backing list never gets populated.

Comment on lines +744 to +745
// Active speaker
val activeSpeaker: RtkRemoteParticipant? = meeting.participants.activeSpeaker
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeet

Comment on lines +762 to +774
firstParticipant?.id // Participant ID (aka peerId)
firstParticipant?.userId // User ID
firstParticipant?.name // Display name
firstParticipant?.picture // Participant picture (if any)
firstParticipant?.customParticipantId // Custom participant ID
firstParticipant?.audioEnabled // Audio state
firstParticipant?.videoEnabled // Video state
firstParticipant?.screenShareEnabled // Screen share state
firstParticipant?.isPinned // Pin state
firstParticipant?.isHost // Host state
firstParticipant?.presetName // Preset name
firstParticipant?.stageStatus // Stage status
firstParticipant?.flags // Participant flags (recorder, hiddenParticipant, webinarHiddenParticipant)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are documented later as well, we should delete this.

Comment on lines +862 to +865
let activeSpeaker: RtkRemoteParticipant? = meeting.participants.activeSpeaker

// All participants (includes both joined and not joined)
let all: [RtkParticipant] = meeting.participants.all
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeet

Comment on lines +879 to +891
firstParticipant?.id // Participant ID (aka peerId)
firstParticipant?.userId // User ID
firstParticipant?.name // Display name
firstParticipant?.picture // Participant picture (if any)
firstParticipant?.customParticipantId // Custom participant ID
firstParticipant?.audioEnabled // Audio state
firstParticipant?.videoEnabled // Video state
firstParticipant?.screenShareEnabled // Screen share state
firstParticipant?.isPinned // Pin state
firstParticipant?.isHost // Host state
firstParticipant?.presetName // Preset name
firstParticipant?.stageStatus // Stage status
firstParticipant?.flags // Participant flags (recorder, hiddenParticipant, webinarHiddenParticipant)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Comment on lines +987 to +999
firstParticipant?.id; // Participant ID (aka peerId)
firstParticipant?.userId; // User ID
firstParticipant?.name; // Display name
firstParticipant?.picture; // Participant picture (if any)
firstParticipant?.customParticipantId; // Custom participant ID
firstParticipant?.audioEnabled; // Audio state
firstParticipant?.videoEnabled; // Video state
firstParticipant?.screenShareEnabled; // Screen share state
firstParticipant?.isPinned; // Pin state
firstParticipant?.isHost; // Host state
firstParticipant?.presetName; // Preset name
firstParticipant?.stageStatus; // Stage status
firstParticipant?.flags; // Participant flags (recorder, hiddenParticipant, webinarHiddenParticipant)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants