@100mslive/hms-video-react 中文文档教程

发布于 3年前 浏览 30 更新于 3年前

IMPORTANT: Deprecation Notice

请注意,此库最终将被弃用,如果您正在开始一个新项目,请使用 @100mslive/react -sdk,我们的快速入门指南应该可以帮助您快速入门。 对于已经存在的项目,如果您不使用任何 UI 组件而仅使用挂钩,则可以在安装后者后将所有出现的“@100mslive/hms-video-react”替换为“@100mslive/react-sdk” . 我们还在积极开发 UI 包 "@100mslive/react-ui",目前在alpha 用于帮助处理无头和样式化的组件。

100ms React SDK

文档”></a> 
  <a href=Discord< /a> Email

创建使用 100ms 的 React SDK 的漂亮自定义应用程序。

该库目前提供由两部分组成 -

  1. hooks which interface with our sdk for easily using with functional components. More details here.
  2. 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

Documentation Discord Email

Create beautfiful custom applications using 100ms' React SDK.

This library currently provides is composed of two pieces -

  1. hooks which interface with our sdk for easily using with functional components. More details here.
  2. 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

更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文