Created
May 28, 2023 07:34
-
-
Save nemo0/a8ad6207855d7d8a8d351a878021c26d to your computer and use it in GitHub Desktop.
Call.js States
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Call = () => { | |
const [userId, setUserId] = useState(''); | |
const [call, setCall] = useState(null); | |
const [authenticated, setAuthenticated] = useState(false); | |
const [ringing, setRinging] = useState(false); | |
const [connected, setConnected] = useState(false); | |
const [connecting, setConnecting] = useState(false); | |
const [loading, setLoading] = useState(false); | |
const [muted, setMuted] = useState(false); | |
const [mutedVideo, setMutedAudio] = useState(false); | |
const [defaultCallParams, setDefaultCallParams] = useState({}); | |
}; | |
export default Call; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment