This demo represents use of Daily's custom daily-js front end library and web components to create an interactive video call that can be added to any website or application.
You can check out a live version here.
To use this demo, you will first need to create a Daily account. Once you have an account and are logged into the Daily Dashboard, you can create a new Daily room and copy its URL.
Note: You can also create Daily rooms via the REST API.
You can use your Daily room in the demo by pasting the room URL into the input field. The room URL should be in this format to be valid: https://domain-name.daily.co/room-name
, with daily-domain
changed to your domain, and room-name
changed to the name of the existing room you would like to use.
To get started with a local deployment, run a server from this repo's directory. You can use something like python -m SimpleHTTPServer
(run on the command line in the repo's directory) or use the VSCode Live Server extension. See How do you set up a local testing server? for more info.
This demo uses the following Daily methods:
createCallObject()
join()
leave()
setLocalVideo()
setLocalAudio()
startScreenShare()
stopScreenShare()
This demo uses the following Daily events: