1.0.6-alpha.1 • Published 2 years ago
video-connect-ui v1.0.6-alpha.1
Video connect
This is a Simple UI for Video Chat App using WebRTC and Socket.io. Follow the steps below to run the app.
Steps to run the app
- Install the library using npm or using yarn
npm install video-connect-ui
yarn add video-connect-ui
- Import the library in your project
import {JoinMeet} from 'video-connect-ui'
- Use the component in your project
<JoinMeet />
- Create room on the server side and pass the room id to the component
< JoinMeet roomId="room1" baseURL="https://meet.passwordless.com.au:4516/api" socketURL="https://meet.passwordless.com.au:4515" />
Props
Prop | Type | Default | Description |
---|---|---|---|
socketUrl | string | " " | Socket URL |
logo | string | " " | Logo URL |
baseURL | string | " " | Base URL |
roomId | string | " " | Room ID |
role | string | 'participant' | Role of the user 'host' or 'participant' |
name | string | " " | Name of the user |
string | " " | Email of the user | |
styles | object | {} | Styles for the component |
onDisconnect | function | () => {} | Callback function when the user disconnects |
iceServers | array | [] | ICE servers for WebRTC |
Author
1.0.6-alpha.1
2 years ago
1.0.6-alpha.0
2 years ago
1.0.6-alpha
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago