react-jitsi icon indicating copy to clipboard operation
react-jitsi copied to clipboard

countryNotSupported: "We do not support this destination yet."

Open devxpert opened this issue 4 years ago • 0 comments

import React, { useState } from 'react'
import Jitsi from 'react-jitsi'


 const App = () => {

  const [displayName, setDisplayName] = useState('')
  const [roomName, setRoomName] = useState('')
  const [password, setPassword] = useState('')
  const [onCall, setOnCall] = useState(false)

  return onCall
    ? (
      <Jitsi
        roomName={roomName}
        displayName={displayName}
        password={password}
        onAPILoad={JitsiMeetAPI => console.log('Good Morning everyone!')}
      />)
    : (
      <>
        <h1>Crate a Meeting</h1>
        <input type='text' placeholder='Room name' value={roomName} onChange={e => setRoomName(e.target.value)} />
        <input type='text' placeholder='Your name' value={displayName} onChange={e => setDisplayName(e.target.value)} />
        <button onClick={() => setOnCall(true)}> Let&apos;s start!</button>
      </>
    )

}

export default App;

where to add country region my country is INDIA or any other country how to add like countryCode: nl

devxpert avatar Jul 24 '20 03:07 devxpert