English | [简体中文](./README-zh_CN.md)

# @ray-js/video-streams-sdk

[![latest](https://img.shields.io/npm/v/@ray-js/video-streams-sdk/latest.svg)](https://www.npmjs.com/package/@ray-js/video-streams-sdk) [![download](https://img.shields.io/npm/dt/@ray-js/video-streams-sdk.svg)](https://www.npmjs.com/package/@ray-js/video-streams-sdk)

> H5 上支持 webrtc 拉流以及 websocket 拉流

## Installation

```sh
$ npm install @ray-js/video-streams-sdk
# or
$ yarn add @ray-js/video-streams-sdk
```

## Develop

```sh
# watch compile component code
yarn watch
# watch compile demo
yarn start:tuya
```

## Usage

```tsx
import Foo from '@ray-js/video-streams-sdk';
export default () => <Foo />;
```