Skip to content

ApiRTC/mui-react-lib

Repository files navigation

mui-react-lib

This library offers React/MUI components to be used along with ApiRTC objects.

Install

npm install @apirtc/mui-react-lib

also you will need to install

''

in index.html to make Icon work

Components

Stream

Use it to display any ApiRTC remote Stream. Example:

import { Stream } from '@apirtc/mui-react-lib'

<Stream stream={stream}
        muted={false}
        controls={<><MuteButton /></>}>
        <Video />
</Stream>

Configure log level

Available log levels:

  • debug
  • info
  • warn
  • error

from web app code:

import { setLogLevel } from '@apirtc/mui-react-lib'

setLogLevel('warn')

from console:

setApirtcMuiReactLibLogLevel('debug')

About

Material UI React ApiRTC components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published