Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample component state for a Daily video chat app built in React
{
local: {
videoTrackState: null,
audioTrackState: null,
},
<other-participant-1>: {
/*...*/
},
<other-participant-1>-screen: {
/*...*/
},
/* ... */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment