【文件属性】:
文件名称:react-native-webrtc-simple:react-native-webrtc-简单
文件大小:176KB
文件格式:ZIP
更新时间:2021-04-10 19:39:52
JavaScript
react-native-webrtc-简单
入门
$ yarn add react-native-webrtc-simple
依存关系
yarn add react - native - webrtc - simple // Follow their instructions
cd ios && cd pod install && cd . . /
用法
import WebrtcSimple from 'react-native-webrtc-simple' ;
useEffect ( ( ) => {
const configuration = {
// optional: {
// host: '192.168.30.216',
// port: '3000',
// path: '/mypeer
【文件预览】:
react-native-webrtc-simple-master
----.gitignore(413B)
----package.json(915B)
----WebRtcSimple()
--------webrtc()
--------contains.ts(459B)
--------peer()
----README.md(2KB)
----example()
--------.gitignore(813B)
--------.flowconfig(2KB)
--------package.json(899B)
--------.buckconfig(114B)
--------android()
--------.watchmanconfig(2B)
--------metro.config.js(300B)
--------ios()
--------index.js(183B)
--------__tests__()
--------App.js(8KB)
--------.eslintrc.js(74B)
--------.prettierrc.js(120B)
--------babel.config.js(77B)
--------.gitattributes(16B)
--------app.json(51B)
----index.ts(2KB)