All Projects → AgoraIO-Community → agora-rtc-react

AgoraIO-Community / agora-rtc-react

Licence: other
A react wrapper for Agora RTC NG SDK

Programming Languages

typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to agora-rtc-react

Agora-Token-Generator
📦 Agora-Token-Generator Agora 声网 Token 生成器
Stars: ✭ 117 (+160%)
Mutual labels:  agora, agoraio
Online-KTV
KTV with your fans together everywhere
Stars: ✭ 63 (+40%)
Mutual labels:  agora
HQ
HQ/Trivia solutions from Agora
Stars: ✭ 62 (+37.78%)
Mutual labels:  agora
Fleo-flutter-video-amalgamation
Fleo - A video calling application developed using flutter🤠
Stars: ✭ 40 (-11.11%)
Mutual labels:  agora
react-native-agoraio
声网agora.io React-Native模块封装 支持iOS / Android
Stars: ✭ 22 (-51.11%)
Mutual labels:  agoraio
Basic-Audio-Broadcasting
Sample app to join/leave a channel, set the role as a host/audience, mute/unmute, and switch between the speaker/headset.
Stars: ✭ 44 (-2.22%)
Mutual labels:  agora
ngx-agora
Angular wrapper for the Agora.io video conferencing web SDK
Stars: ✭ 24 (-46.67%)
Mutual labels:  agoraio
agora-react-native-rtm
React Native around the Agora RTM SDKs for Android and iOS agora
Stars: ✭ 55 (+22.22%)
Mutual labels:  agora
flat
Project flat is the Web, Windows and macOS client of Agora Flat open source classroom.
Stars: ✭ 4,251 (+9346.67%)
Mutual labels:  agora
room.cafe
An extremely simple video meeting, integrated whiteboard, chat and screen sharing
Stars: ✭ 34 (-24.44%)
Mutual labels:  agora
flat-server
A Node.js server for the Agora Flat open source classroom.
Stars: ✭ 488 (+984.44%)
Mutual labels:  agora
OBS
No description or website provided.
Stars: ✭ 42 (-6.67%)
Mutual labels:  agora
yomo-metaverse-workplace-nextjs
Open-source Metaverse Workplace (Virtual Office) with YoMo, Macrometa, Agora.io, Next.js and other Geo-distributed System Tech Stacks.
Stars: ✭ 43 (-4.44%)
Mutual labels:  agoraio
Chatify
A Chat Application in Flutter using Firebase. Integrated Agora Video Call SDK to communicate over video call
Stars: ✭ 76 (+68.89%)
Mutual labels:  agoraio
OpenAgoraWeb-Vue
Video Call App built with ❤️Agora SDK❤️ and Vue
Stars: ✭ 35 (-22.22%)
Mutual labels:  agora
Xamarin.Agora.Samples
Agora.io samples for Xamarin.iOS, Xamarin.Android, Xamarin.MacOS and Xamarin.Forms
Stars: ✭ 41 (-8.89%)
Mutual labels:  agora

Agora RTC SDK React Wrapper

A react (react.js) wrapper for Agora RTC NG SDK.

This wrapper supports React >= v16.8

Install

npm install agora-rtc-react

Usage

import React from "react";
import { AgoraVideoPlayer, createClient, createMicrophoneAndCameraTracks } from "agora-rtc-react";

const config = {mode: "rtc", codec: "vp8"}

const useClient = createClient(config);
const useMicrophoneAndCameraTracks = createMicrophoneAndCameraTracks();

const App = () => {
  const client = useClient();
  const { ready, tracks } = useMicrophoneAndCameraTracks();

  return (
    ready && <AgoraVideoPlayer videoTrack={tracks[1]} style={{height: '100%', width: '100%'}} />
  )
}

Example

A full videocall example using the wrapper can be found here.

Reference

You can view the methods in the wrapper here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].