This library offers React/MUI components to be used along with ApiRTC objects.
npm install @apirtc/mui-react-lib
also you will need to install
''
in index.html to make Icon work
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>
Available log levels:
- debug
- info
- warn
- error
from web app code:
import { setLogLevel } from '@apirtc/mui-react-lib'
setLogLevel('warn')
from console:
setApirtcMuiReactLibLogLevel('debug')