-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FCE-1046] Update comments for better docs #248
base: main
Are you sure you want to change the base?
Conversation
@@ -13,7 +13,7 @@ type Props = { | |||
|
|||
export function Tile({ videoTrack, audioTrack, name, id }: Props) { | |||
const isMuted = !audioTrack || audioTrack.metadata?.paused; | |||
const isSpeaking = useVAD([id])[id]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw: do you think useVAD({ peerIds: [id] })
would make the api easier to comprehend?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, makes sense. I updated method definition
Co-authored-by: Adrian Czerwiec <[email protected]>
daff1e2
to
759c282
Compare
Description
Remove explicit return types for hooks, and instead use implicit types. This will make documentation more readable. So instead of this, we could have something like this.
Motivation and Context
Make documentation better.
Types of changes
not work as expected)