3.2.1 • Published 3 years ago

catalyst-vc-react v3.2.1

Weekly downloads
-
License
AGPL-3.0-only
Repository
github
Last release
3 years ago

Catalyst Video Chat

📷💬 Reliable and scalable open-source video chat in a few lines of code.

Check out the full Catalyst documentation!

Quick Start

Installation

Catalyst can be installed using either npm or yarn

npm i catalyst-vc-react

Importation

import CatalystChat from "catalyst-vc-react"

Implementation

	<CatalystChat
			room="ROOM_NAME"
			appId="YOUR_CATALYST_PROJECT_ID"
			name="MEMBER_NAME"
			onEndCall={() => console.log('Call ended!')}
		/>

You will need a Catalyst appId API key to connect to our servers. This can be obtained in under a minute by visiting the API keys tab of our management portal.

Our servers are free for your first 30 monthly active users, which means they should not cost you anything in development (and possibly production)!

We recommend a minimum parent container size of 400px X 450px.

Parameters

PropDescriptionTypeExample ValueRequired
roomUnique session identifier (peers with the same room are connected)stringROOM_NAMERequired
appIdUnique project identifier, obtained from the API keys tab of our management portalstringYOUR_CATALYST_PROJECT_IDRequired
nameDisplay name of member joining the callstringMEMBER_NAMEOptional
fadeMilliseconds of no user interaction before fading out controls. Disabled when set to 0number600Optional
audioOffDefaultIs microphone disabled by defaultbooleantrueOptional
videoOffDefaultIs webcam disabled by defaultbooleantrueOptional
themeColor scheme. Includes: primary (main color), secondary (background color), tertiary (button color), quaternary (button hover color), quinary (text color)string{ primary?: string; secondary?: string; tertiary?: string; quaternary?: string; quinary?: string; }defaultOptional
simulcastPublish multiple levels of quality for video streamsbooleantrueOptional
disableChatHide text chat functionalitybooleantrueOptional
disableSetupViewSkip setup viewbooleantrueOptional
disableNameFieldHide user name input field in setup viewbooleantrueOptional
cstmSetupBgGradient or hex-code background for setup viewstring#fffOptional
disableRefreshBtnHide refresh button in top settings barbooleantrueOptional
cstmWelcomeMsgMessage displayed when you are the only member in roomstring, HTMLElementWelcome!Optional
cstmSupportUrlUrl for all help/support messages. When set to an empty string hides support icon.stringhttps://catalyst.chat/contact.htmlOptional
arbDataData passed to all other members of roomUint8ArrayTextEncoder().encode('str')Optional
handleReceiveArbDataFunction triggered whenever arbitrary data is receivedFunction(arbData: Uint8Array) => voidOptional
handleUserDataFunction passed all user metadata after token is generatedFunction(userData: CatalystUserData) => voidOptional
onJoinCallFunction triggered when user joins the callFunction() => voidOptional
onMemberJoinFunction triggered when a member joins the callFunction() => voidOptional
onMemberLeaveFunction triggered when a member leaves the callFunction() => voidOptional
onLeaveCallFunction triggered when user leaves callFunction() => voidOptional

Meta

Created by @GoldinGuy and @JoeSemrai

The master branch of this repository contains Catalyst V3, the latest version. The older V2 version can be found on the Catalyst V2 Branch.

Catalyst is designed with safety and security in mind. Visit our terms of service and privacy policy to learn more.

Catalyst V3 is based on a custom version of WebRTC SFU LiveKit infrastructure to allow for more stability and scalability. Prior versions of Catalyst made use of direct P2P protocols.

Distributed under the AGPL-3.0-only license. See LICENSE for more information.

3.2.1

3 years ago

3.2.0

3 years ago

3.1.8

3 years ago

3.1.7

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.3

3 years ago

1.2.0

3 years ago

1.1.8

3 years ago

1.2.1

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago