IMPORTANT: Deprecation Notice
请注意,此库最终将被弃用,如果您正在开始一个新项目,请使用 @100mslive/react -sdk,我们的快速入门指南应该可以帮助您快速入门。 对于已经存在的项目,如果您不使用任何 UI 组件而仅使用挂钩,则可以在安装后者后将所有出现的“@100mslive/hms-video-react”替换为“@100mslive/react-sdk” .
我们还在积极开发 UI 包 "@100mslive/react-ui",目前在alpha 用于帮助处理无头和样式化的组件。
100ms React SDK
< /a>
创建使用 100ms 的 React SDK 的漂亮自定义应用程序。
该库目前提供由两部分组成 -
- hooks which interface with our sdk for easily using with functional components. More details here.
- UI components for common use cases - video tile, preview etc. Note that these components are on path of deprecation and we don't recommend their use as a library. We're actively working on a new UI components library which will provide improved flexibility and ease of use.
安装使用
npm install --save @100mslive/hms-video-react@latest
如需详细文档,请访问我们的文档页面< /a>
IMPORTANT: Deprecation Notice
Note that this library is on path of eventual deprecation, if you're starting a new project please use @100mslive/react-sdk, our quickstart guide should help you in getting up quickly. For already existing projects, if you're not using any UI components and only using the hooks, you can simply replace all occurence of "@100mslive/hms-video-react" with "@100mslive/react-sdk" after installing the latter.
We're also actively working on a UI package "@100mslive/react-ui", currently in alpha for helping with headless and styled components.
100ms React SDK
Create beautfiful custom applications using 100ms' React SDK.
This library currently provides is composed of two pieces -
- hooks which interface with our sdk for easily using with functional components. More details here.
- UI components for common use cases - video tile, preview etc. Note that these components are on path of deprecation and we don't recommend their use as a library. We're actively working on a new UI components library which will provide improved flexibility and ease of use.
Install using
npm install --save @100mslive/hms-video-react@latest
For detailed documentation visit our documentation page