The imMail Meet is a video conferencing web software compatible with WebRTC.
The main goal here is to show you a practical example of code in order to help during the imMail Meet embedding in your application.
git clone https://github.com/immail/meet-embedding.git
npm i
- Once you are signed up to immail.ca you have to be subscribed to the VIDEO CONFERENCE service in order to consume with the API Key the video conference routes on imMail's API. If you do know if you are subscribed, please contact us ( [email protected] ).
- Go to Manage Domain on the top right corner menu and find the API Key.
- Click on Generate API Key button (and this API Key in a safe place. Only use that for server-to-server calls, never on the client-side.) If you are an imMail Partner, you are going find the API Key page on the Partner's Dashboard.
- Open the file
index.js - Set for the constant
EMAIL_DOMAINat top of the file the email domain of the company.
E.g.:
EMAIL_DOMAIN="companyxpto.com"
- Set for the constant
API_KEYthe api key that you just generated.
E.g.:
API_KEY="xxxxxxxxxxx"
Remember, this is only a example project, never set the API Key hard coded like this. For a production projet it's better keep it in a env variable.
node index.js
- Go to the browser and access https:/localhost:3000/